threat9 / routersploit

Exploitation Framework for Embedded Devices
Other
12.12k stars 2.31k forks source link

ImportError: No module named resources.wordlists #432

Closed cyb3rL1ght closed 6 years ago

cyb3rL1ght commented 6 years ago

After downloading and installing (according to the instructions) gives the following:

root@kali:~/Desktop/routersploit# python rsf.py Traceback (most recent call last): File "rsf.py", line 7, in from routersploit.interpreter import RoutersploitInterpreter File "/root/Desktop/routersploit/routersploit/interpreter.py", line 12, in from routersploit.core.exploit.exceptions import RoutersploitException File "/root/Desktop/routersploit/routersploit/core/exploit/init.py", line 1, in from routersploit.core.exploit.exploit import ( File "/root/Desktop/routersploit/routersploit/core/exploit/exploit.py", line 14, in from routersploit.core.exploit.option import Option File "/root/Desktop/routersploit/routersploit/core/exploit/option.py", line 5, in from routersploit.core.exploit.utils import ( File "/root/Desktop/routersploit/routersploit/core/exploit/utils.py", line 9, in import routersploit.resources.wordlists as wordlists ImportError: No module named resources.wordlists

What to do???

lucyoa commented 6 years ago

This is according to instructions:

apt-get install python3-pip
git clone https://www.github.com/threat9/routersploit
cd routersploit
python3 -m pip install -r requirements.txt
python3 rsf.py

You are using python2.7 (which is default for kali)

DrRaYeN commented 6 years ago

rsf (AutoPwn) > run [*] Running module...

[*] Starting vulnerablity check... Traceback (most recent call last): File "/root/routersploit/routersploit/core/exploit/utils.py", line 80, in import_exploit module = importlib.import_module(path) File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in _call_with_frames_removed File "/root/routersploit/routersploit/modules/exploits/routers/technicolor/tc7200_password_disclosure_v2.py", line 3, in from Crypto.Cipher import AES ModuleNotFoundError: No module named 'Crypto'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/routersploit/routersploit/interpreter.py", line 334, in command_run self.current_module.run() File "/root/routersploit/routersploit/modules/scanners/autopwn.py", line 51, in run for module in utils.iter_modules(directory): File "/root/routersploit/routersploit/core/exploit/utils.py", line 103, in iter_modules yield import_exploit(path) File "/root/routersploit/routersploit/core/exploit/utils.py", line 93, in import_exploit "Use key multiple times for completion.".format(humanize_path(path), err) routersploit.core.exploit.exceptions.RoutersploitException: Error during loading 'routersploit/modules/exploits/routers/technicolor/tc7200_password_disclosure_v2'

Error: No module named 'Crypto'

It should be valid path to the module. Use key multiple times for completion.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "rsf.py", line 26, in routersploit() File "rsf.py", line 22, in routersploit rsf.start() File "/root/routersploit/routersploit/interpreter.py", line 116, in start command_handler(args) File "/root/routersploit/routersploit/core/exploit/utils.py", line 138, in wrapper return fn(self, *args, *kwargs) File "/root/routersploit/routersploit/interpreter.py", line 339, in command_run print_error(traceback.format_exc(sys.exc_info())) File "/usr/lib/python3.6/traceback.py", line 163, in format_exc return "".join(format_exception(sys.exc_info(), limit=limit, chain=chain)) File "/usr/lib/python3.6/traceback.py", line 117, in format_exception type(value), value, tb, limit=limit).format(chain=chain)) File "/usr/lib/python3.6/traceback.py", line 486, in init _seen=_seen) File "/usr/lib/python3.6/traceback.py", line 497, in init capture_locals=capture_locals) File "/usr/lib/python3.6/traceback.py", line 332, in extract if limit >= 0: TypeError: '>=' not supported between instances of 'tuple' and 'int'

acciobugs commented 4 years ago

I got the same error. I don't know what to do...

rootcode10521 commented 4 years ago

same problem... i install python 3

Traceback (most recent call last): File "rsf.py", line 10, in from routersploit.interpreter import RoutersploitInterpreter File "/root/Desktop/routersploit/routersploit/interpreter.py", line 12, in

rootcode10521 commented 4 years ago

same problem... i install python 3

Traceback (most recent call last): File "rsf.py", line 10, in from routersploit.interpreter import RoutersploitInterpreter File "/root/Desktop/routersploit/routersploit/interpreter.py", line 12, in

rootcode10521 commented 4 years ago

same problem... i install python 3

Traceback (most recent call last): File "rsf.py", line 10, in from routersploit.interpreter import RoutersploitInterpreter File "/root/Desktop/routersploit/routersploit/interpreter.py", line 12, in

rootcode10521 commented 4 years ago

same problem... i install python 3

Traceback (most recent call last): File "rsf.py", line 10, in from routersploit.interpreter import RoutersploitInterpreter File "/root/Desktop/routersploit/routersploit/interpreter.py", line 12, in

rootcode10521 commented 4 years ago

same problem... i install python

Traceback (most recent call last): File "rsf.py", line 10, in from routersploit.interpreter import RoutersploitInterpreter File "/root/Desktop/routersploit/routersploit/interpreter.py", line 12, in

rootcode10521 commented 4 years ago

same problem... i install python

Traceback (most recent call last): File "rsf.py", line 10, in from routersploit.interpreter import RoutersploitInterpreter File "/root/Desktop/routersploit/routersploit/interpreter.py", line 12, in