screetsec / Sudomy

Sudomy is a subdomain enumeration tool to collect subdomains and analyzing domains performing automated reconnaissance (recon) for bug hunting / pentesting
https://github.com/Screetsec/
MIT License
1.98k stars 375 forks source link

No module named censys.certificates #74

Closed pdelteil closed 4 years ago

pdelteil commented 4 years ago

While running Sudomy I get the following error:

Traceback (most recent call last):
  File "lib/censys/censys_subdomain_finder.py", line 3, in <module>
    import censys.certificates
ImportError: No module named censys.certificates
pip3 install censys
Requirement already satisfied: censys in /usr/local/lib/python3.8/dist-packages/censys-0.0.8-py3.8.egg (0.0.8)
Requirement already satisfied: netaddr in /usr/lib/python3/dist-packages (from censys) (0.7.19)
Requirement already satisfied: requests in /home/kali/.local/lib/python3.8/site-packages (from censys) (2.24.0)
Requirement already satisfied: certifi>=2017.4.17 in /home/kali/.local/lib/python3.8/site-packages (from requests->censys) (2020.6.20)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests->censys) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /home/kali/.local/lib/python3.8/site-packages (from requests->censys) (2.10)
Requirement already satisfied

Same with pip

pip install censys
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: censys in /home/kali/.local/lib/python2.7/site-packages (0.0.8)
screetsec commented 4 years ago

Try to remove the Censys Python Library on python3 and try to reinstall on python2

Check the lib like this

Python 2.7.17 (default, Jan 19 2020, 19:54:54) 
[GCC 9.2.1 20200110] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import censys
>>> import censys.certificates