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