Linux command
rustscan 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Scan target
rustscan -a [target]
Scan with port range
rustscan -a [target] -r [1-1000]
Scan multiple targets
rustscan -a [target1],[target2]
Pipe to nmap
rustscan -a [target] -- -sV -sC
Set batch size
rustscan -a [target] -b [1000]
Scan specific ports
rustscan -a [target] -p [22,80,443]
Increase timeout
rustscan -a [target] --timeout [3000]
说明
rustscan is a fast port scanner written in Rust. It finds open ports quickly, then optionally passes to nmap. Asynchronous scanning achieves high speed. All 65535 ports scanned in seconds. Nmap integration provides deep analysis. RustScan finds ports, nmap analyzes services. Batch size controls aggressiveness. Higher values faster but may miss ports. Adaptive learning adjusts to network conditions. Avoids overwhelming targets.
参数
- -a, --addresses _TARGETS_
- Target addresses.
- -p, --ports _PORTS_
- Specific ports.
- -r, --range _RANGE_
- Port range.
- -b, --batch-size _N_
- Concurrent connections.
- --timeout _MS_
- Connection timeout.
- -u, --ulimit _N_
- File descriptor limit.
- -- _ARGS_
- Pass to nmap.
- -g, --greppable
- Greppable output.
FAQ
What is the rustscan command used for?
rustscan is a fast port scanner written in Rust. It finds open ports quickly, then optionally passes to nmap. Asynchronous scanning achieves high speed. All 65535 ports scanned in seconds. Nmap integration provides deep analysis. RustScan finds ports, nmap analyzes services. Batch size controls aggressiveness. Higher values faster but may miss ports. Adaptive learning adjusts to network conditions. Avoids overwhelming targets.
How do I run a basic rustscan example?
Run `rustscan -a [target]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a, --addresses _TARGETS_ do in rustscan?
Target addresses.