Naabu

Terminal Guide & Documentation

Naabu in Termux: Installation & Usage

Naabu is a remarkably fast and reliable port scanner written in Go by the team at ProjectDiscovery. It is designed to perform reconnaissance on large networks quickly and efficiently, making it an essential tool for penetration testers and security researchers working in Termux.

Prerequisites

To build Naabu from source, you need to have the Go programming language installed in your Termux environment.

TERMINAL PRE-REQ
pkg update && pkg upgrade -y
pkg install git golang -y

Installation Commands

Follow these steps to clone the repository and build the Naabu binary.

1. Clone the Repository

TERMINAL CLONE
git clone https://github.com/projectdiscovery/naabu.git

2. Build from Source

TERMINAL BUILD
cd naabu/cmd/naabu
go build

3. Install Globally

Move the compiled binary to your bin folder to make it accessible from anywhere.

TERMINAL INSTALL
mv naabu $PREFIX/bin

Basic Scanning Commands

Naabu is highly flexible. Here are some of the most common ways to use it:

Scan a Single Host

TERMINAL SCAN
naabu -host example.com

Scan Specific Ports

TERMINAL PORTS
naabu -host example.com -p 80,443,8080

Scan Top 1000 Ports

TERMINAL TOP PORTS
naabu -host example.com -top-ports 1000

Silent Mode

Use silent mode for clean output, ideal for piping into other tools.

TERMINAL SILENT
naabu -host example.com -silent

Explore More Tools

Nmap

Powerful network discovery and security auditing.

WAFW00F

Identify Web Application Firewalls (WAF).

Cool Commands

Visual and fun terminal commands for Termux.