{"id":50432752,"url":"https://github.com/clstb/bbot-naabu","last_synced_at":"2026-05-31T15:01:37.877Z","repository":{"id":355817053,"uuid":"1229156734","full_name":"clstb/bbot-naabu","owner":"clstb","description":"Scan all the things.","archived":false,"fork":false,"pushed_at":"2026-05-05T10:45:50.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T12:41:34.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clstb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-04T18:57:58.000Z","updated_at":"2026-05-05T10:52:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/clstb/bbot-naabu","commit_stats":null,"previous_names":["clstb/bbot-naabu"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/clstb/bbot-naabu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clstb%2Fbbot-naabu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clstb%2Fbbot-naabu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clstb%2Fbbot-naabu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clstb%2Fbbot-naabu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clstb","download_url":"https://codeload.github.com/clstb/bbot-naabu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clstb%2Fbbot-naabu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33735663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-31T15:01:36.952Z","updated_at":"2026-05-31T15:01:37.867Z","avatar_url":"https://github.com/clstb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bbot-naabu\n\nA [BBOT](https://github.com/blacklanternsecurity/bbot) scan module that integrates [Naabu](https://github.com/projectdiscovery/naabu) (ProjectDiscovery's fast port scanner).\n\n## Features\n\n- **TCP SYN scan** (default, requires root) with automatic fallback to connect scan\n- **TCP connect scan** for unprivileged environments\n- **UDP scan** support\n- **CDN pre-filtering** — skips hosts already tagged as CDN/cloud by BBOT's `cloudcheck` module\n- **Tunnel detection** — automatically falls back from SYN to connect on WireGuard/TUN/TAP interfaces\n- **Batch processing** — accumulates up to 1M targets before a single naabu invocation\n- **RadixTarget correlation** — emitted port events maintain correct parentage via IP-to-event radix tree\n\n## Installation\n\n```bash\npip install bbot-naabu\n```\n\n## Usage\n\n```bash\n# Default: top 100 ports, SYN scan\nbbot -m naabu example.com\n\n# Specific ports, connect scan\nbbot -m naabu -o scan_type=connect -o ports=80,443,8080 example.com\n\n# Top 1000 ports, custom rate\nbbot -m naabu -o top_ports=1000 -o rate=5000 10.0.0.0/24\n\n# UDP scan\nbbot -m naabu -o scan_type=udp -o ports=53,123,161 target.example.com\n\n# Disable CDN filtering, scan a CDN host\nbbot -m naabu -o exclude_cdn=false cdn-host.example.com\n```\n\n## Options\n\n| Option | Default | Description |\n|--------|---------|-------------|\n| `scan_type` | `syn` | Scan type: `syn` (root), `connect`, or `udp` |\n| `top_ports` | `100` | Top N ports to scan (min 100) |\n| `ports` | `\"\"` | Specific ports/ranges, e.g. `80,443,100-200` (overrides `top_ports`) |\n| `rate` | `1000` | Packets per second |\n| `timeout` | `5000` | Probe timeout in milliseconds |\n| `retries` | `3` | Retries per probe |\n| `verify` | `True` | Verify open ports with a TCP connection |\n| `exclude_cdn` | `True` | Skip hosts tagged as CDN/cloud |\n| `host_discovery` | `False` | Host discovery only (no port scan) |\n| `passive` | `False` | Rely on SYN-ACK responses |\n| `interface` | `\"\"` | Network interface to bind |\n| `exclude_ports` | `\"\"` | Ports to exclude, e.g. `22,23` |\n| `force_scan_type` | `False` | Prevent automatic SYN-to-connect fallback |\n| `version` | `2.3.2` | Naabu binary version to download |\n\n## Testing\n\n### Unit tests\n\nUnit tests mock the BBOT framework and naabu subprocess — no network or root required.\n\n```bash\npip install -e \".[dev]\"\npytest test_naabu.py -v\n```\n\n### Live integration test\n\nScan a real target to verify the module end-to-end. Requires network access; naabu binary is auto-installed on first run.\n\n```bash\nbbot -t scanme.nmap.org -m naabu -o ports=22,80,443 -o scan_type=connect\n```\n\nExpected: `OPEN_TCP_PORT` events for ports 22 and 80 on `scanme.nmap.org`.\n\n## Development\n\n```bash\npip install -e \".[dev]\"\npytest test_naabu.py -v\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclstb%2Fbbot-naabu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclstb%2Fbbot-naabu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclstb%2Fbbot-naabu/lists"}