portscanner.py 文件源码

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

项目:freshonions-torscraper 作者: dirtyfilthy 项目源码 文件源码
def connect(self):
        torEndpoint = TCP4ClientEndpoint(reactor, TOR_HOST, TOR_PORT)
        proxiedEndpoint = SOCKS5ClientEndpoint(self.active_host.hostname.encode("ascii"), self.current_port, torEndpoint)
        d = proxiedEndpoint.connect(PortScannerClientFactory(self))
        d.addCallback(gotProtocol, self)
        d.addErrback(gotErr, self)
        #reactor.callLater(60, d.cancel)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号