Command-line tool
masscan
brew/masscan
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
TCP port scanner, scans entire Internet in under 5 minutes
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install masscan
Linux
brew install masscan
Scan an IP or network subnet for port 80
masscan ip_address -p 80
Scan 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 100000
Scan a class B subnet avoiding ranges from a specific exclude file
masscan 10.0.0.0/16 --top-ports 100 --excludefile path/to/file
Related command-line tools
- zmap
Network scanner for Internet-wide network studies - nmap
Port scanning utility for large networks security network scan - nikto
Web server scanner - rustscan
Modern Day Portscanner scanner network 网络 scan port 扫描 扫描器 端口 - naabu
Fast port scanner - havn
Fast configurable port scanner with reasonable defaults - osv-scanner
Vulnerability scanner which uses the OSV database scanner security-tools vulnerability-scanner security-audit - netscli
netscli (Windows package; no description in the winget index) rust mcp cli tui scanner network dns mdns arp port-scan
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents