A simple ARP spoofing tool written in C# for Windows/Linux environments.
Designed for ethical hacking and penetration testing purposes.
- List all network interfaces and select one to attack
- Discover gateway MAC address automatically
- Attempt to retrieve target MAC address by IP
- Simple console interface with clear messages
- Written in C#
- Clone the repository:
git clone https://github.com/joaostack/ArpSpoof.git
cd ArpSpoof
- Restore dependencies:
dotnet restore
Help Menu
sudo dotnet run --project src -- -h
Run the project with sudo
(required for raw packet sending):
sudo dotnet run --project src -- --target-address <TARGET_IP> --gateway-address <GATEWAY_IP>
Example:
sudo dotnet run --project src -- --target-address 192.168.2.221 --gateway-address 192.168.2.1
You will be prompted to select a network interface.
The program will attempt to discover MAC addresses and start spoofing.


Feel free to open issues, submit bug reports, or suggest improvements.
Please respect ethical hacking principles and only test in environments you own or have permission to test.
João H. (joaostack) – GitHub