Error after300 sec
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
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
I'm back, I've installed debian 10, I don't want to use env but I still have an error with pip3 which doesn't work and python3 can't find install Can you help me?
Bonjour À propos d'une autre problème : Voici une explication détaillée de l'erreur :
Cause de l'erreur
L'erreur se produit après environ 300 secondes d'exécution du programme wifi_deauth, qui est utilisé pour tester la sécurité des réseaux sans fil. L'erreur est générée par une exception dans la boucle de déconnexion (_deauth-loop).
Détails techniques
- Fichier affecté : (link unavailable) (ligne 321).
- Méthode affectée : _run_deauther.
- Erreur : Échec de l'envoi d'un paquet RadioTap via Scapy.
Causes possibles
- Problèmes de connexion réseau.
- Problèmes de compatibilité entre les versions de Scapy et wifi_deauth.
- Problèmes de sécurité ou de pare-feu.
- Erreurs de configuration.
- Problèmes de droits d'accès.
Solutions possibles
- Mettre à jour Scapy :
pip install --upgrade scapy. - Mettre à jour wifi_deauth :
pip install --upgrade wifi_deauth. - Vérifier la stabilité de la connexion réseau.
- Vérifier les paramètres de configuration.
- Exécuter le programme avec des droits d'administrateur.
- Redémarrer le programme.
- Vérifier les mises à jour du système.
Ressources
-
Documentation wifi_deauth.
-
Documentation Scapy.
-
Forum Stack Overflow.
-
GitHub.
Merci a votre attention
Le lun. 16 déc. 2024, 20:18, Benoulimou @.***> a écrit :
I'm back, I've installed debian 10, I don't want to use env but I still have an error with pip3 which doesn't work and python3 can't find install Can you help me?
— Reply to this email directly, view it on GitHub https://github.com/flashnuke/wifi-deauth/issues/23#issuecomment-2546438948, or unsubscribe https://github.com/notifications/unsubscribe-auth/BL4CLATSPFSPGNHLKRUZNK32F4RPBAVCNFSM6AAAAABQUUCCXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBWGQZTQOJUHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>