arachni.py 文件源码

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

项目:PassiveScanner 作者: jjf012 项目源码 文件源码
def post_api(self, api_path):
        options = json.dumps(self.options)
        options = options if isinstance(options, bytes) else options.encode('utf8')
        request = urllib.request.Request(self.arachni_url + api_path, options)
        request.add_header('Content-Type', 'application/json')
        return urllib.request.urlopen(request).read().decode('utf8')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号