Skip to content

joaostack/ArpSpoof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

logo

A simple ARP spoofing tool written in C# for Windows/Linux environments.
Designed for ethical hacking and penetration testing purposes.


Features

  • 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#

Installation

  1. Clone the repository:
git clone https://github.com/joaostack/ArpSpoof.git
cd ArpSpoof
  1. Restore dependencies:
dotnet restore

Usage

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.

Demo 1

Screenshot_20250819_134945

Demo 2

Screenshot_20250819_140537

Dependencies


Contributing

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.


Author

João H. (joaostack) – GitHub