Naabu
github.com
What it is
Naabu is a free, open-source command-line port scanner for identifying valid ports on hosts, with SYN, CONNECT, and UDP probes. It accepts hosts, IP addresses, CIDR ranges, and ASNs directly, from a file, or through standard input. Results can be emitted as JSON, CSV, text, or standard output. It supports IPv4 and experimental IPv6 scanning, DNS port scans, passive enumeration through Shodan InternetDB, and experimental host discovery. Naabu can work with Nmap for service discovery and version detection, and discovered ports can be piped to ProjectDiscovery's httpx to identify running HTTP servers. The CLI can upload or display scan results in the ProjectDiscovery Cloud dashboard. Installation options include ready-to-run binaries, Docker, and Go. Packet capture requires libpcap on Linux or macOS, or Npcap on Windows. Service version detection needs a local Nmap service-probe database or a custom path. The README recommends running as root for best results and adjusting scan flags and rate on local systems.
Spec sheet
- Purpose
- Naabu is a Go port scanner that enumerates valid ports on hosts quickly and reliably.Read 2 Oct 2026 · github.com
- Intended users
- The README describes Naabu as designed to work with other tools for attack surface discovery in bug bounties and penetration tests.Read 2 Oct 2026 · github.com
- Audience
- ProjectDiscovery describes Naabu as designed for attack-surface discovery in bug-bounty work and penetration tests.Read 1 Oct 2026 · github.com
- Integrations
- It integrates with Nmap for service discovery and can pipe discovered ports to ProjectDiscovery's httpx tool.Read 2 Oct 2026 · github.com
- Support
- The repository links to the ProjectDiscovery Discord community.Read 2 Oct 2026 · github.com
- CDN and WAF exclusion
- CDN/WAF exclusion can limit scans to ports 80 and 443 for supported Cloudflare, Akamai, Incapsula, and Sucuri IPs.Read 1 Oct 2026 · github.com
- Cloud dashboard
- The CLI can upload or display scan output in the ProjectDiscovery Cloud dashboard and can associate results with team and asset IDs.Read 1 Oct 2026 · github.com
- Cloud integration
- CLI options can upload or view scan output in the ProjectDiscovery Cloud dashboard.Read 2 Oct 2026 · github.com
- Discovery
- Features include DNS port scanning, experimental host discovery, IPv4/IPv6 scanning and passive port enumeration using Shodan InternetDB.Read 2 Oct 2026 · github.com
- Host discovery
- Host discovery scanning is available and marked experimental.Read 1 Oct 2026 · github.com
- Host inputs
- Inputs can include hosts, IPs, CIDRs and ASNs, supplied directly, from a file or through standard input.Read 2 Oct 2026 · github.com
- Inputs
- It accepts STDIN, hosts, IPs, CIDRs, and ASNs as scan inputs.Read 1 Oct 2026 · github.com
- Installation
- The maker provides ready-to-run binaries, Docker installation, and Go installation.Read 1 Oct 2026 · github.com
- Installation requirement
- The installation instructions require libpcap for packet capture; they name Linux, macOS and Windows installation options.Read 2 Oct 2026 · github.com
- IPv4 and IPv6
- IPv4 and IPv6 port scanning is supported, with IPv6 marked experimental in the feature list.Read 1 Oct 2026 · github.com
- Nmap integration
- Naabu integrates with Nmap for service discovery and additional scans.Read 1 Oct 2026 · github.com
- Operational requirement
- The README recommends running Naabu as root for best results and tuning flags and scan rate on local systems.Read 1 Oct 2026 · github.com
- Output formats
- It supports JSON, CSV, text and standard output.Read 2 Oct 2026 · github.com
- Outputs
- It supports JSON, TXT, and standard-output formats.Read 1 Oct 2026 · github.com
- Passive enumeration
- Passive port enumeration can use Shodan InternetDB.Read 1 Oct 2026 · github.com
- Pipeline integration
- Discovered ports can be piped to httpx to identify running HTTP servers.Read 1 Oct 2026 · github.com
- Platform prerequisites
- Packet capture requires libpcap on Linux and macOS or Npcap on Windows.Read 1 Oct 2026 · github.com
- Safety notice
- The Naabu README says users are responsible for their actions and that developers assume no liability for misuse or damage.Read 1 Oct 2026 · github.com
- Scan types
- It supports SYN, CONNECT and UDP scans.Read 2 Oct 2026 · github.com
- Scanning
- It supports fast SYN, CONNECT, and UDP probe-based scanning.Read 1 Oct 2026 · github.com
- Security notice
- The README warns users that they are responsible for their actions and that developers assume no liability for misuse or damage.Read 2 Oct 2026 · github.com
- Service detection
- Naabu can identify services by port and detect service versions using Nmap service probes.Read 2 Oct 2026 · github.com
- Service probe limit
- Naabu does not include the Nmap service probe database, so service version detection requires that database from a local Nmap installation or a custom path.Read 2 Oct 2026 · github.com
Plans and prices
Strong points and limits
Strong points
- Offers SYN, CONNECT, and UDP scans.
- Accepts hosts, CIDRs, and ASNs as inputs.
- Can integrate with Nmap and httpx.
- Provides binaries, Docker, and Go installation options.
Limits
- IPv6 scanning is marked experimental.
- Host discovery is marked experimental.
- Packet capture requires libpcap or Npcap.
- Service version detection needs an Nmap probe database.
Who it suits
Naabu is intended for attack-surface discovery in bug-bounty work and penetration tests. It suits users who want a command-line scanner that can feed results into other tools.
Naabu in depth
Read the full write-up
Overview
Naabu is a command-line port scanner for operators who need to find exposed ports across hosts, networks, and ASNs as part of a broader security workflow. It is a strong fit for bug-bounty and penetration-testing work; its main trade-off is that effective packet capture and service-version checks bring extra setup.
Key features
Scanning and target input
Naabu supports SYN, CONNECT, and UDP probe-based scans, plus DNS port scanning. Targets can be entered directly, read from a file, or passed through standard input, and can include hosts, IP addresses, CIDR ranges, and ASNs. That range of input and scan methods suits scripted discovery better than a workflow centered on a graphical interface.
Discovery and service details
IPv4 scanning is supported; IPv6 scanning and host discovery are experimental, so they are less dependable choices for a workflow that requires mature support for those functions. Passive enumeration can use Shodan InternetDB. Naabu can identify services by port and integrate with Nmap for service discovery and additional scans, but version detection requires an Nmap service-probe database installed locally or supplied through a custom path.
Output and integrations
Results can be emitted as JSON, CSV, text, or standard output. Discovered ports can be piped to ProjectDiscovery's httpx to identify running HTTP servers, making Naabu useful as one stage in a command-line pipeline. The CLI can also upload or display results in the ProjectDiscovery Cloud dashboard and associate them with team and asset IDs.
CDN/WAF exclusion can restrict scanning to ports 80 and 443 for supported Cloudflare, Akamai, Incapsula, and Sucuri IPs. This is a targeted safeguard, not a general-purpose substitute for defining authorized scan scope.
Pricing
Naabu is open source under the MIT license. Its Open source plan costs nothing and includes the port-scanning tool; there is no paid tier to choose among. It is a CLI deployment with internet scan scope and API access, and supports JSON, CSV, TXT, and STDOUT exports.
For packet-capture scans, install libpcap on Linux or macOS, or Npcap on Windows. The maker provides ready-to-run binaries, Docker installation, and Go installation. The README recommends running as root for best results and tuning flags and scan rate on local systems, which makes setup and operating discipline part of the cost of using a free tool. Nmap's service-probe database is an additional prerequisite for version detection.
Platforms
Naabu is available for Linux, macOS, and Windows, and is self-hosted rather than a hosted scanning application. It is also categorized for API use. ProjectDiscovery directs users to GitHub and Discord for help with its open-source tools.
Who it's for
Naabu suits security practitioners who need port discovery as part of attack-surface mapping, bug-bounty work, or penetration tests, especially those already comfortable connecting command-line tools into a pipeline. It is less suitable for readers who want a graphical scanner or a ready-made service-version database without installing and maintaining that dependency. Scan only systems you are authorized to assess; the project places responsibility for use on the user and disclaims liability for misuse or damage.
Pros and cons
Pros: Multiple probe methods and flexible host, IP, CIDR, and ASN inputs support varied discovery workflows.
Pros: JSON, CSV, text, and standard output, plus httpx and Nmap integration, make results useful in subsequent tooling.
Pros: Free, MIT-licensed software with binary, Docker, and Go installation options.
Cons: Packet capture needs a platform-specific dependency, and best results may require root privileges and scan-rate tuning.
Cons: IPv6 and host discovery are experimental, while service-version detection depends on a separate Nmap database.
Alternatives
Port Scanner Software is the broader category directory for comparing scanners.
Nmap is another free scanner for Linux, macOS, Windows, and self-hosting; choose it when you want its own service-probe database workflow rather than Naabu's port-discovery pipeline.
ScanSearch offers a web and API-based internet scanner with paid per-kpps pricing, unlimited results per scan, full CSV/JSON export, and a queue of up to 10 scans; choose it for that hosted scanning and export model.
Pentest-Tools Port Scanner offers web and API access, with a free tier for open-port and service discovery and a NetSec plan starting at $95 a month; choose it when a web-based option better fits the workflow.
RustScan is a free, open-source port scanner; consider it as another free scanner.
NetsCLI is a free, MIT-licensed option for Linux, macOS, and Windows; consider it as another command-line alternative.
Masscan is free software under the GNU Affero General Public License v3; consider it as another open-source scanner.
Unicornscan is GPL software available as downloadable packages and source; consider it as another free option.
Angry IP Scanner is free and open source under GPLv2, for Linux, macOS, and Windows; consider it as another platform-spanning option.
Verdict
Choose Naabu if you want a free, scriptable port scanner that can feed results into an attack-surface discovery pipeline. Look elsewhere if you need experimental IPv6 or host-discovery features to be dependable, or want service-version detection without supplying Nmap's probe database.
Verdict
Naabu supports several scan methods and input types, with output that can feed other tools. Account for its packet-capture prerequisites and the additional database needed for service-version detection.
Where Specifiction places it
- Port Scanner Software#1 of 268.8