epsylon / ufonet

UFONet - Denial of Service Toolkit
https://ufonet.03c8.net
2.2k stars 612 forks source link

I have tried various installation methods, but it still has an error, how can I solve it? #384

Closed kitcoun closed 2 years ago

kitcoun commented 2 years ago

[root ufonet]# ./ufonet -h Traceback (most recent call last): File "./ufonet", line 10, in from core.main import UFONet File "/opt/script/ufonet/core/main.py", line 14, in from Crypto.Cipher import AES ImportError: No module named Crypto.Cipher

centos7 python3.7.1

MiChaelinzo commented 2 years ago

Are you running the latest Python? or 3.8? You need to download the module and package Crypto.Cipher Example:

pip3 install <package>==<version>
                                    numpy==1.16
epsylon commented 2 years ago

@kitcoun try this:

epsylon commented 2 years ago

@kitcoun also:

python3.7 -m pip install pycrypto

epsylon commented 2 years ago

@kitcoun to have more info about your issue, please, try to fill this template:

https://github.com/epsylon/ufonet/blob/master/docs/.github/ISSUE_TEMPLATE/bug_report.md

Have you tried with other python versions (ex: 3.8) ?

epsylon commented 2 years ago

@kitcoun this kind of issues in which I haven't any "real" data (environment, runtime, etc..) are just wasting time...

Try to use this template: https://github.com/epsylon/ufonet/blob/master/docs/.github/ISSUE_TEMPLATE/bug_report.md

epsylon commented 2 years ago

@kitcoun This last comment makes it easier to understand what really happens, thanks!

Look at your first image:

python3 setup.py install -> -bash: python3: command not found

Try this:

python3.8 setup.py install

Due to the configuration of your environment, you must run Python3 with the exact version (python3.8, python3.7, etc.)