ooooo ooo . ooooo ooo o8o o8o
`888b. `8' .o8 `888b. `8' `"' `"'
8 `88b. 8 .ooooo. .o888oo 8 `88b. 8 oooo ooo. .oo. oooo .oooo.
8 `88b. 8 d88' `88b 888 8 `88b. 8 `888 `888P"Y88b `888 `P )88b
8 `88b.8 888ooo888 888 8888888 8 `88b.8 888 888 888 888 .oP"888
8 `888 888 .o 888 . 8 `888 888 888 888 888 d8( 888
o8o `8 `Y8bod8P' "888" o8o `8 o888o o888o o888o 888 `Y888""8o
888
.o. 88P
`Y888P
By: Mohit Pimoli
Version: 1.1
This script allows you to perform a deauthentication attack on Wi-Fi networks, effectively disconnecting clients from a targeted network.
This tool is for educational purposes only. Unauthorized use of this script can violate laws and regulations. Always ensure you have permission to test any network before performing any actions.
- A Linux system (preferably Kali Linux).
- Python 3.x installed.
aircrack-ng
tools installed (airodump-ng
,aireplay-ng
,airmon-ng
).- A Wi-Fi adapter that supports monitor mode and packet injection.
sudo apt update
sudo apt install aircrack-ng
First, clone the repository to your local machine:
git clone https://github.com/MohitPimoli/Net-Ninja.git
cd Net-Ninja
Before running the script, ensure you have administrative privileges (use sudo):
sudo python3 net-ninja.py
The script will list available Wi-Fi interfaces. Select the interface you want to use for the attack by entering the corresponding number.
The following WiFi interfaces are available:
0 - wlan0
1 - wlan1
Please select the interface you want to use for the attack: 0
The script will automatically put the selected interface into monitor mode, allowing you to capture Wi-Fi packets and perform attacks.
The script will start scanning for available access points and display a list of detected networks with details like BSSID, channel, and ESSID.
Copy code
No | BSSID | Channel | ESSID
___|_______________________|___________|________________________
0 | 00:14:6C:7E:40:80 | 6 | MyNetwork
1 | 00:14:6C:7E:40:81 | 11 | GuestNetwork
Once the scan is complete, select the network you want to target by entering the corresponding number.
Please select a choice from above: 0
The script will now initiate the deauthentication attack on the selected network, sending deauth packets to disconnect clients.
Deauthenticating clients...
Deauthentication attack in progress. Press Ctrl+C to stop.
To stop the attack, press Ctrl+C. The script will automatically revert the Wi-Fi interface back to managed mode, restoring normal Wi-Fi functionality.
- Always ensure your Wi-Fi adapter supports monitor mode and packet injection for the script to function correctly.
- You can access any backup .csv files that the script generates in the backup/ folder.
By: Mohit Pimoli Version: 1.1