MohitPimoli / Net-Ninja

Wi-Fi Jammer Script: A Python tool that performs deauthentication attacks on Wi-Fi networks by disconnecting all clients from the target access point. Built using aircrack-ng tools, this script automates network scanning, selecting a target, and executing the attack. For educational and security testing purposes only.
1 stars 0 forks source link
aircrack-ng deauthentication-attack wifi wifi-jammer wifi-security
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.


Disclaimer:

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.


Requirements

Install necessary tools:

sudo apt update
sudo apt install aircrack-ng

Steps to Use

1. Clone the Repository

First, clone the repository to your local machine:

git clone https://github.com/MohitPimoli/Net-Ninja.git
cd Net-Ninja

2. Run the Script

Before running the script, ensure you have administrative privileges (use sudo):

sudo python3 net-ninja.py

3. Select the Wi-Fi Interface

The script will list available Wi-Fi interfaces. Select the interface you want to use for the attack by entering the corresponding number.

Example:

The following WiFi interfaces are available:
0 - wlan0
1 - wlan1

Please select the interface you want to use for the attack: 0

4. Monitor Mode

The script will automatically put the selected interface into monitor mode, allowing you to capture Wi-Fi packets and perform attacks.

5. Scan for Access Points

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

6. Choose a Target

Once the scan is complete, select the network you want to target by entering the corresponding number.

Please select a choice from above: 0

7. Deauthentication Attack

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.

8. Stopping the Attack

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.


Notes


Author

By: Mohit Pimoli Version: 1.1