websploit icon indicating copy to clipboard operation
websploit copied to clipboard

wifi_fap_spam error

Open orangemn6 opened this issue 3 years ago • 2 comments

i got this error using wifi_fap_spam as root

Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.6/dist-packages/websploit-4.0.4-py3.6.egg/websploit/modules/wifi_fap_spam.py", line 48, in __init__ self.run() File "/usr/local/lib/python3.6/dist-packages/websploit-4.0.4-py3.6.egg/websploit/modules/wifi_fap_spam.py", line 64, in run sendp(frame, inter=0.1, iface=self.iface, loop=1) File "/usr/local/lib/python3.6/dist-packages/scapy-2.4.4-py3.6.egg/scapy/sendrecv.py", line 376, in sendp socket = socket or conf.L2socket(iface=iface, *args, **kargs) File "/usr/local/lib/python3.6/dist-packages/scapy-2.4.4-py3.6.egg/scapy/arch/linux.py", line 398, in __init__ self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) # noqa: E501 File "/usr/lib/python3.6/socket.py", line 144, in __init__ _socket.socket.__init__(self, family, type, proto, fileno) PermissionError: [Errno 1] Operation not permitted

orangemn6 avatar Sep 16 '20 16:09 orangemn6

Try running as root

adnan007d avatar Nov 06 '20 14:11 adnan007d

k ill try

orangemn6 avatar Nov 09 '20 02:11 orangemn6