OneForAll导出后无结果或无法导出结果This result object does not return rows. It has been closed automatically.

This result object does not return rows. It has been closed automatically

&&

Python3.10异常 AttributeError: module ‘time‘ has no attribute ‘clock‘

问题1:

执行oneforall出现报错:This result object does not return rows. It has been closed automatically.(图忘记截了)

这里是sqlalchemy版本的问题,可以去github上可以搜到sqlalchemy相关解释

我的是最高版本,所以更替一下版本即可

python -m pip uninstall sqlalchemy

python -m pip install sqlalchemy==x.x.x

问题2:

报错异常AttributeError:模块“time”没有属性“clock”

原因:
time.clock()已经在新的版本中移除了。在Python3.8中更新了。
这里我们需要把过期的东西手动更新

找到对应python路径(报错位置应该已经给出了仔细看一般路径都相同 下图为我的路径,python按哪从哪个路径找这里是C盘)

将time.clock修改为time.perf_counter

完成后运行oneforall即可

问题3:

报错文本
HTTPSConnectionPool(host='transparencyreport.google.com', port=443): Max retries exceeded with url: /transparencyreport/api/v3/httpsreport/ct/certsearch?include_expired=true&include_subdomains=true&domain=vuln.cn (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object
GoogleQuery module took 15.0 seconds found 0 subdomains
HTTPSConnectionPool(host='api.hackertarget.com', port=443): Max retries exceeded with url: /hostsearch/?q=vuln.cn (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000004EFABDD088>, 'Connection to api.hackertarget.com timed out. (connect timeout=15)'))
HackerTargetQuery module took 15.2 seconds found 0 subdomains
HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000004EFB1DA988>, 'Connection to www.google.com timed out. (connect timeout=15)'))
GoogleSearch module took 15.0 seconds found 0 subdomains
HTTPSConnectionPool(host='search.yahoo.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000004EFB21B888>, 'Connection to search.yahoo.com timed out. (connect timeout=15)'))
YahooSearch module took 15.5 seconds found 0 subdomains
HTTPSConnectionPool(host='www.search.ask.com', port=443): Max retries exceeded with url: /web?q=site%3A.vuln.cn&page=1 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000004EFB00E788>, 'Connection to www.search.ask.com timed out. (connect timeout=15)'))

路径:\OneForAll-master\config/setting.py

无法使用Google等需要代理的api

在使用代理下,无法使用setting.py文件下代理模块中的api · Issue #221 · shmilylty/OneForAll · GitHub



 

  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值