masscan
all
A very fast network scanner. Works best with elevated privileges. For help with Nmap compatibility, run `masscan --nmap`. See also: `hping3`, `naabu`, `nmap`, `rustscan`, `zmap`.
More info →Options (1)
-p, --portsbooleanScan an IP or network subnet for port 80
Example:
masscan {{ip_address|network_prefix}} {{[-p|--ports]}} {{80}}Examples (8)
Scan an IP or network subnet for port 80
masscan ip_address|network_prefix [-p|--ports] 80Scan a class B subnet for the top 100 ports at 100,000 packets per second
masscan 10.0.0.0/16 --top-ports 100 --rate 100000Scan a class B subnet avoiding ranges from a specific exclude file
masscan 10.0.0.0/16 --top-ports 100 --excludefile path/to/fileScan a class B subnet with Nmap-like version detection (banner grabbing)
masscan 10.0.0.0/16 [-p|--ports] 22,80 --banners --rate 100000Scan the Internet for web servers running on port 80 and 443
masscan 0.0.0.0/0 [-p|--ports] 80,443 --rate 10000000Scan the Internet for DNS servers running on UDP port 53
masscan 0.0.0.0/0 [-p|--ports] U:53 --rate 10000000Scan the Internet for a specific port range and export to a file
masscan 0.0.0.0/0 [-p|--ports] 0-65535 --output-format binary|grepable|json|list|xml --output-filename path/to/fileRead binary scan results from a file and output to `stdout`
masscan --readscan path/to/filemade by @shridhargupta | data from tldr-pages