-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/routersploit/core/exploit/utils.py", line 109, in import_exploit
module = importlib.import_module(path)
File "/usr/lib/python3.13/importlib/init.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/routersploit/modules/exploits/routers/thomson/twg849_info_disclosure.py", line 2, in
from routersploit.core.snmp.snmp_client import SNMPClient
File "/usr/lib/python3/dist-packages/routersploit/core/snmp/snmp_client.py", line 2, in
from pysnmp.hlapi.v3arch.asyncio import *
ModuleNotFoundError: No module named 'pysnmp.hlapi.v3arch'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/routersploit/interpreter.py", line 396, in command_run
self.current_module.run()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/routersploit/modules/scanners/autopwn.py", line 77, in run
for module in utils.iter_modules(directory):
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/routersploit/core/exploit/utils.py", line 138, in iter_modules
yield import_exploit(path)
~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3/dist-packages/routersploit/core/exploit/utils.py", line 120, in import_exploit
raise RoutersploitException(
...<4 lines>...
)
routersploit.core.exploit.exceptions.RoutersploitException: Error during loading 'routersploit/modules/exploits/routers/thomson/twg849_info_disclosure'
Error: No module named 'pysnmp.hlapi.v3arch'
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 "/usr/bin/routersploit", line 28, in
routersploit(sys.argv)
~~~~~~~~~~~~^^^^^^^^^^
File "/usr/bin/routersploit", line 24, in routersploit
rsf.start()
~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/routersploit/interpreter.py", line 128, in start
command_handler(args, **kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/routersploit/core/exploit/utils.py", line 177, in wrapper
return fn(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/routersploit/interpreter.py", line 401, in command_run
print_error(traceback.format_exc(sys.exc_info()))
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/traceback.py", line 212, in format_exc
return "".join(format_exception(sys.exception(), limit=limit, chain=chain))
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/traceback.py", line 154, in format_exception
te = TracebackException(type(value), value, tb, limit=limit, compact=True)
File "/usr/lib/python3.13/traceback.py", line 1052, in init
self.stack = StackSummary._extract_from_extended_frame_gen(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
_walk_tb_with_full_positions(exc_traceback),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
limit=limit, lookup_lines=lookup_lines,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
capture_locals=capture_locals)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/traceback.py", line 469, in _extract_from_extended_frame_gen
elif limit >= 0:
^^^^^^^^^^
TypeError: '>=' not supported between instances of 'tuple' and 'int'