tasks.py 文件源码

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

项目:kekescan 作者: xiaoxiaoleo 项目源码 文件源码
def run_task_in_gevent(url_list, poc_file_dict):  # url_list ???????????url
    poc = Poc_Launcher()
    pool = Pool(100)
    for target in url_list:
        for plugin_type, poc_files in poc_file_dict.iteritems():
            for poc_file in poc_files:
                if target and poc_file:
                    target = fix_target(target)
                    pool.add(gevent.spawn(poc.poc_verify, target, plugin_type, poc_file))
    pool.join()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号