Runner: Naabu icon

Runner: Naabu

Interact with Naabu

Runner: Naabu

AI-generated

Overview

This node integrates with the Naabu tool, a fast port scanner designed for security assessments and network reconnaissance. It allows users to scan specified hosts or IPs for open ports, helping identify potential entry points or services running on target systems.

Common scenarios where this node is beneficial include:

  • Security testing teams performing network vulnerability assessments.
  • IT administrators auditing their infrastructure for exposed services.
  • Researchers gathering information about networked devices.

Practical example: A user can input a list of hostnames or IP addresses and configure scanning options such as which ports to scan, rate limits, and discovery methods. The node then runs Naabu scans and outputs structured results showing open ports and protocols detected per host.

Properties

Name Meaning
Only Success Boolean flag to output only successful scan results.
Options Multiple configurable groups of command-line options for Naabu:
- Input: e.g., exclude specific hosts from scanning.
- Port: specify ports to scan or exclude, display CDN info.
- Rate Limit: control worker threads and packet sending rate.
- Configuration: advanced settings like network interface, proxy, scan type, timeouts, etc.
- Host Discovery: methods for discovering live hosts (ARP ping, ICMP probes, TCP SYN/ACK pings, reverse PTR lookups).
- Services Discovery: enable service detection and versioning.
- Optimization: tuning parameters like retries, timeout, verification, and warm-up time between scan phases.
Advanced Config Allows setting environment variables, adding files, or collecting files during execution for advanced use cases.
Debug Mode Enables verbose input/output logging for troubleshooting and detailed inspection.

Output

The node outputs JSON data representing the scan results. Each result corresponds to an IP address scanned and includes an array of open ports with associated protocols. The structure is roughly:

[
  {
    "ip": "192.168.1.1",
    "ports": [
      { "port": 80, "protocol": "tcp" },
      { "port": 443, "protocol": "tcp" }
    ]
  },
  ...
]

No binary data output is indicated by the source code.

Dependencies

  • Requires the external Naabu tool installed and accessible in the environment where the node runs.
  • Optionally supports invoking Nmap scans on found targets if configured (Nmap must be installed).
  • Supports Socks5 proxy configuration for scanning through proxies.
  • No internal credential types are referenced; however, API keys or authentication tokens may be needed if proxy authentication is used.

Troubleshooting

  • Common issues:

    • Naabu not installed or not in PATH: The node will fail to execute the scan command.
    • Invalid or malformed host inputs: May cause no results or errors.
    • Incorrect option values (e.g., invalid port ranges) could lead to scan failures.
    • Network restrictions or firewall blocking scan packets.
    • Proxy misconfiguration causing connection failures.
  • Error messages and resolutions:

    • Errors related to missing Naabu executable: Install Naabu and ensure it is in the system PATH.
    • JSON parsing errors on output: Ensure that the scan output is valid JSON; corrupted output might indicate runtime issues.
    • Timeout or no response errors: Adjust timeout and retry options or verify network connectivity.
    • Permission denied errors: Run the node with sufficient privileges to perform network scans.

Enabling Debug Mode can help diagnose issues by providing more detailed logs.

Links and References

Discussion