Homebrew
RecommendedHomebrewbrew install rustscan
Fast TCP port finder that hands off to Nmap
Community. Contributor-submitted. Not every claim has been re-checked. Cross-check against the upstream documentation before relying on a command.
RustScan opens sockets aggressively to find listening ports quickly, then can invoke Nmap on just those ports for the detailed work. It is a discovery accelerator, not a replacement for Nmap's fingerprinting.
Supported platforms
7
Documented install or usage guidance
Learning curve
beginner
Difficulty of becoming productive, not of the underlying theory
Tags
port scanning, speed, nmap, batch
Dataset entry
rustscan.ts
Reviewed 2026-01-04
Grouped by platform. Elevation requirements are marked per method.
brew install rustscan
The project publishes distribution packages on its releases page; that is the documented install path.
Needs elevated privileges (sudo / Administrator).
sudo dpkg -i rustscan_*.deb
cargo install rustscan
Package availability follows your distribution and enabled repositories. Entry revised 4 Jan 2026 — confirm the current release on the project's own download page.
Every command carries its purpose, an example where useful, and the limitations that change how you should read the output.
Finds open TCP ports, then runs the supplied Nmap arguments against them.
rustscan -a 192.0.2.10 -- -sV -oA scans/rust-target
Notes
Controls the keyspace and how many sockets are attempted concurrently.
rustscan -a 192.0.2.10 -r 1-10000 --batch-size 2000
RustScan's docs call out the soft file-descriptor limit as the usual constraint.
ulimit -n 65535 && rustscan -a 192.0.2.10
Notes
Symptoms you will actually hit, with the cause and the legitimate fix.
Possible causes
Usual fix
Lower --batch-size or raise the session limit with `ulimit -n`.
ulimit -n 4096
Possible causes
Usual fix
Put all Nmap arguments after `--` and confirm `nmap -V` works in the same shell.
Where to verify anything on this page. External links open in a new tab.
Nmap, Masscan cover adjacent parts of the same job.