This project implements ARP spoofing using C++ and the pcap library. It is designed primarily for network study purposes.
⚠️ Caution: Never run this tool on a public Wi-Fi network. Using ARP spoofing maliciously or without permission can be illegal and unethical.
- Operating System: Ubuntu 22.04
- Dependencies: g++, libpcap-dev, libgtest-dev
-
Clone this repository:
git clone [repository-url] cd arp-spoofing-main
-
Install the required dependencies:
sudo apt install g++ libpcap-dev libgtest-dev
-
Build the project:
make
To run the ARP spoofing tool, use the following syntax:
./arp-spoof <interface> <sender ip> <target ip>
Example:
./arp-spoof wlan0 192.168.10.2 192.168.10.1
This project is open source and available under the MIT License (if applicable).