Closed Trolfce closed 1 year ago
@trolfce publish the stacktrace by putting it in ```code```
see msg:
Error: No module named 'cryptography'
use your package mgr (one of the below should help you) ()
apt install python-cryptography
apt install python3.10-cryptography
apt-get install python-cryptography
apt-get install python3.10-cryptography
pip install cryptography
pip3 install cryptography
pip3.10 install cryptography
python -m pip install cryptography
python3 -m pip install cryptography
python3.10 -m pip install cryptography
I wrote so much because I don’t know what this module can install in the Termux assembly. But check it out, I hope it helps
rsf > use scanners/autopwn rsf (AutoPwn) > set target 192.168.6.1 [+] target => 192.168.6.1 rsf (AutoPwn) > run [] Running module scanners/autopwn... [] 192.168.6.1 Starting vulnerablity check... Traceback (most recent call last): File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/utils.py", line 109, in import_exploit module = importlib.import_module(path) File "/data/data/com.termux/files/usr/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, 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 389, in command_run
self.current_module.run()
File "/data/data/com.termux/files/home/routersploit/routersploit/modules/scanners/autopwn.py", line 77, in run
for module in utils.iter_modules(directory):
File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/utils.py", line 138, in iter_modules
yield import_exploit(path)
File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/utils.py", line 120, in import_exploit
raise RoutersploitException(
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 "/data/data/com.termux/files/home/routersploit/./rsf.py", line 29, in
routersploit(sys.argv)
File "/data/data/com.termux/files/home/routersploit/./rsf.py", line 25, in routersploit
rsf.start()
File "/data/data/com.termux/files/home/routersploit/routersploit/interpreter.py", line 125, in start
command_handler(args, *kwargs)
File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/utils.py", line 177, in wrapper
return fn(self, args, *kwargs)
File "/data/data/com.termux/files/home/routersploit/routersploit/interpreter.py", line 394, in command_run
print_error(traceback.format_exc(sys.exc_info()))
File "/data/data/com.termux/files/usr/lib/python3.10/traceback.py", line 183, in format_exc
return "".join(format_exception(sys.exc_info(), limit=limit, chain=chain))
File "/data/data/com.termux/files/usr/lib/python3.10/traceback.py", line 135, in format_exception
te = TracebackException(type(value), value, tb, limit=limit, compact=True)
File "/data/data/com.termux/files/usr/lib/python3.10/traceback.py", line 502, in init
self.stack = StackSummary.extract(
File "/data/data/com.termux/files/usr/lib/python3.10/traceback.py", line 357, in extract
if limit >= 0:
TypeError: '>=' not supported between instances of 'tuple' and 'int'