You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/qiyuan/POC-T/lib/cli.py", line 45, in main
loadPayloads()
File "/home/qiyuan/POC-T/lib/controller/loader.py", line 49, in loadPayloads
api_mode()
File "/home/qiyuan/POC-T/lib/controller/loader.py", line 88, in api_mode
file = runApi()
File "/home/qiyuan/POC-T/lib/controller/api.py", line 23, in runApi
anslist = ZoomEyeSearch(query=dork, limit=limit, type=conf.ZOOMEYE_SEARCH_TYPE, offset=conf.API_OFFSET)
File "/home/qiyuan/POC-T/lib/api/zoomeye/pack.py", line 25, in ZoomEyeSearch
z = _initial()
File "/home/qiyuan/POC-T/lib/api/zoomeye/pack.py", line 16, in _initial
msg = 'Available ZoomEye search: (web:%s,host:%s)' % (info['web-search'], info['host-search'])
KeyError: 'web-search'
修复方案
path-POC-T/lib/api/zoomeye 下的 pack.py文件 line 16 替换成如下
https://api.zoomeye.org/resources-info
接口原本返回的host-search
和web-search
已合并成search
现有的代码获取方式有点问题 会导致异常退出
修复方案
path-POC-T/lib/api/zoomeye 下的
pack.py
文件 line 16 替换成如下The text was updated successfully, but these errors were encountered: