RustScan
✨ Features
Section titled “✨ Features”- Scans all 65k ports in 3 seconds.
- Full scripting engine support. Automatically pipe results into Nmap, or use our scripts (or write your own) to do whatever you want.
- Adaptive learning. RustScan improves the more you use it. No bloated machine learning here, just basic maths.
- The usuals you would expect. IPv6, CIDR, file input and more.
- Automatically pipes ports into Nmap.
Installation
Section titled “Installation”brew install rustscanDefault Scan
Section titled “Default Scan”# Simple Scanrustscan -a $DOMAIN
# Increase speed with ulimit (can cause rejection of host)rustscan -a $DOMAIN --ulimit 5000
# Specify portrustscan -a $DOMAIN -p 443
# Multiple portsrustscan -a $DOMAIN -p 443,80,3306,9000,8080
# External list of hostsrustscan -a 'hosts.txt'
# Range of portsrustscan -a $DOMAIN --range 1-1000
# Scan networkrustscan -a 192.168.0.0/24Advanced Scan
Section titled “Advanced Scan”# Pass custom Nmap arguments (everything after '--' is passed to Nmap)rustscan -a $DOMAIN -- -A -sC
# Adjust batch size (maximum number of concurrent sockets)rustscan -a $DOMAIN --batch-size 4500
# Specify scan timeout in millisecondsrustscan -a $DOMAIN --timeout 1500
# Top ports scan (scans top 1000 ports)rustscan -a $DOMAIN --topScripts
Section titled “Scripts”# Run a custom script against open portsrustscan -a $DOMAIN --script "custom-script.sh"
# Run built-in scripting commands (like piping to a custom web scanner)rustscan -a $DOMAIN -s "gobuster"