Information Gathering
RustScan is a modern, high-speed port scanner built in Rust that can find all open ports within seconds and automatically pipes them directly into Nmap for deeper script processing.
sudo apt install rustscan
rustscan -a <target> [options]
RustScan is a modern port scanner written in Rust that combines extreme speed with automatic Nmap integration. It can scan all 65,535 ports on a target in seconds and seamlessly pipe the discovered open ports into Nmap for detailed service detection.
Created in 2020, RustScan was designed to solve the speed problem of traditional port scanners while maintaining compatibility with the industry-standard Nmap tool. Its adaptive learning system adjusts to network conditions for optimal performance.
The tool's philosophy is simple: find ports fast with RustScan, analyze them deep with Nmap. This workflow combines RustScan's speed with Nmap's comprehensive service detection, OS fingerprinting, and scripting capabilities.
| Command | Purpose |
|---|---|
rustscan -V | Display the RustScan version. |
rustscan -a 127.0.0.1 -p 22,80,443 --scripts none | Scan selected local ports without Nmap handoff. |
rustscan -a 127.0.0.1 -r 1-1024 --scripts none | Scan a local port range. |
rustscan -a 127.0.0.1 -b 500 -t 2000 --scripts none | Use a smaller batch and two-second timeout. |
rustscan -a 192.168.1.1 --range 1-65535Full port sweep - Identify all active target endpoints within seconds using high-concurrency worker blocksrustscan -a 192.168.1.1Basic scanrustscan -a 192.168.1.1 -- -sVWith Nmap version scanrustscan -a 192.168.1.1 -b 1000Batch size limitrustscan -a 192.168.1.1 -p 22,80,443Specific portsrustscan -a 192.168.1.100Quick port scan with default settingsrustscan -a 192.168.1.100 -- -sVPass flags to nmap for version detectionrustscan -a 192.168.1.100 -b 500Set batch size to 500rustscan -a 192.168.1.100 --no-nmapDisable nmap handoffrustscan -a 192.168.1.100 -p 80,443,8080Scan specific portsrustscan -a 192.168.1.100 -u 5000Set UDP timeout to 5000msrustscan -a 192.168.1.100 --greppableGrep-friendly outputrustscan -a 192.168.1.100 -w 15001500ms wait between scansrustscan -a 192.168.1.100 --rangeScan port rangerustscan -a 192.168.1.100 --accessibleAccessible output moderustscan -a 192.168.1.100 -b 100 -- -sS -T4Slow batch with aggressive nmaprustscan -a 192.168.1.0/24 --topScan subnet top portsrustscan -a 192.168.1.100 --no-resolveSkip DNS resolutionFind all open ports on a target in seconds using Rust's concurrency.
Automatically pipe discovered ports into Nmap for service detection.
Scan small to medium networks rapidly for initial reconnaissance.
Integrate into automated reconnaissance pipelines.
Information Gathering
Learn how to use Nmap, the free open-source network scanner: run your first port scan, discover live hosts, detect services and operating systems, and check for vulnerabilities with NSE scripts — a beginner tutorial for Kali Linux.
Information Gathering
Masscan is an internet-scale port scanner. It can scan the entire Internet in under 6 minutes, transmitting up to 10 million packets per second utilizing asynchronous transmit setups.
Information Gathering
Learn how to use Enum4linux to enumerate Windows and Samba systems over SMB: install it on Kali Linux, run your first scan, read the users, shares, groups and password policy it returns, and switch to enum4linux-ng for modern hosts that block null sessions.
Information Gathering
Learn how to use SMBClient on Kali Linux: install Samba's FTP-like SMB/CIFS client, list shares, connect as a guest or with credentials, browse folders, and upload or download files on Windows, Samba, or NAS devices. For authorized assessments, check ports 139/445 with Nmap before testing share permissions.
Information Gathering
ldapsearch is a shell-accessible interface to the ldap_search_ext library function, designed to open active queries against corporate Active Directory database frameworks.
Information Gathering
Netdiscover is an active/passive ARP reconnaissance tool for discovering live hosts on a network. It sends ARP requests and listens for responses to identify devices, IP addresses, MAC addresses, and vendor information without performing port scans.
Learn Nmap from scratch covering host discovery, port scanning, service detection, NSE scripts, and practical examples.
Tools · BeginnerA beginner-friendly guide to network scanning with Nmap covering host discovery, port scanning techniques, service detection, and practical scanning examples.
Networking · BeginnerLearn about network ports, their numbering system, common protocols at each layer, how services use ports, and security implications.
OSINT · IntermediateLearn a complete reconnaissance workflow combining OSINT, DNS enumeration, subdomain discovery, and active scanning for comprehensive target profiling.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.