1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/naabu.md
Fazle Arefin 25d05351c7
naabu: add example (#12241)
* naabu: add example

* Update pages/common/naabu.md

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

---------

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2024-02-13 00:26:00 +11:00

33 lines
980 B
Markdown

# 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.
> More information: <https://github.com/projectdiscovery/naabu>.
- 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:
`naabu -interface-list`
- Scan all ports of the remote host (CONNECT scan without `sudo`):
`naabu -p - -host {{host}}`
- Scan the top 1000 ports of the remote host:
`naabu -top-ports 1000 -host {{host}}`
- Scan TCP ports 80, 443 and UDP port 53 of the remote host:
`naabu -p 80,443,u:53 -host {{host}}`
- Show CDN type the remote host is using, if any:
`naabu -p 80,443 -cdn -host {{host}}`
- Run `nmap` from `naabu` for additional functionalities (`nmap` must be installed):
`sudo naabu -v -host {{host}} -nmap-cli 'nmap {{-v -T5 -sC}}'`