-
-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Droopescan can't find cement dependency unless ran with python3 #51
Comments
Hi Robert, Sorry for taking a little while in getting back to you on this one. It is a little bit mysterious because it seems to install properly but then it seems that it's not found. I generally run my unit tests with Python 2 and 3, but haven't done a fresh install of droopescan in a while. I wonder if it is related to the deprecation of Python 2. I am unsure whether there are a lot of people still using Python 2 out there and if to continue supporting it. What do you think about this? Is Kali still on Python 2? Thanks, |
kali use command python3 to execute python version 3 script. |
Hmm. I feel like this will be a breaking change in the sense that it will break support with Python 2 users. But Kali is one of the biggest users of droopescan. I'll have a think. |
I released a new version which solves this. Can you please confirm the fix? You can update by running |
I'm going to reopen the issue until you have confirmed the fix. I'm concerned that I may have introduced issues with this change, but I can't see any problems on my end. |
It works fine in my computer. |
Sweet, thank you! I appreciate it. |
root@kali$:./droopescan scan --help 11:05:57
Traceback (most recent call last):
File "./droopescan", line 3, in
from dscan import droopescan
File "/opt/droopescan/dscan/droopescan.py", line 4, in
from cement.core import backend, foundation, controller, handler
ImportError: No module named cement.core
root@kali /opt/droopescan master* ❯ python ./droopescan scan --help 11:07:31
Traceback (most recent call last):
File "./droopescan", line 3, in
from dscan import droopescan
File "/opt/droopescan/dscan/droopescan.py", line 4, in
from cement.core import backend, foundation, controller, handler
ImportError: No module named cement.core
root@kali /opt/droopescan master* ❯ python ./droopescan scan --help --debug-requests 11:13:40
Traceback (most recent call last):
File "./droopescan", line 3, in
from dscan import droopescan
File "/opt/droopescan/dscan/droopescan.py", line 4, in
from cement.core import backend, foundation, controller, handler
ImportError: No module named cement.core
Linux kali 5.10.0-kali6-amd64 #1 SMP Debian 5.10.26-1kali2 (2021-04-01) x86_64 GNU/Linux
install method pip
However, when running with python3 and renaming the script to .py - it works.
Thank you,
Robert
The text was updated successfully, but these errors were encountered: