Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start scanners/autopwn #859

Open
Katerang31 opened this issue Dec 23, 2024 · 2 comments
Open

Can't start scanners/autopwn #859

Katerang31 opened this issue Dec 23, 2024 · 2 comments

Comments

@Katerang31
Copy link

[*] 192.168.0.1 Starting vulnerablity check...
Traceback (most recent call last):
File "/home/kater/routersploit/routersploit/core/exploit/utils.py", line 109, in import_exploit
module = importlib.import_module(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/init.py", line 90, 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 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "/home/kater/routersploit/routersploit/modules/exploits/routers/thomson/twg849_info_disclosure.py", line 2, in
from routersploit.core.snmp.snmp_client import SNMPClient
File "/home/kater/routersploit/routersploit/core/snmp/snmp_client.py", line 1, in
from pysnmp.entity.rfc3413.oneliner import cmdgen
File "/home/kater/routersploit/.venv/lib/python3.12/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 10, in
from pysnmp.hlapi.asyncore import *
File "/home/kater/routersploit/.venv/lib/python3.12/site-packages/pysnmp/hlapi/init.py", line 7, in
from pysnmp.proto.rfc1902 import *
File "/home/kater/routersploit/.venv/lib/python3.12/site-packages/pysnmp/proto/rfc1902.py", line 9, in
from pysnmp.proto import rfc1155, error
File "/home/kater/routersploit/.venv/lib/python3.12/site-packages/pysnmp/proto/rfc1155.py", line 10, in
from pysnmp.proto import error
File "/home/kater/routersploit/.venv/lib/python3.12/site-packages/pysnmp/proto/error.py", line 9, in
from pysnmp import debug
File "/home/kater/routersploit/.venv/lib/python3.12/site-packages/pysnmp/debug.py", line 8, in
from pyasn1.compat.octets import octs2ints
ModuleNotFoundError: No module named 'pyasn1.compat.octets'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/kater/routersploit/routersploit/interpreter.py", line 385, in command_run
self.current_module.run()
File "/home/kater/routersploit/routersploit/modules/scanners/autopwn.py", line 77, in run
for module in utils.iter_modules(directory):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kater/routersploit/routersploit/core/exploit/utils.py", line 138, in iter_modules
yield import_exploit(path)
^^^^^^^^^^^^^^^^^^^^
File "/home/kater/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/thomson/twg849_info_disclosure'

Error: No module named 'pyasn1.compat.octets'

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/kater/routersploit/rsf.py", line 29, in
routersploit(sys.argv)
File "/home/kater/routersploit/rsf.py", line 25, in routersploit
rsf.start()
File "/home/kater/routersploit/routersploit/interpreter.py", line 124, in start
command_handler(args, **kwargs)
File "/home/kater/routersploit/routersploit/core/exploit/utils.py", line 177, in wrapper
return fn(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kater/routersploit/routersploit/interpreter.py", line 390, in command_run
print_error(traceback.format_exc(sys.exc_info()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/traceback.py", line 184, in format_exc
return "".join(format_exception(sys.exception(), limit=limit, chain=chain))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/traceback.py", line 139, in format_exception
te = TracebackException(type(value), value, tb, limit=limit, compact=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/traceback.py", line 733, in init
self.stack = StackSummary._extract_from_extended_frame_gen(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/traceback.py", line 411, in _extract_from_extended_frame_gen
if limit >= 0:
^^^^^^^^^^
TypeError: '>=' not supported between instances of 'tuple' and 'int'

@rzm64wsdfxxs
Copy link

literally the same issue

@donkey-hacket
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants