Naabu
Naabu is a fast port scanner written in Go that enumerates open ports on hosts reliably and simply. It performs SYN/CONNECT scans and lists responsive ports.
Description
Naabu is a port scanning tool designed for speed, reliability, and ease of use. It excels in scanning hosts or lists of hosts to identify open ports using SYN or CONNECT probes, making it lightweight on resources. Key features include automatic handling of duplicate hosts, NMAP integration for service discovery, and support for piped input/output in workflows.
Use cases include reconnaissance in penetration testing, network mapping, and vulnerability assessment where quick port enumeration is needed. It supports multiple input formats like HOST/IP/CIDR and various output formats such as JSON, CSV, or files, facilitating integration into larger scanning pipelines.
Naabu offers host discovery options, rate limiting, and optimizations like retries and timeouts, ensuring flexibility across different network environments. Additional capabilities include CDN detection and ProjectDiscovery cloud integration for result management.
How It Works
Naabu operates by sending SYN or CONNECT probes to specified ports on target hosts, listening for replies to identify open ports. It supports host discovery via TCP SYN/ACK, ICMP echo/timestamp/address-mask pings when enabled. Optimized for concurrency with configurable worker threads and packet rates, it handles DNS resolution for multiple IPs, excludes duplicates, and optionally verifies ports with TCP connect or integrates NMAP for service versioning. Rate limiting, retries, and timeouts ensure reliable operation across networks.
Installation
sudo apt install naabuFlags
Examples
naabu -hnaabu -host example.comnaabu -list hosts.txtnaabu -top-ports 1000naabu -host example.com -o results.txtnaabu -host example.com -jsonnaabu -sn