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
错误:
Admin@PS2020UGTRNSJW MINGW64 ~/Desktop/Git/BurstList/dirmap (master)
$ python dirmap.py -i http://www.xsese.com/ -lcf
Traceback (most recent call last):
File "dirmap.py", line 14, in
from gevent import monkey
File "D:\python3\lib\site-packages\gevent_init_.py", line 86, in
from gevent._hub_local import get_hub
File "D:\python3\lib\site-packages\gevent_hub_local.py", line 101, in
import_c_accel(globals(), 'gevent._hub_local')
File "D:\python3\lib\site-packages\gevent_util.py", line 105, in import_c_accel
mod = importlib.import_module(cname)
File "D:\python3\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'gevent.__hub_local'
源代码:582行到591行
#设置进度条长度,若是递归模式或爬虫模式,则不设置任务队列长度,即无法显示进度,仅显示耗时
if not conf.recursive_scan:
#NOTE:这里取所有payloads的长度*target数量计算任务总数,修复issue#2
tasks.task_length = len(payloads.all_payloads)*conf.target_nums
bar.log.start(tasks.task_length)
#FIXME:循环任务数不能一次性取完所有的task,暂时采用每次执行30个任务。这样写还能解决hub.LoopExit的bug
while not tasks.all_task.empty():
all_task = [gevent.spawn(boss) for i in range(conf.request_limit)]
gevent.joinall(all_task)
The text was updated successfully, but these errors were encountered:
定位:\Git\BurstList\dirmap\lib\controller\bruter.py
安装包都装了,我一开始以为是python版本不行,开始是3.7.0,后来换了3.7.7、3.8.2 都不行 我心态崩了 希望大佬能帮忙解决一下 搞了一晚上了 百度好像也没有我这个情况,我也不知道为啥呢
错误:
Admin@PS2020UGTRNSJW MINGW64 ~/Desktop/Git/BurstList/dirmap (master)
$ python dirmap.py -i http://www.xsese.com/ -lcf
Traceback (most recent call last):
File "dirmap.py", line 14, in
from gevent import monkey
File "D:\python3\lib\site-packages\gevent_init_.py", line 86, in
from gevent._hub_local import get_hub
File "D:\python3\lib\site-packages\gevent_hub_local.py", line 101, in
import_c_accel(globals(), 'gevent._hub_local')
File "D:\python3\lib\site-packages\gevent_util.py", line 105, in import_c_accel
mod = importlib.import_module(cname)
File "D:\python3\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'gevent.__hub_local'
源代码:582行到591行
#设置进度条长度,若是递归模式或爬虫模式,则不设置任务队列长度,即无法显示进度,仅显示耗时
if not conf.recursive_scan:
#NOTE:这里取所有payloads的长度*target数量计算任务总数,修复issue#2
tasks.task_length = len(payloads.all_payloads)*conf.target_nums
bar.log.start(tasks.task_length)
#FIXME:循环任务数不能一次性取完所有的task,暂时采用每次执行30个任务。这样写还能解决hub.LoopExit的bug
while not tasks.all_task.empty():
all_task = [gevent.spawn(boss) for i in range(conf.request_limit)]
gevent.joinall(all_task)
The text was updated successfully, but these errors were encountered: