Lightning-fast port scanner written in Rust that integrates seamlessly with Nmap for comprehensive enumeration. Use RustScan for rapid initial port discovery, then pipe results to Nmap for detailed service detection and vulnerability scanning.
Quick Reference
# Fast scan with Nmap integration rustscan -a 10.10.10.10 -- -sC -sV
# Port discovery only (no Nmap) rustscan -a 10.10.10.10 -n
# Full port scan with Nmap scripts rustscan -a 10.10.10.10 -p 1-65535 -- -sC -sV -oA full_scan
Basic Usage
# Scan top 5000 TCP ports rustscan -a 192.168.1.1
# Scan specific target rustscan -a 10.10.10.10
# Scan hostname rustscan -a example.com
Specific Port Scanning
# Single port rustscan -a 10.10.10.10 -p 22
# Multiple ports rustscan -a 10.10.10.10 -p 21,22,80,443
# Port range rustscan -a 10.10.10.10 -p 1-1000
# All ports rustscan -a 10.10.10.10 -p 1-65535
Nmap Integration
# Pass options to Nmap (most common usage) rustscan -a 10.10.10.10 -- -sC -sV
# Aggressive scan with OS detection rustscan -a 10.10.10.10 -- -A
# Full port scan with Nmap scripts rustscan -a 192.168.1.100 -- -sC -sV -oN scan.txt
# Vulnerability scanning rustscan -a 10.10.10.10 -- --script vuln