What it is
RustScan is the modern port scanner: it finds open ports fast — all 65,535 TCP ports in about 3 seconds at its fastest — then automatically pipes the open ports into Nmap for service detection. It is a front end for Nmap, not a replacement for it, and it tunes itself to the host as it scans. It takes IPv6, CIDR ranges and file input, and its scripting engine runs Python, Lua or shell scripts on what it finds.
It sits next to NetCrash in our Tools section on purpose: NetCrash is our own scanner, written in Python with no dependencies. RustScan is the established, faster, community-proven one, written in Rust. Same job, two tools — pick the one that fits.
Install
Install it with a package manager where you can — the project only officially supports Cargo installs, and binaries are on the releases page:
cargo install rustscan
# macOS:
brew install rustscan
# Arch Linux:
pacman -S rustscanUsage
One address is enough to start. Anything after -- is passed straight to Nmap:
rustscan -a 127.0.0.1
rustscan -a example.com -- -A -sCThe second command scans, then runs Nmap with OS detection and default scripts on the open ports it found. Run rustscan --help for every flag.
