https://github.com/prathameshkhade/arpspoof
A Python-based ARP spoofing tool for performing Man-In-The-Middle (MITM) attacks by sending spoofed ARP packets to the victim and router.
https://github.com/prathameshkhade/arpspoof
arp arp-poisoning arp-spoofing cli-tool command-line-tool cybersecurity dsniff ethical-hacking ethical-hacking-tools linux mitm mitm-attack mitm-attacks network-security network-tool pentration-testing scapy scapy-arp spoffing spoofing-attack
Last synced: 7 months ago
JSON representation
A Python-based ARP spoofing tool for performing Man-In-The-Middle (MITM) attacks by sending spoofed ARP packets to the victim and router.
- Host: GitHub
- URL: https://github.com/prathameshkhade/arpspoof
- Owner: prathameshkhade
- Created: 2024-02-23T07:48:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T14:46:23.000Z (about 2 years ago)
- Last Synced: 2025-05-29T21:12:36.977Z (about 1 year ago)
- Topics: arp, arp-poisoning, arp-spoofing, cli-tool, command-line-tool, cybersecurity, dsniff, ethical-hacking, ethical-hacking-tools, linux, mitm, mitm-attack, mitm-attacks, network-security, network-tool, pentration-testing, scapy, scapy-arp, spoffing, spoofing-attack
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🫣 ARPspoof
This is a simple python script which sends the malicious spoofed ARP packets to the target IP address.
It continuously sends ARP requests to the victim IP and Router. Simply, it generates packets with your MAC address as a source and sends these packets to the victim and router. So, the victim thinks that you are the router and the router thinks that you are the victim. i.e., you are sniffing the data packets that the victim sends to the router and vice versa.
Then you can use the `dsniff` for capturing any username and password for unencrypted data packets. Further you can use the `dnsspoof` tool for modifying dns queries.
## 💻 Installation
1. Clone the repository:
```sh
git clone https://github.com/prathameshkhade/ARPspoof
```
2. Change your current working directory:
```sh
cd ARPspoof/src/
```
3. Install scapy library required for creating and sending packets in requirements.txt:
```sh
pip3 install -r requirements.txt
```
- Or use the script for installing python and scapy library:
```bash
chmod 744 install.sh && ./install.sh
```
## 🪴 Usage
```sh
sudo arpspoof.py -v -r -i
```
## 🤹♀️ Options
| Arguments |Alternative Arguments| Description |
|:---------:|:-------------------:| :----------:|
|-v | --victim | IP address of the victim |
|-r | --router | IP address of the Router or Gateway|
|-i | --interface | Interface to be used for sending ARP packets |
|-h | --help | Disaply the help menu|