Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/calc1f4r/arp-cache-poison

⚔ A Python script showcasing ARP cache poisoning, a network security technique. Utilizes scapy to manipulate ARP tables, redirecting traffic between victim and gateway.
https://github.com/calc1f4r/arp-cache-poison

arp-poisoning python-scripting scapy wireless-security

Last synced: about 7 hours ago
JSON representation

⚔ A Python script showcasing ARP cache poisoning, a network security technique. Utilizes scapy to manipulate ARP tables, redirecting traffic between victim and gateway.

Awesome Lists containing this project

README

        

### 🐋 ARP Cache Poisoning Script

This Python script leverages the power of the scapy library to perform ARP (Address Resolution Protocol) poisoning and packet sniffing on a local network. ARP poisoning is a technique where an attacker intercepts and manipulates network traffic between a victim and a gateway, effectively becoming a "man-in-the-middle." The tool also includes packet sniffing capabilities, allowing users to capture and analyze network traffic for security testing or educational purposes.

#### ⚔ Features

- 🔑 ARP Cache Poisoning: Become a network sorcerer as you magically deceive devices and reroute their traffic through your machine.
- 📝 Packet Sniffing: Unveil the hidden secrets of intercepted packets and delve into the essence of network communication.
- 🎛️ Command-Line Interface: Command your network with simple arguments, effortlessly configuring target IPs and network interfaces.
- 🚄 Multiprocessing: Experience blazing-fast execution as you handle ARP poisoning and packet sniffing in parallel.

#### ⚔ Usage

**Requirements**

```python
pip install scapy termcolor
```

**Basic Usage**

- Specify the victim's IP using the -vIP argument:

```python
sudo python arp_cache_poison.py -vIP
```

- Specify the gateway/router's IP using the -gIP argument:

```python
sudo python arp_cache_poison.py -vIP -gIP
```

- Optionally enable packet sniffing with the -sniff flag:

```python
sudo python arp_cache_poison.py -vIP -gIP -sniff
```

- Set the packet count for packet sniffing using the -pc argument:

```python
sudo python arp_cache_poison.py -vIP -gIP -sniff -pc
```

#### ⚡ Contributions

Contributions are welcome! If you find a bug or have suggestions for improvements, feel free to open an issue or submit a pull request.