lalikinux
@lalikinux
Seb

Модули python! Проблемы с routersploit?

Пытаюсь заюзать ./rsf.py и выдает вот такое:
spoiler
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 "/home/user/routersploit/routersploit/core/exploit/utils.py", line 80, in import_exploit
module = importlib.import_module(path)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "/home/user/routersploit/routersploit/modules/exploits/generic/ssh_auth_keys.py", line 4, in
from routersploit.core.ssh.ssh_client import SSHClient
File "/home/user/routersploit/routersploit/core/ssh/ssh_client.py", line 2, in
import paramiko
File "/usr/local/lib/python3.5/dist-packages/paramiko-2.4.2-py3.5.egg/paramiko/__init__.py", line 22, in
File "/usr/local/lib/python3.5/dist-packages/paramiko-2.4.2-py3.5.egg/paramiko/transport.py", line 90, in
File "/usr/local/lib/python3.5/dist-packages/paramiko-2.4.2-py3.5.egg/paramiko/ed25519key.py", line 17, in
ImportError: No module named 'bcrypt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/user/routersploit/routersploit/interpreter.py", line 334, in command_run
self.current_module.run()
File "/home/user/routersploit/routersploit/modules/scanners/autopwn.py", line 51, in run
for module in utils.iter_modules(directory):
File "/home/user/routersploit/routersploit/core/exploit/utils.py", line 105, in iter_modules
yield import_exploit(path)
File "/home/user/routersploit/routersploit/core/exploit/utils.py", line 95, 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/generic/ssh_auth_keys'

Error: No module named 'bcrypt'

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 "/home/user/routersploit/routersploit/interpreter.py", line 116, in start
command_handler(args)
File "/home/user/routersploit/routersploit/core/exploit/utils.py", line 140, in wrapper
return fn(self, *args, **kwargs)
File "/home/user/routersploit/routersploit/interpreter.py", line 339, in command_run
print_error(traceback.format_exc(sys.exc_info()))
File "/usr/lib/python3.5/traceback.py", line 163, in format_exc
return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
File "/usr/lib/python3.5/traceback.py", line 117, in format_exception
type(value), value, tb, limit=limit).format(chain=chain))
File "/usr/lib/python3.5/traceback.py", line 463, in __init__
_seen=_seen)
File "/usr/lib/python3.5/traceback.py", line 474, in __init__
capture_locals=capture_locals)
File "/usr/lib/python3.5/traceback.py", line 332, in extract
if limit >= 0:
TypeError: unorderable types: tuple() >= int()


Понимаю что проблемы в модулях, но когда пытаюсь их установить получаю вот такое:
spoiler
user@RAZ0r ~/routersploit $ pip install pycrypto
Traceback (most recent call last):
File "/home/user/.local/bin/pip", line 7, in
from pip._internal import main
File "/home/user/.local/lib/python2.7/site-packages/pip/_internal/__init__.py", line 42, in
from pip._internal import cmdoptions
File "/home/user/.local/lib/python2.7/site-packages/pip/_internal/cmdoptions.py", line 16, in
from pip._internal.index import (
File "/home/user/.local/lib/python2.7/site-packages/pip/_internal/index.py", line 14, in
from pip._vendor import html5lib, requests, six
File "/home/user/.local/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py", line 97, in
from pip._vendor.urllib3.contrib import pyopenssl
File "/home/user/.local/lib/python2.7/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 46, in
import OpenSSL.SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 118, in
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'


В чем кроется проблема или я чего-то не замечаю?
  • Вопрос задан
  • 611 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы