Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websploit: OSError: [Errno 19] No such device #91

Open
alyaparan opened this issue Mar 27, 2024 · 0 comments
Open

Websploit: OSError: [Errno 19] No such device #91

alyaparan opened this issue Mar 27, 2024 · 0 comments

Comments

@alyaparan
Copy link

Traceback (most recent call last):
File "/usr/bin/websploit", line 33, in
sys.exit(load_entry_point('websploit==4.0.4', 'console_scripts', 'websploit')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/websploit/websploit.py", line 74, in start_wsf
Main().cmdloop()
File "/usr/lib/python3.11/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/cmd.py", line 217, in onecmd
return func(arg)
^^^^^^^^^
File "/usr/lib/python3/dist-packages/websploit/websploit.py", line 35, in do_use
module.cmdloop()
File "/usr/lib/python3.11/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/cmd.py", line 217, in onecmd
return func(arg)
^^^^^^^^^
File "/usr/lib/python3/dist-packages/websploit/modules/wifi_fap.py", line 35, in do_execute
sendp(frame, inter=0.1, iface=self.parameters['iface'], loop=1)
File "/usr/lib/python3/dist-packages/scapy/sendrecv.py", line 480, in sendp
return _send(
^^^^^^
File "/usr/lib/python3/dist-packages/scapy/sendrecv.py", line 416, in _send
socket = socket or _func(iface)(iface=iface, **kargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/scapy/arch/linux.py", line 512, in init
set_promisc(self.ins, self.iface)
File "/usr/lib/python3/dist-packages/scapy/arch/linux.py", line 174, in set_promisc
mreq = struct.pack("IHH8s", get_if_index(iff), PACKET_MR_PROMISC, 0, b"")
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/scapy/arch/linux.py", line 412, in get_if_index
return int(struct.unpack("I", get_if(iff, SIOCGIFINDEX)[16:20])[0])
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/scapy/arch/unix.py", line 43, in get_if
return ioctl(sck, cmd, struct.pack("16s16x", iff.encode("utf8")))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 19] No such device

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant