A Python-based tool that sends deauthentication (Deauth) packets to disconnect a target device from a Wi-Fi network using Scapy.
- Sends deauthentication packets to disconnect a target device from a Wi-Fi network.
- Uses Scapy to craft and send packets over the air.
- Simple and easy-to-use command-line interface.
To run this project, you'll need Python 3.x installed and the following dependencies :
pip install scapy
-
Clone the repository to your local machine :
git clone /~https://github.com/XanderSteyn/WiFi-Deauthentication.git cd WiFi-Deauthentication
-
Ensure that you're running the script with administrator privileges or using a privileged account (e.g.
sudo
in Linux). -
Run the script:
python WiFiDeauth.py
scapy
A powerful Python library used to interact with and manipulate network packets.
- The script takes the target device's MAC address, the gateway/router's MAC address, and your Wi-Fi interface (e.g.
wlan0
on Linux). - It then crafts a deauthentication packet and sends it continuously in a loop to disconnect the target device from the network.
- This is useful for testing and educational purposes, but please make sure to follow ethical guidelines when using it.
-
Run the script :
python WiFiDeauth.py
-
Provide the following inputs :
- Target MAC Address : The MAC address of the device you want to disconnect from the network.
- Gateway MAC Address : The MAC address of the router or access point.
- Wi-Fi Interface : The network interface on your system (e.g.,
wlan0
on Linux).
-
The script will start sending deauthentication packets to the target device.
- Packet Count : The script sends 100 deauthentication packets in each iteration with a delay of 0.1 seconds between them. You can modify the
count
andinter
values to adjust the packet sending rate.