web_interface.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:rebus 作者: airbus-seclab 项目源码 文件源码
def init_agent(self):
        # Build list of async methods, to be used from the tornado thread
        self.async_proxy = AsyncProxy(self)

        self.dstore = DescriptorStore(self, self.async_proxy)
        self.ioloop = tornado.ioloop.IOLoop.instance()
        self.gui = Application(self.dstore, self.async_proxy, self.ioloop,
                               autoreload=self.config['autoreload'])
        self.gui.listen(self.config['port'])
        t = threading.Thread(target=self.ioloop.start)
        t.daemon = True
        t.start()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号