threat9/routersploit

I'm having a issue with routersploit in ParrotSec 6.3

Open

#871 ouverte le 17 févr. 2025

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)Python (2 340 forks)batch import
help wanted

Métriques du dépôt

Stars
 (11 672 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Every time i run routersploit this error shows what should i do please fix it. And don't tell me to over-ride and break the system or package cause i don't wanna do that. If any of you have any safe way to fix this issue please let me know thanks. It would be great if the main developer re-write the program from it's a great tool. Specially for doing Red Teaming stuff if they remove unused or not maintained packages from the tool repo i think that way it might solve the issue.

Traceback (most recent call last): File "/home/asus/exploitdb/RouterSploit/routersploit/core/exploit/utils.py", line 109, in import_exploit module = importlib.import_module(path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1206, in _gcd_import File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/home/asus/exploitdb/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 "/home/asus/exploitdb/RouterSploit/routersploit/interpreter.py", line 396, in command_run self.current_module.run() File "/home/asus/exploitdb/RouterSploit/routersploit/modules/scanners/autopwn.py", line 77, in run for module in utils.iter_modules(directory): File "/home/asus/exploitdb/RouterSploit/routersploit/core/exploit/utils.py", line 138, in iter_modules yield import_exploit(path) ^^^^^^^^^^^^^^^^^^^^ File "/home/asus/exploitdb/RouterSploit/routersploit/core/exploit/utils.py", line 120, in import_exploit raise RoutersploitException( 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 "/home/asus/exploitdb/RouterSploit/rsf.py", line 28, in routersploit(sys.argv) File "/home/asus/exploitdb/RouterSploit/rsf.py", line 24, in routersploit rsf.start() File "/home/asus/exploitdb/RouterSploit/routersploit/interpreter.py", line 128, in start command_handler(args, **kwargs) File "/home/asus/exploitdb/RouterSploit/routersploit/core/exploit/utils.py", line 177, in wrapper return fn(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/asus/exploitdb/RouterSploit/routersploit/interpreter.py", line 401, in command_run print_error(traceback.format_exc(sys.exc_info())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/traceback.py", line 187, in format_exc return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/traceback.py", line 139, in format_exception te = TracebackException(type(value), value, tb, limit=limit, compact=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/traceback.py", line 690, in init self.stack = StackSummary._extract_from_extended_frame_gen( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/traceback.py", line 409, in _extract_from_extended_frame_gen if limit >= 0: ^^^^^^^^^^ TypeError: '>=' not supported between instances of 'tuple' and 'int'

Guide contributeur