threat9 / routersploit

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

Not Working Router sploit #758

Closed jhfhackersbd closed 1 year ago

jhfhackersbd commented 2 years ago

rsf (AutoPwn) > set target 10.0.0.112 [+] target => 10.0.0.112 rsf (AutoPwn) > exploit [*] Running module scanners/autopwn...

[*] 10.0.0.112 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.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 850, in exec_module File "", line 228, in _call_with_frames_removed File "/data/data/com.termux/files/home/routersploit/routersploit/modules/exploits/generic/ssh_auth_keys.py", line 4, in from routersploit.core.ssh.ssh_client import SSHClient File "/data/data/com.termux/files/home/routersploit/routersploit/core/ssh/ssh_client.py", line 2, in import paramiko ModuleNotFoundError: No module named 'paramiko'

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/ssh_auth_keys'

Error: No module named 'paramiko'

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/interpreter.py", line 397, in command_exploit self.command_run() 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.9/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.9/traceback.py", line 120, in format_exception return list(TracebackException( File "/data/data/com.termux/files/usr/lib/python3.9/traceback.py", line 495, in init context = TracebackException( File "/data/data/com.termux/files/usr/lib/python3.9/traceback.py", line 517, in init self.stack = StackSummary.extract( File "/data/data/com.termux/files/usr/lib/python3.9/traceback.py", line 340, in extract if limit >= 0: TypeError: '>=' not supported between instances of 'tuple' and 'int' [~/routersploit] >> git pull warning: redirecting to https://github.com/threat9/routersploit.git/ Already up to date. [~/routersploit] >>

jhfhackersbd commented 2 years ago

Where is my password....?

hecker-code commented 2 years ago

same error i have it seems to be a new issue to routersploit.

lucyoa commented 1 year ago

You are missing required modules, in this case paramiko

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
./rsf.py