ARP Sniffer is a Python script that allows users to discover IP and MAC addresses within a local network using ARP (Address Resolution Protocol) broadcasting.
- Discovers IP and MAC addresses within a local network.
- Allows users to specify IP and MAC addresses to be discovered.
- Customizable timeout duration for ARP requests.
- Python 3.x
- Scapy library (install via
pip install scapy)
- Clone the repository:
git clone https://github.com/LeatherFire/ARPProject.git
- Navigate to the project directory:
cd ARPProject - Run the script:
Replace
python arp_sniffer.py -i <IP_ADDRESS> -m <MAC_ADDRESS> -t <TIMEOUT>
<IP_ADDRESS>with the target IP address,<MAC_ADDRESS>with the target MAC address, and<TIMEOUT>with the desired timeout duration (in seconds).
-i, --ipadress: Specify the IP address to be discovered.-m, --macadress: Specify the MAC address to be discovered.-t, --timeout: Set the timeout duration for ARP requests (default is 1 second).
python arp_sniffer.py -i 192.168.1.1 -m 00:11:22:33:44:55 -t 2This script is inspired by the need for network analysis and security auditing. Special thanks to the Scapy library developers for their invaluable contribution.
This project is licensed under the MIT License - see the LICENSE file for details.