После установки на kali такая проблема с mitmf
Если запускаю от пользователя
Под рутом
запускал через команды
Как это пофиксить?
Если запускаю от пользователя
Bash:
[-] The derp is strong with this one
TIP: you may run MITMf as root.
Под рутом
Bash:
ERROR: Loading module scapy.layers.ipsec
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/scapy-2.5.0rc2.dev20-py2.7.egg/scapy/main.py", line 156, in _load
mod = importlib.import_module(module)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/lib/python2.7/dist-packages/scapy-2.5.0rc2.dev20-py2.7.egg/scapy/layers/ipsec.py", line 163, in <module>
from cryptography.hazmat.primitives.ciphers import (
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/primitives/ciphers/aead.py", line 10, in <module>
from cryptography.hazmat.backends.openssl import aead
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
from cryptography.hazmat.backends.openssl.backend import backend
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/backends/openssl/backend.py", line 16, in <module>
from cryptography import utils, x509
File "/usr/lib/python2.7/dist-packages/cryptography/x509/__init__.py", line 7, in <module>
from cryptography.x509 import certificate_transparency
ImportError: cannot import name certificate_transparency
[*] MITMf v0.9.8 - 'The Dark Side'
|
|_ Net-Creds v1.0 online
Traceback (most recent call last):
File "./mitmf.py", line 139, in <module>
from core.sslstrip.StrippingProxy import StrippingProxy
File "/home/kali/mimtf/MITMf/core/sslstrip/StrippingProxy.py", line 20, in <module>
from ClientRequest import ClientRequest
File "/home/kali/mimtf/MITMf/core/sslstrip/ClientRequest.py", line 25, in <module>
import dns.resolver
File "/usr/local/lib/python2.7/dist-packages/dnspython-2.1.1.dev395+g0211b8f-py2.7.egg/dns/resolver.py", line 147
def _errors_to_text(errors: List[ErrorTuple]) -> List[str]:
^
SyntaxError: invalid syntax
запускал через команды
Bash:
./mitmf.py -i eth0
python2 mitmf.py -i eth0
Как это пофиксить?