PDA

View Full Version : Kali Linux Windows 10 Evillimiter Error



MELTEDNINJA
2020-05-18, 03:34
Hello,

I am trying to use Evillimiter on Kali Linux on Windows 10 and I am currently getting this error code if anybody can help:

Traceback (most recent call last):
File "/usr/local/bin/evillimiter", line 11, in <module>
load_entry_point('evillimiter==1.4.0', 'console_scripts', 'evillimiter')()
File "/usr/local/lib/python3.8/dist-packages/evillimiter-1.4.0-py3.8.egg/evillimiter/evillimiter.py", line 167, in run args = process_arguments(args)
File "/usr/local/lib/python3.8/dist-packages/evillimiter-1.4.0-py3.8.egg/evillimiter/evillimiter.py", line 93, in process_arguments
gateway_mac = netutils.get_mac_by_ip(interface, gateway_ip)
File "/usr/local/lib/python3.8/dist-packages/evillimiter-1.4.0-py3.8.egg/evillimiter/networking/utils.py", line 43, in get_mac_by_ip
response = sr1(packet, timeout=3, verbose=0, iface=interface)
File "/usr/local/lib/python3.8/dist-packages/scapy-2.4.3-py3.8.egg/scapy/sendrecv.py", line 487, in sr1
s = conf.L3socket(promisc=promisc, filter=filter,
File "/usr/local/lib/python3.8/dist-packages/scapy-2.4.3-py3.8.egg/scapy/arch/linux.py", line 467, in __init__
self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) # noqa: E501
File "/usr/lib/python3.8/socket.py", line 231, in __init__
_socket.socket.__init__(self, family, type, proto, fileno)
OSError: [Errno 97] Address family not supported by protocol

kamuridesu
2020-07-18, 14:26
seems like linux installed in windows with WSL doesn't have direct accesss to some connections controllers, therefore it won't work. I haven't tested with WSL 2 btw, but you can test it, or install Kali on a virtual machine or install on a usb drive or anything of a kind to run (or even adapt the code for windows)