broken5 / WebAliveScan

对目标域名进行快速的存活扫描、简单的指纹识别、目录扫描
909 stars 114 forks source link

error #7

Open xxsmile123 opened 4 years ago

xxsmile123 commented 4 years ago

环境:debian 9 python3.8.5

报错如下: python3 webscan.py --target target.txt Traceback (most recent call last): File "webscan.py", line 1, in from lib.common.request import Request File "/root/tools/subdomain/WebAliveScan/lib/common/request.py", line 1, in from gevent import monkey, pool; monkey.patch_all() File "/usr/local/lib/python3.8/site-packages/gevent/init.py", line 87, in from gevent._hub_local import get_hub File "/usr/local/lib/python3.8/site-packages/gevent/_hub_local.py", line 101, in import_c_accel(globals(), 'gevent.hub_local') File "/usr/local/lib/python3.8/site-packages/gevent/_util.py", line 105, in import_c_accel mod = importlib.import_module(cname) File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "src/gevent/__greenlet_primitives.pxd", line 12, in init gevent.hub_local ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 144 from PyObject

python3 webscan.py -h Traceback (most recent call last): File "webscan.py", line 1, in from lib.common.request import Request File "/root/tools/subdomain/WebAliveScan/lib/common/request.py", line 1, in from gevent import monkey, pool; monkey.patch_all() File "/usr/local/lib/python3.8/site-packages/gevent/init.py", line 87, in from gevent._hub_local import get_hub File "/usr/local/lib/python3.8/site-packages/gevent/_hub_local.py", line 101, in import_c_accel(globals(), 'gevent.hub_local') File "/usr/local/lib/python3.8/site-packages/gevent/_util.py", line 105, in import_c_accel mod = importlib.import_module(cname) File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "src/gevent/__greenlet_primitives.pxd", line 12, in init gevent.hub_local ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 144 from PyObject

xxsmile123 commented 4 years ago

另一个报错, 环境:debian 9 python3.8.5 python3 webscan.py -h Traceback (most recent call last): File "webscan.py", line 1, in from lib.common.request import Request File "/root/tools/subdomain/WebAliveScan/lib/common/request.py", line 1, in from gevent import monkey, pool; monkey.patch_all() ModuleNotFoundError: No module named 'gevent' root@fine-kittens-1:~/tools/subdomain/WebAliveScan# pip3 install gevent Requirement already satisfied: gevent in /usr/local/lib/python3.8/dist-packages (1.4.0) Requirement already satisfied: greenlet>=0.4.14; platform_python_implementation == "CPython" in /usr/local/lib/python3.8/dist-packages (from gevent) (0.4.15)

N1ckl32 commented 3 years ago

py3.8.6发现解决办法,可以用gevent==1.5.0解决 【https://pypi.tuna.tsinghua.edu.cn/packages/47/6a/1b4b009e2568c6c429a22db6c786391969a877a1d67ff1209603fad3c8f2/gevent-1.5.0-cp38-cp38-win_amd64.whl#sha256=45a5af965cc969dd06128740f5999b9bdb440cb0ba4e9c066e5c17a2c33c89a8