Skip to content
Security
Command

/portscan

Scan a host for open ports and flag the NON-HTTP services the HTTP-only recon pipeline can't see (SSH, databases, Redis, Docker API, RDP). Usage: /portscan <host> [--top 1000] [-p 22,6379] | /portscan -l hosts.txt

From plugin
agentic-bug-hunter
5.8k42 skills9 agents42 commands3 hooks
$ npx -y skills add awarexone/agentic-bug-hunter --agent claude-code

Command definition

portscan.md
description: Scan a host for open ports and flag the NON-HTTP services the HTTP-only recon pipeline can't see (SSH, databases, Redis, Docker API, RDP). Usage: /portscan <host> [--top 1000] [-p 22,6379] | /portscan -l hosts.txt

/portscan

The main recon pipeline is HTTP-only (httpx / nuclei / katana), so open ports that don't speak HTTP are invisible. This maps the full service surface and pulls the interesting, often-forgotten ports to the top — the ones that turn into instant wins.

Usage

/portscan target.com                 # top-100 ports
/portscan target.com --top 1000
/portscan target.com -p 22,6379,27017
/portscan -l recon/target.com/subdomains/resolved.txt --json
/portscan target.com --smap          # passive (Shodan) — no packets sent

Run directly:

bughunter/tools/port_scanner.py target.com --top 1000

Tooling

Wraps ProjectDiscovery's **naabu** (fast SYN/CONNECT scan), falling back to **smap** (Shodan-backed, sends no packets — handy when active scanning is out of scope). Both are registered in `bughunter/tools/external_arsenal.sh`. If neither is installed the command prints install hints and exits cleanly.

What it flags

Any open, non-web port with a known attack surface, e.g.:

| Port | Service | Why it matters | |---|---|---| | 6379 | redis | unauth → RCE / full data dump | | 2375 | docker | unauth Docker API → instant host RCE | | 27017 | mongodb | unauth → database dump | | 9200 | elasticsearch | unauth → index dump | | 3306 / 5432 / 1433 | mysql / postgres / mssql | database exposed to the internet | | 3389 | rdp | weak creds / BlueKeep-class | | 445 | smb | null session / EternalBlue-class |

Web ports (80/443/8080/…) are counted but not flagged — the rest of the pipeline already covers those.

Chain

`/portscan` → non-web service found → pivot with the matching technique (e.g. unauth Redis → `CONFIG SET` webshell, exposed DB → dump, Docker API → container escape). Feed resolved subdomains from `/recon` straight in with `-l`.

Read more
@awarexone
Ships withagentic-bug-hunter

AI-powered bug bounty hunting toolkit that works with or without subscription.

5.8k19 skills9 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5.8k
Star history of awarexone/agentic-bug-hunter on GitHub, a chart by star-history.com

Other commands on agentic-bug-hunter.

arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

autopilot

autopilot

Command

Run autonomous hunt loop on a target — scope check → recon → rank surface → hunt → validate → report with configurable…

breach-check

breach-check

Command

HIBP k-anonymity check on a password wordlist. Enriches each password with its breach count, ranks DESC. Free API (no key), only…

bypass-403

bypass-403

Command

Probe a 403/401 endpoint with the most-paid bypass tricks (header injection, path encoding, method swap, WAF fingerprint,…

chain

chain

Command

Build an exploit chain — given bug A, finds B and C to combine for higher severity and payout. Knows common chain patterns:…

cloud-recon

cloud-recon

Command

Sweep cloud assets for a target — public S3/Azure/GCP buckets via S3Scanner and cloud_enum, plus CloudFlare-bypassed origin IPs…

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

@trailofbits@trailofbitsInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@shuvonsec@shuvonsecInstall Command