(AutoPwn) > set target 192.168.0.1 [+] target => 192.168.0.1
(AutoPwn) > run [] Running module... [] Starting vulnerablity check...
Traceback (most recent call last):
File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/utils.py", line 107, in import_exploit module = importlib.import_module(path)
File "/data/data/com.termux/files/usr/lib/python3.7/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed File "/data/data/com.termux/files/home/routersploit/routersploit/modules/exploits/generic/heartbleed.py", line 5, in from cryptography import x509
ModuleNotFoundError: No module named 'cryptography'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/data/com.termux/files/home/routersploit/routersploit/interpreter.py", line 369, in command_run
self.current_module.run()
File "/data/data/com.termux/files/home/routersploit/routersploit/modules/scanners/autopwn.py", line 51, in run
for module in utils.iter_modules(directory):
File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/utils.py", line 136, in iter_modules
yield import_exploit(path)
File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/utils.py", line 122, 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/generic/heartbleed'
* Error: No module named 'cryptography'
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 "/data/data/com.termux/files/home/routersploit/routersploit/interpreter.py", line 117, in start
command_handler(args)
File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/utils.py", line 175, in wrapper
return fn(self, *args, *kwargs)
File "/data/data/com.termux/files/home/routersploit/routersploit/interpreter.py", line 374, in command_run
print_error(traceback.format_exc(sys.exc_info()))
File "/data/data/com.termux/files/usr/lib/python3.7/traceback.py", line 167, in format_exc
return "".join(format_exception(sys.exc_info(), limit=limit, chain=chain))
File "/data/data/com.termux/files/usr/lib/python3.7/traceback.py", line 121, in format_exception
type(value), value, tb, limit=limit).format(chain=chain))
File "/data/data/com.termux/files/usr/lib/python3.7/traceback.py", line 497, in init
_seen=_seen)
File "/data/data/com.termux/files/usr/lib/python3.7/traceback.py", line 508, in init
capture_locals=capture_locals)
File "/data/data/com.termux/files/usr/lib/python3.7/traceback.py", line 337, in extract if limit >= 0:
$
raceback (most recent call last):
File "/home/kali/Desktop/routersploit/rsf.py", line 10, in
from routersploit.interpreter import RoutersploitInterpreter
File "/home/kali/Desktop/routersploit/routersploit/interpreter.py", line 38, in
import readline
ModuleNotFoundError: No module named 'readline'
Ok 1.apt update && apt upgrade 2.apt install git figlet 3.git clone https://github.com/41Team/RoutersploitTermux 4.cd RoutersploitTermux 5.bash run.sh And it works
Originally posted by @Exosunandnet in https://github.com/threat9/routersploit/issues/573#issuecomment-476294128