A simple network scanning tool to discover active devices on your local network.
-
Clone the repository:
git clone https://github.com/arjav0704/netscan.git cd netscan -
Install Rust if you haven't already. You can download it from here.
-
Run the program using Cargo:
cargo run -- --network/ --timeout --ports mma_separated_ports>
--network: Specify the network address and subnet mask to scan (e.g.,/ net_mask> 192.168.1.1/24).--timeout: Set the timeout for each ping request in milliseconds (default is 1000 ms).ms> --ports: Specify a list of ports to scan on each active device (e.g.,ts> 22,80,443).