Closed ghost closed 6 years ago
Upgrade routersploit and run again python3 -m pip install -r requirements.txt
Your version of pysnmp jest too new - 5.0.0. The version that is available on PyPI is 4.4.6 and this is the one that we are using.
im having this same issue but thing is i get a error when i run python3 -m pip install -r requirements.txt at the end if the installation so i think that may be the issue keeping my routersploit from running but im not sure how to correct the error wit the python3 -m pip install -r requirements.txt in order to get a completer end result with routersploit did you ever fix this error?
im having this same issue but thing is i get a error when i run python3 -m pip install -r requirements.txt at the end if the installation so i think that may be the issue keeping my routersploit from running but im not sure how to correct the error wit the python3 -m pip install -r requirements.txt in order to get a completer end result with routersploit did you ever fix this error?
Just look at the error messages and see what you are missing and reinstall that or update it. I had to error messages one of them was psysnmp and paramiko i both installed them and now it works fine.
it read that in my error message as well and i inatalled them both, but it still continues to give me errora, even continuing to say paramiko is not installed and i thing i installed it twice amd did an update both times.... i trully backed off the program because it was giving me such a headache...
El vie., 6 de dic. de 2019 11:43 AM, Vincent-Paolo notifications@github.com escribió:
im having this same issue but thing is i get a error when i run python3 -m pip install -r requirements.txt at the end if the installation so i think that may be the issue keeping my routersploit from running but im not sure how to correct the error wit the python3 -m pip install -r requirements.txt in order to get a completer end result with routersploit did you ever fix this error?
Just look at the error messages and see what you are missing and reinstall that or update it. I had to error messages one of them was psysnmp and paramiko i both installed them and now it works fine.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/threat9/routersploit/issues/516?email_source=notifications&email_token=AM5Z2K7JVVARIAMPLYOXPOTQXJ6LNA5CNFSM4FXGCUHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGEVFWI#issuecomment-562647769, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5Z2K7FDNE6F73DIJZCS5LQXJ6LNANCNFSM4FXGCUHA .
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 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 "
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
i have this same problem rsf (Camera Scanner) > run [*] Running module scanners/cameras/camera_scan...
[*] 68.142.41.208 Starting vulnerablity check...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/routersploit/interpreter.py", line 389, 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 109, in import_exploit
module = importlib.import_module(path)
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/routersploit", line 29, in
Upgrade routersploit and run again
python3 -m pip install -r requirements.txt
Your version of pysnmp jest too new - 5.0.0. The version that is available on PyPI is 4.4.6 and this is the one that we are using.
I have tried this method python3 -m pip install -r requirements.txt but it keeps saying file or folder not found however when I look into the directory where the txt file is located I can clearly see its there
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.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
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/heartbleed'
Error: No module named 'cryptography'
It should be valid path to the module. Use
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
! ANY INCOMPLETE REPORT WILL BE CLOSED RIGHT AWAY !
Error message: rsf > use scanners/autopwn rsf (AutoPwn) > set target 192.168.1.1 [+] target => 192.168.1.1 rsf (AutoPwn) > run [*] Running module...
[*] Starting vulnerablity check... Traceback (most recent call last): File "/root/routersploit/routersploit/core/exploit/utils.py", line 80, in import_exploit module = importlib.import_module(path) File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/routersploit/routersploit/modules/exploits/routers/thomson/twg849_info_disclosure.py", line 2, in
from routersploit.core.snmp.snmp_client import SNMPClient
File "/root/routersploit/routersploit/core/snmp/snmp_client.py", line 1, in
from pysnmp.entity.rfc3413.oneliner import cmdgen
ModuleNotFoundError: No module named 'pysnmp.entity.rfc3413.oneliner'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/root/routersploit/routersploit/interpreter.py", line 334, in command_run self.current_module.run() File "/root/routersploit/routersploit/modules/scanners/autopwn.py", line 51, in run for module in utils.iter_modules(directory): File "/root/routersploit/routersploit/core/exploit/utils.py", line 103, in iter_modules yield import_exploit(path) File "/root/routersploit/routersploit/core/exploit/utils.py", line 93, in import_exploit "Use key multiple times for completion.".format(humanize_path(path), err)
routersploit.core.exploit.exceptions.RoutersploitException: Error during loading 'routersploit/modules/exploits/routers/thomson/twg849_info_disclosure'
Error: No module named 'pysnmp.entity.rfc3413.oneliner'
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 "rsf.py", line 26, in
routersploit()
File "rsf.py", line 22, in routersploit
rsf.start()
File "/root/routersploit/routersploit/interpreter.py", line 116, in start
command_handler(args)
File "/root/routersploit/routersploit/core/exploit/utils.py", line 138, in wrapper
return fn(self, *args, *kwargs)
File "/root/routersploit/routersploit/interpreter.py", line 339, in command_run
print_error(traceback.format_exc(sys.exc_info()))
File "/usr/lib/python3.6/traceback.py", line 163, in format_exc
return "".join(format_exception(sys.exc_info(), limit=limit, chain=chain))
File "/usr/lib/python3.6/traceback.py", line 117, in format_exception
type(value), value, tb, limit=limit).format(chain=chain))
File "/usr/lib/python3.6/traceback.py", line 486, in init
_seen=_seen)
File "/usr/lib/python3.6/traceback.py", line 497, in init
capture_locals=capture_locals)
File "/usr/lib/python3.6/traceback.py", line 332, in extract
if limit >= 0:
TypeError: '>=' not supported between instances of 'tuple' and 'int'
Your Environment
RouterSploit Version used: 3.3.0
Operating System and version: Linux kali 4.17.0-kali1-amd64 #1 SMP Debian 4.17.8-1kali1 (2018-07-24) x86_64 GNU/Linux
Python Version: (
python3 --version
) Python 3.6.6Python Environment: (
python3 -m pip freeze
) AdvancedHTTPServer==2.0.11 alembic==0.9.7.dev0 asn1crypto==0.24.0 basemap==1.1.0 bcrypt==3.1.4 beautifulsoup4==4.6.0 binwalk==2.1.1 blinker==1.4 bluepy==1.1.4 boltons==18.0.0 Brlapi==0.6.7 Brotli==1.0.5 certifi==2018.4.16 chardet==3.0.4 chrome-gnome-shell==0.0.0 click==6.7 colorama==0.3.7 crcelk==1.1 cryptography==2.2.2 cupshelpers==1.0 cycler==0.10.0 debtags==2.1 decorator==4.3.0 dnspython==1.15.0 ecdsa==0.13 email-validator==1.0.3 entrypoints==0.2.3.post3 future==0.15.2 geoip2==2.9.0 geojson==2.4.0 graphene==2.0.1 graphene-sqlalchemy==2.0.0 graphql-core==2.0 graphql-relay==0.4.5 h11==0.8.1 h2==3.0.1 hashID==3.1.4 hpack==3.0.0 html5lib==1.0.1 httplib2==0.9.2 hyperframe==5.1.0 icalendar==4.0.0 idna==2.6 iso8601==0.1.11 Jinja2==2.10 jsonschema==2.6.0 kaitaistruct==0.8 keyring==15.1.0 keyrings.alt==3.1 kiwisolver==1.0.1 ldap3==2.4.1 louis==3.6.0 lxml==4.2.3 Mako==1.0.7 MarkupSafe==1.0 matplotlib==2.2.2 maxminddb==1.4.1 mitmproxy==4.0.3 msgpack==0.5.6 numpy==1.14.5 olefile==0.45.1 paramiko==2.4.0 passlib==1.7.1 Pillow==5.2.0 pluginbase==0.5 ply==3.11 promise==2.0.1 psycopg2==2.7.5 pyasn1==0.4.2 pycairo==1.16.2 pycrypto==2.6.1 pycryptodome==3.6.6 pycups==1.9.73 pycurl==7.43.0.1 pyenchant==2.0.0 pygobject==3.28.2 pygtkspellcheck==4.0.5 PyNaCl==1.2.1 PyOpenGL==3.1.0 pyOpenSSL==18.0.0 pyotp==2.2.6 pyparsing==2.2.0 pyperclip==1.6.0 pyproj==1.9.5.1 pyqtgraph==0.10.0 pyserial==3.4 pyshp==1.2.12 pysmbc==1.0.15.6 pysmi==0.2.2 pysnmp==5.0.0 python-apt==1.6.2 python-dateutil==2.6.1 python-debian==0.1.32 python-debianbts==2.7.2 python-editor==0.4 python-pam==1.8.4 pytz==2018.5 pyxdg==0.25 PyYAML==3.12 reportbug==7.5.0 requests==2.18.4 requests-file==1.4.3 ruamel.yaml==0.15.34 Rx==1.6.1 scipy==1.1.0 SecretStorage==2.3.1 six==1.11.0 smoke-zephyr==1.2.0 sortedcontainers==2.0.4 SQLAlchemy==1.2.8 tabulate==0.8.2 termcolor==1.1.0 termineter==1.0.4 tornado==5.0.2 tzlocal==1.5.1 unattended-upgrades==0.1 urllib3==1.22 urwid==2.0.1 wafw00f==0.9.5 webencodings==0.5 websocket-client==0.48.0 wsproto==0.11.0 XlsxWriter==0.9.6Current Behavior
Expected Behavior