Linux command
naabu 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Scan target for open ports
naabu -host [example.com]
Scan specific ports
naabu -host [example.com] -p [80,443,8080]
Scan port range
naabu -host [example.com] -p [1-1000]
Scan top ports
naabu -host [example.com] -top-ports [100]
Scan from file
naabu -list [targets.txt]
Output to file
naabu -host [example.com] -o [results.txt]
Scan with rate limit
naabu -host [example.com] -rate [1000]
JSON output
naabu -host [example.com] -json
说明
naabu is a fast port scanner written in Go. It uses SYN scanning for speed while maintaining accuracy through verification. The scanner optimizes for speed with configurable rate limiting. It can scan thousands of hosts quickly while respecting network constraints. Top ports mode scans the most commonly open ports, focusing resources on likely targets. Custom port lists target specific services. Nmap integration hands off discovered ports for service detection. This combines naabu's speed with nmap's detailed fingerprinting. Output formats include plain text, JSON, and nmap-compatible results. Integration with other security tools is straightforward. The tool is designed for security professionals performing authorized assessments.
参数
- -host _TARGET_
- Target to scan.
- -list _FILE_
- File with targets.
- -p _PORTS_
- Ports to scan.
- -top-ports _N_
- Scan top N ports.
- -exclude-ports _PORTS_
- Ports to exclude.
- -o _FILE_
- Output file.
- -json
- JSON output.
- -rate _N_
- Packets per second.
- -c _N_
- Concurrent hosts.
- -timeout _MS_
- Timeout in milliseconds.
- -retries _N_
- Retry count.
- -verify
- Verify open ports.
- -nmap
- Run nmap on discovered ports.
- -silent
- Silent mode.
- -v
- Verbose output.
FAQ
What is the naabu command used for?
naabu is a fast port scanner written in Go. It uses SYN scanning for speed while maintaining accuracy through verification. The scanner optimizes for speed with configurable rate limiting. It can scan thousands of hosts quickly while respecting network constraints. Top ports mode scans the most commonly open ports, focusing resources on likely targets. Custom port lists target specific services. Nmap integration hands off discovered ports for service detection. This combines naabu's speed with nmap's detailed fingerprinting. Output formats include plain text, JSON, and nmap-compatible results. Integration with other security tools is straightforward. The tool is designed for security professionals performing authorized assessments.
How do I run a basic naabu example?
Run `naabu -host [example.com]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -host _TARGET_ do in naabu?
Target to scan.