Naabu is a fast port scanning tool used for reconnaissance. It helps identify open TCP ports on domains and IP addresses and is commonly used before deeper web or network testing.
Installation
Update Termux and install required packages:
pkg update && pkg upgrade && pkg install git golang -yClone the official Naabu GitHub repository:
git clone https://github.com/projectdiscovery/naabu.gitMove into the Naabu directory:
cd naabu/cmd/naabuBuild Naabu from source:
go buildRun Naabu:
./naabu --help(Optional) Make Naabu globally accessible:
mv naabu $PREFIX/binNow you can run it from anywhere:
naabu --helpUsage Commands
Scan common ports of a domain:
naabu -host example.comScan an IP address:
naabu -host 192.168.1.1Scan multiple targets from a file:
naabu -list targets.txtScan specific ports:
naabu -host example.com -p 80,443,8080Scan top 1000 ports:
naabu -host example.com -top-ports 1000Save output to a file:
naabu -host example.com -o open-ports.txtSilent mode (clean output):
naabu -host example.com -silent