An open API service indexing awesome lists of open source software.

https://github.com/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.
https://github.com/mohitpimoli/net-ninja

aircrack-ng deauthentication-attack wifi wifi-jammer wifi-security

Last synced: 4 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

```bash
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

- 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.
---

### Install necessary tools:

```bash
sudo apt update
sudo apt install aircrack-ng
```

---

## Steps to Use

### 1. Clone the Repository

First, clone the repository to your local machine:

```bash
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):

```bash
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:

```bash
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.

```bash
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.

```bash
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.

```bash
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

- 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.

---

## Author

By: Mohit Pimoli
Version: 1.1