threat9/routersploit

Need help im using termux

Open

#798 opened on Mar 16, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (11,672 stars) (2,340 forks)batch import
help wanted

Description

! ANY INCOMPLETE REPORT WILL BE CLOSED RIGHT AWAY !

Steps to Reproduce (for bugs)

1.run or exploit (scanners/autopwn)

RESULT:

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.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 "/data/data/com.termux/files/home/routersploit/routersploit/modules/exploits/generic/ssh_auth_keys.py", line 4, in from routersploit.core.ssh.ssh_client import SSHClient File "/data/data/com.termux/files/home/routersploit/routersploit/core/ssh/ssh_client.py", line 2, in import paramiko File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/paramiko/init.py", line 22, in from paramiko.transport import SecurityOptions, Transport File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/paramiko/transport.py", line 135, in class Transport(threading.Thread, ClosingContextManager): File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/paramiko/transport.py", line 209, in Transport if KexCurve25519.is_available(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/paramiko/kex_curve25519.py", line 30, in is_available X25519PrivateKey.generate() File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py", line 39, in generate from cryptography.hazmat.backends.openssl.backend import backend File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/cryptography/hazmat/backends/openssl/init.py", line 7, in from cryptography.hazmat.backends.openssl.backend import backend File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 117, in from cryptography.hazmat.bindings.openssl import binding File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in from cryptography.hazmat.bindings._openssl import ffi, lib ImportError: dlopen failed: cannot locate symbol "ERR_GET_FUNC" referenced by "/data/data/com.termux/files/usr/lib/python3.11/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so"...

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/ssh_auth_keys'

Error: dlopen failed: cannot locate symbol "ERR_GET_FUNC" referenced by "/data/data/com.termux/files/usr/lib/python3.11/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so"...

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 "/data/data/com.termux/files/home/routersploit/rsf.py", line 29, in routersploit(sys.argv) File "/data/data/com.termux/files/home/routersploit/rsf.py", line 25, in routersploit rsf.start() File "/data/data/com.termux/files/home/routersploit/routersploit/interpreter.py", line 125, in start command_handler(args, **kwargs) File "/data/data/com.termux/files/home/routersploit/routersploit/core/exploit/utils.py", line 177, in wrapper return fn(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/routersploit/routersploit/interpreter.py", line 394, in command_run print_error(traceback.format_exc(sys.exc_info())) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/traceback.py", line 187, in format_exc return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/traceback.py", line 139, in format_exception te = TracebackException(type(value), value, tb, limit=limit, compact=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/traceback.py", line 690, in init self.stack = StackSummary._extract_from_extended_frame_gen( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/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'

3.I tried download requirements dev this is the result

RESULT

error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet git://github.com/threat9/threat9-test-bed /data/data/com.termux/files/usr/tmp/pip-req-build-9a7j4zas did not run successfully. │ exit code: 128 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet git://github.com/threat9/threat9-test-bed /data/data/com.termux/files/usr/tmp/pip-req-build-9a7j4zas did not run successfully. │ exit code: 128 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

please fix it or help me i don't know the issue

Your Environment

  • RouterSploit Version used:
  • Operating System and version:
  • Python Version: ( python3 --version )
  • Python Environment: ( python3 -m pip freeze )

Current Behavior

  • If describing a bug, tell us what happens instead of the expected behavior
  • If suggesting a change/improvement, tell us how it works right now

Expected Behavior

  • If you're describing a bug, tell us what should happen
  • If you're suggesting a change/improvement, tell us how it should work

Contributor guide