Naabu

naabu

Sameh1200 Updated

File contents

naabu

Repo

https://github.com/projectdiscovery/naabu

Installation

go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest
sudo apt install libpcap-dev

Using

# Top ports
naabu -list hosts.txt -top-ports 1000 -o ports.txt

# Full range
naabu -list hosts.txt -p - -o allports.txt

# Hand off to nmap
naabu -list hosts.txt -nmap-cli 'nmap -sV -sC'

# Silent
naabu -host target.com -silent -top-ports 100

Real-time usage (typical)

Scope Duration Notes
Single host top 100 < 10 s
100 hosts top 1000 1 – 5 min
Full port range single IP 1 – 10 min rate dependent
Large host list scale linearly use -rate

Faster than nmap for discovery; hand off interesting hosts to nmap for version detection.

Current Step

Fast port scanning on resolved hosts.

Next Step

Feed open ports to nmap for service detection or httpx for web ports.

Errors Fixes

  • Permission denied → run with sudo for raw scans or use connect mode
  • libpcap missing → install libpcap-dev
  • Rate limit → -rate 1000
  • No results → confirm hosts are up

Sameh1200/HajrasSkillsToolsMCP/tree/main/skills/naabu commit e6f238e2c0

Frequently asked questions

npx skillmds@latest add sameh1200/naabu-2