Closed usmarine2141 closed 6 years ago
pip install shodan
Make sure that you have the shodan module in the same directory as where you have Python 3 installed. For example: x/Python36_64/Scripts/shodan Where "x" is the pathway to your python installation directory.
This usually happens when you have more than one version of python installed or sometimes where you manually install python, and then you install it via external means like installing it with Visual Studios as well, separately.
Desktop/Memcrashed-DDoS-Exploit# pip install shodan Requirement already satisfied: shodan in /usr/local/lib/python2.7/dist-packages/shodan-1.7.7-py2.7.egg Requirement already satisfied: XlsxWriter in /usr/lib/python2.7/dist-packages (from shodan) Requirement already satisfied: click in /usr/lib/python2.7/dist-packages (from shodan) Requirement already satisfied: click-plugins in /usr/local/lib/python2.7/dist-packages/click_plugins-1.0.3-py2.7.egg (from shodan) Requirement already satisfied: colorama in /usr/lib/python2.7/dist-packages (from shodan) Requirement already satisfied: requests>=2.2.1 in /usr/lib/python2.7/dist-packages (from shodan)
i ran pip install shodan after git clone the files.
/usr/local/lib/python2.7/dist-packages/click_plugins-1.0.3-py2.7.egg (from shodan)
Right. Notice how it's "python 2.7", are you not executing it with python 3? :-)
You need the module with python 3 not 2.7
I am not suggesting this, but perhaps a full uninstall of python 2.7 and then run the pip command again and it should install it for python 3..
im going to cp that over to the python3 dir and see if that works
yeah that didnt work lol
there is the .c one i have compiled. i assume the reflection file is what your scanning Shodan via API for correct?
Put this comand om your terminal apt-get install pip-python3 pip3 install shodan
I have this problem too
Python 3 is installed shodan installed and getting the errors below
python3 Memcrashed.py Traceback (most recent call last): File "Memcrashed.py", line 2, in
import sys, os, time, shodan
ModuleNotFoundError: No module named 'shodan'
However i have just queried shodan via CLI with no issues