This project demonstrates a basic network scanner using Python and the Scapy library. It performs ARP scans to discover live hosts on a local network and TCP scans to identify open ports on a target host.
- ARP Scan: Discovers devices on the local network by sending ARP requests.
- TCP Scan: Identifies open ports on a specified host using SYN packets.
- Command-line interface for specifying scan type, target IP, and ports.
network_scanner.py
: The main Python script containing the logic for ARP and TCP scans.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/network-scanner.git
-
Navigate into the directory:
cd network-scanner
-
Install the required dependencies:
pip install scapy
- Open a terminal and navigate to the project directory.
- Run the script with the desired scan type and options.