Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Naabu

github.com

  • Free plan
  • Windows
  • macOS
  • Linux
  • API
  • Self-hosted
7.9 Club score Visit github.com

What Naabu is

Naabu is a free, open-source command-line port scanner for finding valid ports on hosts. It probes with SYN, CONNECT, and UDP scans, and accepts hosts, IP addresses, CIDR ranges, and ASNs as input, whether supplied directly, from a file, or through standard input. Results can be written as JSON, CSV, text, or standard output. Naabu supports IPv4 and experimental IPv6 scanning, DNS port scans, passive port enumeration through Shodan InternetDB, and experimental host discovery. It can work with Nmap for service discovery and service-version detection, and discovered ports can be piped to ProjectDiscovery’s httpx to identify running HTTP servers. The command-line tool can also upload or display 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. ProjectDiscovery describes Naabu for attack-surface discovery in bug-bounty work and penetration tests.

Who it suits

Naabu suits security practitioners doing attack-surface discovery for bug bounties or penetration tests, especially when they want to pass results to other tools. Its command-line operation and packet-capture prerequisites may require some setup.

Good to know, and what to watch

  • Accepts hosts, IPs, CIDRs, and ASNs as input.
  • Offers SYN, CONNECT, and UDP scans.
  • Supports JSON, CSV, text, and standard output.
  • Integrates with Nmap and ProjectDiscovery’s httpx.
  • Free, open-source tool with ready-to-run binaries.
  • IPv6 scanning and host discovery are experimental.
  • Packet capture requires libpcap or Npcap.
  • Service-version detection needs an Nmap probe database.
  • README recommends root access for best results.

Open source

Free

Free plan

Getting started

  1. Open the Naabu GitHub repository
  2. Install a ready-to-run binary, Docker package, or Go version
  3. Install libpcap on Linux or macOS, or Npcap on Windows
  4. Provide hosts, IPs, CIDRs, or ASNs directly, from a file, or through standard input
  5. Run the desired SYN, CONNECT, or UDP scan
  6. Pipe discovered ports to httpx or use Nmap integration

Limits to check

Naabu is free, but packet capture requires libpcap on Linux and macOS or Npcap on Windows. Service-version detection requires a local Nmap service-probe database or a custom database path; IPv6 scanning and host discovery are experimental.

The Club's review

Naabu is ProjectDiscovery’s command-line port scanner for security and attack-surface work. It suits penetration testers, bug-bounty practitioners and IT operators who build scripted discovery pipelines rather than use a graphical scanner. Its broad scan inputs and output options are useful, but some advanced results depend on local prerequisites and companion tools.

Overview

Naabu probes hosts for valid ports with SYN, CONNECT and UDP methods, including DNS port scanning. Targets may be individual hosts or IP addresses, CIDR ranges and ASNs, entered directly, read from a file or streamed through standard input. That range makes it practical for both a single assessment and a larger internet-facing inventory.

This is a CLI deployment, not a desktop interface. Results can be emitted as JSON, CSV, TXT or standard output, making them straightforward to archive or pass to another command. A common ProjectDiscovery workflow pipes discovered ports to httpx to identify HTTP servers. Naabu can also upload or display results in the ProjectDiscovery Cloud dashboard and attach team and asset IDs.

Use it only against systems you are authorized to assess. ProjectDiscovery’s README places responsibility for activity on the user and disclaims liability for misuse or damage.

Key features

Several probing strategies

Fast SYN probing is useful when packet-level access is available, while CONNECT scanning offers a different approach for environments where raw packets are restricted. UDP support extends coverage beyond the usual TCP checks, although UDP assessment can require more operational care. Having all three in one CLI lets an operator match the method to the target and network conditions instead of maintaining separate scanners.

Discovery beyond a basic port list

IPv4 scanning is supported for normal production use. IPv6 scanning and host-discovery scanning are marked experimental, so they are better treated as supplemental capabilities than as the sole basis for an inventory. Passive port enumeration through Shodan InternetDB can add a source of known exposure without actively probing every port.

Service identification and pipeline integration

Naabu integrates with Nmap for service discovery and additional scans. It can identify services by port and perform service-version detection with Nmap service probes. The Nmap service-probe database is not bundled, so version detection requires a local Nmap installation or a custom database path. That dependency matters to teams expecting a self-contained binary.

Scope controls and output

CDN/WAF exclusion can restrict scans to ports 80 and 443 for supported Cloudflare, Akamai, Incapsula and Sucuri addresses, reducing unnecessary probing of those edge networks. JSON, CSV, text and standard-output formats cover machine processing and human review, while cloud options support teams that want results associated with shared assets.

Installation and operation

ProjectDiscovery supplies ready-to-run binaries and documents Docker and Go installation. Packet capture requires libpcap on Linux and macOS or Npcap on Windows. The README recommends running as root for best results and tuning flags and scan rate on local systems, so administrators should plan permissions and rate controls before deployment.

Pricing

PlanPriceWhat it includes
Open sourceFreeMIT-licensed port-scanning tool

Naabu is free, with no paid tier or seat charge stated. That makes it a strong fit for individual researchers and teams able to operate their own CLI infrastructure. The trade-off is operational: you provide the host environment, packet-capture dependency and, for service-version detection, the Nmap probe database. Cloud dashboard use is exposed through CLI options, but no separate dashboard price or quota is given.

Platforms

Naabu is listed for API, Linux, macOS, self-hosted deployments and Windows. Linux and macOS packet capture use libpcap; Windows uses Npcap. Binaries, Docker and Go installation give teams several ways to place it into existing build or assessment environments.

Who it's for

Choose Naabu if you run authorized penetration tests, bug-bounty reconnaissance or internal attack-surface programs and want port findings to feed other command-line tools. Its ASN, CIDR and STDIN support is particularly useful for repeatable, large-scope jobs. It is less suitable for users seeking a guided graphical workflow or a scanner that includes every service-detection database out of the box.

Pros and cons

Pros

  • Flexible target intake: hosts, IPs, CIDRs, ASNs, files and STDIN fit both ad-hoc and automated scans.
  • Multiple scan modes: SYN, CONNECT and UDP probing broaden coverage across network conditions.
  • Pipeline-ready exports: JSON, CSV, TXT and standard output can feed scripts and httpx.
  • Useful ecosystem links: Nmap, Shodan InternetDB and ProjectDiscovery Cloud extend discovery and reporting.
  • No license cost: the MIT-licensed plan is free for self-hosted use.

Cons

  • Not self-contained for version detection: Nmap’s service-probe database must be supplied separately.
  • Operational setup is technical: packet capture, root privileges and local rate tuning require administrator attention.
  • Some coverage is experimental: IPv6 and host discovery should not be treated as mature replacements for established workflows.
  • CLI-first experience: users wanting a graphical scanner must look elsewhere.

Alternatives

Nmap is the better choice when you want a long-established free scanner with service discovery and broad platform support, including Linux, macOS, self-hosted and Windows. Its free end-user license is free, although redistribution inside commercial software or hardware products is excluded.

ScanSearch suits teams wanting an API and web-accessible internet scanner with a paid Internet Scanner plan at $0.30 a month, billed per kpps/month, including unlimited results per scan, CSV/JSON export and up to 10 queued scans.

Pentest-Tools Port Scanner is an option for a web-based workflow, with a free plan for open-port and service discovery and a NetSec plan starting at $95 a month.

RustScan is another free, open-source port scanner for Android, Linux, macOS, self-hosted and Windows.

NetsCLI is a free MIT-licensed option for Linux, macOS and Windows.

Angry IP Scanner is a free GPLv2 scanner for Linux, macOS and Windows.

Masscan is free software under the GNU Affero General Public License v3 for Linux, macOS, self-hosted and Windows.

Verdict

Naabu is a strong choice for security professionals who need a free, scriptable scanner that can accept broad target scopes and feed findings into a wider ProjectDiscovery or Nmap workflow. Look elsewhere if you need a graphical experience, mature IPv6 or host discovery as a primary capability, or service-version detection without installing Nmap’s probe database.

The verdict

Naabu covers several port-scanning approaches and offers ways to feed findings into a wider discovery workflow. Account for its capture prerequisites and the separate Nmap probe database needed for service-version detection.

Questions people ask

What does Naabu cost?

Naabu is free and offered as an MIT-licensed open-source tool.

Which operating systems and deployment options are supported?

It lists Linux, macOS, Windows, API, and self-hosted environments, with CLI installation through binaries, Docker, or Go.

What scan types are available?

Naabu supports SYN, CONNECT, and UDP scans, plus DNS port scanning.

Can Naabu scan IPv6?

Yes. IPv4 and IPv6 scanning are supported, with IPv6 marked experimental.

How can results be exported or used elsewhere?

Results can use JSON, CSV, TXT, or standard output, and discovered ports can be piped to httpx or integrated with Nmap.

Does Naabu include service-version probes?

Service-version detection uses Nmap service probes, requiring a local Nmap database or a custom path.

What the maker publishes

Audience
ProjectDiscovery describes Naabu as designed for attack-surface discovery in bug-bounty work and penetration tests. source
CDN and WAF exclusion
CDN/WAF exclusion can limit scans to ports 80 and 443 for supported Cloudflare, Akamai, Incapsula, and Sucuri IPs. source
Cloud dashboard
The CLI can upload or display scan output in the ProjectDiscovery Cloud dashboard and can associate results with team and asset IDs. source
Cloud integration
CLI options can upload or view scan output in the ProjectDiscovery Cloud dashboard. source
Discovery
Features include DNS port scanning, experimental host discovery, IPv4/IPv6 scanning and passive port enumeration using Shodan InternetDB. source
Host discovery
Host discovery scanning is available and marked experimental. source
Host inputs
Inputs can include hosts, IPs, CIDRs and ASNs, supplied directly, from a file or through standard input. source
Inputs
It accepts STDIN, hosts, IPs, CIDRs, and ASNs as scan inputs. source
Installation
The maker provides ready-to-run binaries, Docker installation, and Go installation. source
Installation requirement
The installation instructions require libpcap for packet capture; they name Linux, macOS and Windows installation options. source
Integrations
It integrates with Nmap for service discovery and can pipe discovered ports to ProjectDiscovery's httpx tool. source
Intended users
The README describes Naabu as designed to work with other tools for attack surface discovery in bug bounties and penetration tests. source
IPv4 and IPv6
IPv4 and IPv6 port scanning is supported, with IPv6 marked experimental in the feature list. source
Nmap integration
Naabu integrates with Nmap for service discovery and additional scans. source
Operational requirement
The README recommends running Naabu as root for best results and tuning flags and scan rate on local systems. source
Output formats
It supports JSON, CSV, text and standard output. source
Outputs
It supports JSON, TXT, and standard-output formats. source
Passive enumeration
Passive port enumeration can use Shodan InternetDB. source
Pipeline integration
Discovered ports can be piped to httpx to identify running HTTP servers. source
Platform prerequisites
Packet capture requires libpcap on Linux and macOS or Npcap on Windows. source
Purpose
Naabu is a Go port-scanning tool that enumerates valid ports on hosts using SYN, CONNECT, and UDP scans. source
Purpose
Naabu is a Go port scanner that enumerates valid ports on hosts quickly and reliably. source
Safety notice
The Naabu README says users are responsible for their actions and that developers assume no liability for misuse or damage. source
Scanning
It supports fast SYN, CONNECT, and UDP probe-based scanning. source

Checked against the maker's pages on 2 Oct 2026.