Open Benoulimou opened 4 weeks ago
Hi Does the de-auth work during those 300 seconds?
Can you please share the full exception log? (It seems to be truncated)
yes, it works Can you tell me where the log is? I don't see anything in the file
I mean from the output, as the snippet you provided doesn't seem to be full (it gets truncated at results = __gen_send(socket, x, inter=inter, loop=loop,
)
Also, which OS are you using? Is it Nethunter (Kali on Android) by any chance?
that's all I have, I'm on kali linux on vm
here's another one after 16 sec
another one after 1096 sec on root user
Seems like an unhandled exception that comes from scapy library... I will add a try-except mechanism that should help overcome temporary exceptions (I assume this is temporary as the next time you run the script it runs ok)
I will deploy this in the next version, meanwhile I'd suggest to try connecting the network interface to a different USB port
ok, I tried to install it on another kali linux machine and I get this error that I can't bypass:
`pip3 install error: externally-managed-environment
× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.
If you wish to install a non-Kali-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have pypy3-venv installed.
If you wish to install a non-Kali-packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
For more information, refer to the following:
* https://www.kali.org/blog/python-externally-managed/
* /usr/share/doc/python3.12/README.venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification.
`
try setting up venv:
python3 -m venv venv
source venv/bin/activate
pip3 install .
Sorry don't work
You need to create the venv inside the wifi-deauth directory
git clone https://github.com/flashnuke/wifi-deauth.git
cd wifi-deauth
// Create venv and install here (Using the commands I provided above)
great it's work ! thk !
But then I have to stay on venv for it to work?
great it's work ! thk !
But then I have to stay on venv for it to work?
Your welcome!
Yes, you should stay on venv This limitation is imposed by the new Kali machine it seems
hey @Benoulimou I believe what you had is a network buffer overflow (due to network congestion - too many packets at a short period) I addressed this in https://github.com/flashnuke/wifi-deauth/pull/24:
now, If a deauth attempt fails - the program would throttle down between each failed attempt, this would allow the buffer to deplete (if the successive attempts fail also - the program will eventually exit as it did before) also I fixed the malformed exception prints
Great! this is the error I get on the 1st launch, then when I relaunch it works.
Just to clarify, '1st launch' means just once, and now it works flawlessly every time?
no, I run it, I get the error, I run it again, I don't get the error and I get it every time
can you please pull latest, run with debug mode and share the output? i want to see if your interface it set up correctly
git pull
sudo python3 wifi_deauth.py -d -i ... # use the '-d' flag for debug mode
Hi, Could you tell me what this error means? It happens all the time after about 300 seconds.
[!] Exception in deauth-loop -> Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/wifi_deauth/wifi_deauth.py", line 321, in _run_deauther self._send_deauth_client(ap_mac, client_mac) File "/usr/local/lib/python3.11/dist-packages/wifi_deauth/wifi_deauth.py", line 335, in _send_deauth_client sendp(RadioTap() / 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 417, in _send results = __gen_send(socket, x, inter=inter, loop=loop,
thx