2024-02-07 17:07:19 +11:00
|
|
|
# naabu
|
|
|
|
|
|
|
|
> A fast port scanner written in Go with a focus on reliability and simplicity.
|
|
|
|
> Note: Some features are only activated when `naabu` is run with root privileges such as SYN scan.
|
2025-05-04 01:49:24 +10:00
|
|
|
> More information: <https://docs.projectdiscovery.io/tools/naabu/running>.
|
2024-02-07 17:07:19 +11:00
|
|
|
|
|
|
|
- Run a SYN scan against default (top 100) ports of remote host:
|
|
|
|
|
|
|
|
`sudo naabu -host {{host}}`
|
|
|
|
|
|
|
|
- Display available network interfaces and public IP address of the local host:
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`naabu {{[-il|-interface-list]}}`
|
2024-02-07 17:07:19 +11:00
|
|
|
|
|
|
|
- Scan all ports of the remote host (CONNECT scan without `sudo`):
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`naabu {{[-p|-port]}} - -host {{host}}`
|
2024-02-07 17:07:19 +11:00
|
|
|
|
|
|
|
- Scan the top 1000 ports of the remote host:
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`naabu {{[-tp|-top-ports]}} 1000 -host {{host}}`
|
2024-02-07 17:07:19 +11:00
|
|
|
|
2024-02-08 18:49:30 -03:00
|
|
|
- Scan TCP ports 80, 443 and UDP port 53 of the remote host:
|
2024-02-07 17:07:19 +11:00
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`naabu {{[-p|-port]}} 80,443,u:53 -host {{host}}`
|
2024-02-07 17:07:19 +11:00
|
|
|
|
|
|
|
- Show CDN type the remote host is using, if any:
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`naabu {{[-p|-port]}} 80,443 -cdn -host {{host}}`
|
2024-02-13 00:26:00 +11:00
|
|
|
|
|
|
|
- Run `nmap` from `naabu` for additional functionalities (`nmap` must be installed):
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`sudo naabu {{[-v|-verbose]}} -host {{host}} -nmap-cli 'nmap {{-v -T5 -sC}}'`
|