routersploit installation returns the following error:
...
============================= test session starts ==============================
platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0
rootdir: /build/source
plugins: xdist-3.6.1, Faker-25.8.0
2 workers [9 items]
......... [100%]
==================================== ERRORS ====================================
_______________ ERROR collecting tests/test_exploit_scenarios.py _______________
routersploit/core/exploit/utils.py:109: in import_exploit
module = importlib.import_module(path)
/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
<frozen importlib._bootstrap_external>:995: in exec_module
???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
???
routersploit/modules/exploits/routers/thomson/twg849_info_disclosure.py:2: in <module>
from routersploit.core.snmp.snmp_client import SNMPClient
routersploit/core/snmp/snmp_client.py:1: in <module>
from pysnmp.entity.rfc3413.oneliner import cmdgen
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py:10: in <module>
from pysnmp.hlapi.asyncore import *
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/hlapi/__init__.py:10: in <module>
from pysnmp.hlapi import auth
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/hlapi/auth.py:7: in <module>
from pysnmp.entity import config
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/entity/config.py:8: in <module>
from pysnmp.carrier.asyncore.dgram import udp, udp6, unix
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/dgram/udp.py:9: in <module>
from pysnmp.carrier.asyncore.dgram.base import DgramSocketTransport
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/dgram/base.py:10: in <module>
from pysnmp.carrier.asyncore.base import AbstractSocketTransport
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/base.py:9: in <module>
import asyncore
E ModuleNotFoundError: No module named 'asyncore'
During handling of the above exception, another exception occurred:
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py:513: in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:248: in pytest_pycollect_makeitem
return list(collector._genfunctions(name, obj))
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:461: in _genfunctions
self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py:574: in call_extra
return self._hookexec(self.name, hookimpls, kwargs, firstresult)
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:118: in pytest_generate_tests
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:1209: in parametrize
argnames, parametersets = ParameterSet._for_parametrize(
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/mark/structures.py:161: in _for_parametrize
parameters = cls._parse_parametrize_parameters(argvalues, force_tuple)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/mark/structures.py:147: in _parse_parametrize_parameters
return [
routersploit/core/exploit/utils.py:138: in iter_modules
yield import_exploit(path)
routersploit/core/exploit/utils.py:120: in import_exploit
raise RoutersploitException(
E routersploit.core.exploit.exceptions.RoutersploitException: Error during loading 'routersploit/modules/exploits/routers/thomson/twg849_info_disclosure'
E
E Error: No module named 'asyncore'
E
E It should be valid path to the module. Use <tab> key multiple times for completion.
__________________ ERROR collecting tests/test_module_info.py __________________
routersploit/core/exploit/utils.py:109: in import_exploit
module = importlib.import_module(path)
/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
<frozen importlib._bootstrap_external>:995: in exec_module
???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
???
routersploit/modules/creds/generic/snmp_bruteforce.py:2: in <module>
from routersploit.core.snmp.snmp_client import SNMPClient
routersploit/core/snmp/snmp_client.py:1: in <module>
from pysnmp.entity.rfc3413.oneliner import cmdgen
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py:10: in <module>
from pysnmp.hlapi.asyncore import *
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/hlapi/__init__.py:10: in <module>
from pysnmp.hlapi import auth
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/hlapi/auth.py:7: in <module>
from pysnmp.entity import config
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/entity/config.py:8: in <module>
from pysnmp.carrier.asyncore.dgram import udp, udp6, unix
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/dgram/udp.py:9: in <module>
from pysnmp.carrier.asyncore.dgram.base import DgramSocketTransport
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/dgram/base.py:10: in <module>
from pysnmp.carrier.asyncore.base import AbstractSocketTransport
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/base.py:9: in <module>
import asyncore
E ModuleNotFoundError: No module named 'asyncore'
During handling of the above exception, another exception occurred:
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py:513: in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:248: in pytest_pycollect_makeitem
return list(collector._genfunctions(name, obj))
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:461: in _genfunctions
self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py:574: in call_extra
return self._hookexec(self.name, hookimpls, kwargs, firstresult)
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:118: in pytest_generate_tests
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:1209: in parametrize
argnames, parametersets = ParameterSet._for_parametrize(
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/mark/structures.py:161: in _for_parametrize
parameters = cls._parse_parametrize_parameters(argvalues, force_tuple)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/mark/structures.py:147: in _parse_parametrize_parameters
return [
routersploit/core/exploit/utils.py:138: in iter_modules
yield import_exploit(path)
routersploit/core/exploit/utils.py:120: in import_exploit
raise RoutersploitException(
E routersploit.core.exploit.exceptions.RoutersploitException: Error during loading 'routersploit/modules/creds/generic/snmp_bruteforce'
E
E Error: No module named 'asyncore'
E
E It should be valid path to the module. Use <tab> key multiple times for completion.
_______________ ERROR collecting tests/test_exploit_scenarios.py _______________
routersploit/core/exploit/utils.py:109: in import_exploit
module = importlib.import_module(path)
/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
<frozen importlib._bootstrap_external>:995: in exec_module
???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
???
routersploit/modules/exploits/routers/thomson/twg849_info_disclosure.py:2: in <module>
from routersploit.core.snmp.snmp_client import SNMPClient
routersploit/core/snmp/snmp_client.py:1: in <module>
from pysnmp.entity.rfc3413.oneliner import cmdgen
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py:10: in <module>
from pysnmp.hlapi.asyncore import *
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/hlapi/__init__.py:10: in <module>
from pysnmp.hlapi import auth
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/hlapi/auth.py:7: in <module>
from pysnmp.entity import config
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/entity/config.py:8: in <module>
from pysnmp.carrier.asyncore.dgram import udp, udp6, unix
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/dgram/udp.py:9: in <module>
from pysnmp.carrier.asyncore.dgram.base import DgramSocketTransport
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/dgram/base.py:10: in <module>
from pysnmp.carrier.asyncore.base import AbstractSocketTransport
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/base.py:9: in <module>
import asyncore
E ModuleNotFoundError: No module named 'asyncore'
During handling of the above exception, another exception occurred:
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py:513: in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:248: in pytest_pycollect_makeitem
return list(collector._genfunctions(name, obj))
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:461: in _genfunctions
self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py:574: in call_extra
return self._hookexec(self.name, hookimpls, kwargs, firstresult)
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:118: in pytest_generate_tests
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:1209: in parametrize
argnames, parametersets = ParameterSet._for_parametrize(
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/mark/structures.py:161: in _for_parametrize
parameters = cls._parse_parametrize_parameters(argvalues, force_tuple)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/mark/structures.py:147: in _parse_parametrize_parameters
return [
routersploit/core/exploit/utils.py:138: in iter_modules
yield import_exploit(path)
routersploit/core/exploit/utils.py:120: in import_exploit
raise RoutersploitException(
E routersploit.core.exploit.exceptions.RoutersploitException: Error during loading 'routersploit/modules/exploits/routers/thomson/twg849_info_disclosure'
E
E Error: No module named 'asyncore'
E
E It should be valid path to the module. Use <tab> key multiple times for completion.
__________________ ERROR collecting tests/test_module_info.py __________________
routersploit/core/exploit/utils.py:109: in import_exploit
module = importlib.import_module(path)
/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
<frozen importlib._bootstrap_external>:995: in exec_module
???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
???
routersploit/modules/creds/generic/snmp_bruteforce.py:2: in <module>
from routersploit.core.snmp.snmp_client import SNMPClient
routersploit/core/snmp/snmp_client.py:1: in <module>
from pysnmp.entity.rfc3413.oneliner import cmdgen
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py:10: in <module>
from pysnmp.hlapi.asyncore import *
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/hlapi/__init__.py:10: in <module>
from pysnmp.hlapi import auth
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/hlapi/auth.py:7: in <module>
from pysnmp.entity import config
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/entity/config.py:8: in <module>
from pysnmp.carrier.asyncore.dgram import udp, udp6, unix
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/dgram/udp.py:9: in <module>
from pysnmp.carrier.asyncore.dgram.base import DgramSocketTransport
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/dgram/base.py:10: in <module>
from pysnmp.carrier.asyncore.base import AbstractSocketTransport
/nix/store/jxpa94k79qnsrgr67q5pby35bhkq2hcz-python3.12-pysnmp-4.4.12/lib/python3.12/site-packages/pysnmp/carrier/asyncore/base.py:9: in <module>
import asyncore
E ModuleNotFoundError: No module named 'asyncore'
During handling of the above exception, another exception occurred:
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py:513: in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:248: in pytest_pycollect_makeitem
return list(collector._genfunctions(name, obj))
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:461: in _genfunctions
self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py:574: in call_extra
return self._hookexec(self.name, hookimpls, kwargs, firstresult)
/nix/store/jrc5vsl77kzmwn9d1lm5yrzgn5rg6s12-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py:120: in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:118: in pytest_generate_tests
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/python.py:1209: in parametrize
argnames, parametersets = ParameterSet._for_parametrize(
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/mark/structures.py:161: in _for_parametrize
parameters = cls._parse_parametrize_parameters(argvalues, force_tuple)
/nix/store/6m4rxk7rn1ncads8mfjp55hxphzyfr2j-python3.12-pytest-8.2.2/lib/python3.12/site-packages/_pytest/mark/structures.py:147: in _parse_parametrize_parameters
return [
routersploit/core/exploit/utils.py:138: in iter_modules
yield import_exploit(path)
routersploit/core/exploit/utils.py:120: in import_exploit
raise RoutersploitException(
E routersploit.core.exploit.exceptions.RoutersploitException: Error during loading 'routersploit/modules/creds/generic/snmp_bruteforce'
E
E Error: No module named 'asyncore'
E
E It should be valid path to the module. Use <tab> key multiple times for completion.
=============================== warnings summary ===============================
routersploit/resources/wordlists/__init__.py:1
routersploit/resources/wordlists/__init__.py:1
/build/source/routersploit/resources/wordlists/__init__.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
routersploit/core/exploit/shell.py:2
routersploit/core/exploit/shell.py:2
/build/source/routersploit/core/exploit/shell.py:2: DeprecationWarning: 'telnetlib' is deprecated and slated for removal in Python 3.13
import telnetlib
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_exploit_scenarios.py - routersploit.core.exploit.exceptions.RoutersploitException: Error during lo...
ERROR tests/test_module_info.py - routersploit.core.exploit.exceptions.RoutersploitException: Error during lo...
ERROR tests/test_exploit_scenarios.py - routersploit.core.exploit.exceptions.RoutersploitException: Error during lo...
ERROR tests/test_module_info.py - routersploit.core.exploit.exceptions.RoutersploitException: Error during lo...
=================== 9 passed, 4 warnings, 4 errors in 3.22s ====================
/nix/store/5r0df66ikad3xw06azlqvswcvncll8wa-stdenv-linux/setup: line 1641: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/ldv8dljvkmhk4dlh0lz7am8gdm96s9gh-routersploit-unstable-2021-02-06.drv' failed with exit code 1;
last 10 log lines:
> import telnetlib
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> ERROR tests/test_exploit_scenarios.py - routersploit.core.exploit.exceptions.RoutersploitException: Error during lo...
> ERROR tests/test_module_info.py - routersploit.core.exploit.exceptions.RoutersploitException: Error during lo...
> ERROR tests/test_exploit_scenarios.py - routersploit.core.exploit.exceptions.RoutersploitException: Error during lo...
> ERROR tests/test_module_info.py - routersploit.core.exploit.exceptions.RoutersploitException: Error during lo...
> =================== 9 passed, 4 warnings, 4 errors in 3.22s ====================
> /nix/store/5r0df66ikad3xw06azlqvswcvncll8wa-stdenv-linux/setup: line 1641: pop_var_context: head of shell_variables not a function context
For full logs, run 'nix log /nix/store/ldv8dljvkmhk4dlh0lz7am8gdm96s9gh-routersploit-unstable-2021-02-06.drv'.
Notify maintainers
@fabaff
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Describe the bug
routersploit installation returns the following error:
Notify maintainers
@fabaff
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.