main.py 文件源码

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

项目:Seth 作者: SySS-Research 项目源码 文件源码
def run(self):
        self.handle_protocol_negotiation()
        if not (self.cancelled or self.vars["RDP_PROTOCOL"] == 0):
            self.enableSSL()
        if args.fake_server:
            try:
                self.run_fake_server()
            except ConnectionResetError:
                print("Connection lost")
        while not self.cancelled and not args.fake_server:
            try:
                self.forward_data()
            except (ssl.SSLError, ssl.SSLEOFError) as e:
                print("SSLError: %s" % str(e))
            except (ConnectionResetError, OSError) as e:
                print("Connection lost")
                if "creds" in self.vars:
                    stop_attack()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号