Hey @ArminXXXXX
Please provide more details so I can assist you better:
- Your operating system
- The output of the program (run it with
--debug)
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/wifi-deauth", line 3, in
from wifi_deauth.wifi_deauth import main
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/wifi_deauth/wifi_deauth.py", line 12, in
from scapy.layers.dot11 import RadioTap, Dot11Elt, Dot11Beacon, Dot11ProbeResp, Dot11ReassoResp, Dot11AssoResp,
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/scapy/layers/dot11.py", line 55, in
from scapy.ansmachine import AnsweringMachine
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/scapy/ansmachine.py", line 20, in
from scapy.arch import get_if_addr
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/scapy/arch/init.py", line 172, in
_set_conf_sockets() # Apply config
^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/scapy/config.py", line 826, in _set_conf_sockets
conf.ifaces.reload()
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/scapy/interfaces.py", line 255, in reload
self._reload_provs()
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/scapy/interfaces.py", line 251, in _reload_provs
self._load(prov.reload(), prov)
^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/scapy/interfaces.py", line 51, in reload
return self.load()
^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/scapy/arch/linux/init.py", line 166, in load
for iface in _get_if_list().values():
^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/scapy/arch/linux/rtnetlink.py", line 798, in _get_if_list
results = _sr1_rtrequest(
^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/scapy/arch/linux/rtnetlink.py", line 723, in _sr1_rtrequest
sock.bind((0, 0)) # bind to kernel
^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied
I see that you are trying to run it on Termux, I'm not sure that would work.
Beware that you need:
- A wifi-dongle that supports monitor mode (you can hook one up to the phone externally), and then pass that network interface's name to the program (run the cmd
ifconfig, its name should be listed there).
- A rooted phone with set capabilities .
I suggest you try these :
- Running as sudo
su -c ...
- If it still doesn't work, perhaps network capabilities are missing, try setting them:
setcap cap_net_raw,cap_net_admin+eip $(which python3) and then run with sudo again.
If that doesn't work, I suggest checking out Kali Nethunter, I've tested on it multiple times.