masscan Command Examples

Network scanner for scanning as fast as possible. Best run with elevated privileges. Nmap compatibility run masscan --nmap to find out more. More information: https://github.com/robertdavidgraham/masscan.

masscan {{ip_address|network_prefix}} --ports {{80}}

masscan {{10.0.0.0/16}} --top-ports {{100}} --rate {{100000}}

masscan {{10.0.0.0/16}} --top-ports {{100}} --excludefile {{path/to/file}}

masscan {{0.0.0.0/0}} --ports {{80,443}} --rate {{10000000}}

masscan {{0.0.0.0/0}} --ports {{U:53}} --rate {{10000000}}

masscan {{0.0.0.0/0}} --ports {{0-65535}} --output-format {{binary|grepable|json|list|xml}} --output-filename {{path/to/file}}

masscan --readscan {{path/to/file}}