Description
RustScan is a modern, blazingly fast port scanner that can scan all 65535 ports in under 3 seconds. It automatically pipes results into Nmap for service detection, combining speed with accuracy.
Installation
BASH
# Using Cargo
cargo install rustscan
# Using Docker
docker pull rustscan/rustscan:latest
# Debian
wget https://github.com/RustScan/RustScan/releases/latest/download/rustscan_amd64.deb
sudo dpkg -i rustscan_amd64.deb
Basic Usage
BASH
# Scan all ports
rustscan -a target.com
# Scan specific ports
rustscan -a target.com -p 80,443,8080
# Range scan
rustscan -a target.com -r 1-1000
Advanced Usage
BASH
# Pipe to Nmap
rustscan -a target.com -- -sV -sC
# Set batch size
rustscan -a target.com -b 5000
# Multiple targets
rustscan -a target1.com,target2.com
# Custom timeout
rustscan -a target.com -t 2000
# Quiet mode
rustscan -a target.com --greppable
Common Workflows
BASH
# Full scan with Nmap integration
rustscan -a target.com -- -A -oA rustscan-results
# Quick port discovery
rustscan -a target.com -b 10000 --greppable | grep "Open"