rustscan
Modern Port Scanner written in Rust. Note: `nmap` must be installed for some of the examples below to work. See also: `hping3`, `masscan`, `naabu`, `nmap`, `zmap`.
More info →Options (7)
-a, --addressesbooleanScan all ports of one or more comma-delimited addresses using the default values
rustscan {{[-a|--addresses]}} {{ip_or_hostname}}-p, --portsbooleanScan a specific list of ports
rustscan {{[-p|--ports]}} {{port1,port2,...}} {{[-a|--addresses]}} {{address_or_addresses}}-r, --rangebooleanScan a specific range of ports
rustscan {{[-r|--range]}} {{start}}-{{end}} {{[-a|--addresses]}} {{address_or_addresses}}booleanInvoke `nmap` functionalities (Nmap's OS detection and default scripts)
rustscan {{[-a|--addresses]}} {{address_or_addresses}} -- -O {{[-sC|--script=default]}}-b, --batch-sizebooleanScan with custom batch size (default: 4500) and timeout (default: 1500ms)
rustscan {{[-b|--batch-size]}} {{batch_size}} {{[-t|--timeout]}} {{timeout}} {{[-a|--addresses]}} {{address_or_addresses}}-t, --timeoutbooleanScan with custom batch size (default: 4500) and timeout (default: 1500ms)
rustscan {{[-b|--batch-size]}} {{batch_size}} {{[-t|--timeout]}} {{timeout}} {{[-a|--addresses]}} {{address_or_addresses}}-g, --greppablebooleanScan in greppable mode (only output of the ports, no `nmap`)
rustscan {{[-g|--greppable]}} {{[-a|--addresses]}} {{address_or_addresses}}Examples (8)
Scan all ports of one or more comma-delimited addresses using the default values
rustscan [-a|--addresses] ip_or_hostnameScan the top 1000 ports with service and version detection
rustscan --top [-a|--addresses] address_or_addressesScan a specific list of ports
rustscan [-p|--ports] port1,port2,... [-a|--addresses] address_or_addressesScan a specific range of ports
rustscan [-r|--range] start-end [-a|--addresses] address_or_addressesInvoke `nmap` functionalities (Nmap's OS detection and default scripts)
rustscan [-a|--addresses] address_or_addresses -- -O [-sC|--script=default]Scan with custom batch size (default: 4500) and timeout (default: 1500ms)
Scan with specific port order
rustscan --scan-order serial|random [-a|--addresses] address_or_addressesScan in greppable mode (only output of the ports, no `nmap`)
rustscan [-g|--greppable] [-a|--addresses] address_or_addresses