bb-enum

bb-enum is a command for coding agents from allsmog/blackbox-claude-plugin. It costs 33 tokens per session (1,388 once invoked), scanned A, original, MIT.

A command for checking each network service found during an earlier scan, such as a website or file-sharing service. It chooses checks suited to the service and records the results.

In plain words
What is it for?
Use it after reconnaissance to inspect web servers, SMB file sharing, FTP, databases, and other discovered services.
Why use it?
It removes the need to remember separate checks for every open port. This helps reveal directories, shared folders, usernames, and other exposed details in an organized way.

Command

Part of the blackbox-htb plugin — 17 skills, 11 commands, 9 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/allsmog/blackbox-claude-plugin/bb-enum
Clone the repo
git clone --depth 1 https://github.com/allsmog/blackbox-claude-plugin

Or install blackbox-htb, the plugin that ships this one along with the rest of its 17 skills, 11 commands, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bb-enum

README.md
[![agentmods](https://agentmods.dev/badge/commands/allsmog/blackbox-claude-plugin/bb-enum.svg)](https://agentmods.dev/commands/allsmog/blackbox-claude-plugin/bb-enum)
Your own site
<a href="https://agentmods.dev/commands/allsmog/blackbox-claude-plugin/bb-enum"><img src="https://agentmods.dev/badge/commands/allsmog/blackbox-claude-plugin/bb-enum.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00033 $0.01388
Opus 5 $0.00016 $0.00694
Sonnet 5 $0.00007 $0.00278
Haiku 4.5 $0.00003 $0.00139

Measured 3d ago against content hash 1b0156c4dfb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bb-enum scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://<TARGET>/robots.txt
blackbox-htb/commands/bb-enum.md · 217 lines

How it starts

The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Service Enumeration

Overview

Performs targeted enumeration for each discovered service. Automatically selects appropriate tools and techniques based on the service type.

Service Enumeration Modules

HTTP/HTTPS (80, 443, 8080, 8443)

# Technology identification
whatweb http://<TARGET>

# Directory fuzzing
gobuster dir -u http://<TARGET> -w /usr/share/wordlists/dirb/common.txt -o enum/gobuster.txt -x php,html,txt,bak

# Alternative with feroxbuster (recursive)
feroxbuster -u http://<TARGET> -w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt -o enum/ferox.txt

# Vulnerability scanning
nikto -h http://<TARGET> -o enum/nikto.txt

# Virtual host enumeration
gobuster vhost -u http://<TARGET> -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt

# Check for common files
curl -s http://<TARGET>/robots.txt
curl -s http://<TARGET>/sitemap.xml
curl -s http://<TARGET>/.git/HEAD

SMB (139, 445)

# Share enumeration
crackmapexec smb <TARGET> --shares
smbclient -L //<TARGET> -N

# Null session
smbmap -H <TARGET>
smbmap -H <TARGET> -u '' -p ''

# User enumeration
crackmapexec smb <TARGET> --users
enum4linux -a <TARGET>

# Known vulnerabilities
nmap --script smb-vuln* -p445 <TARGET>

LDAP (389, 636)

# Anonymous bind
ldapsearch -x -H ldap://<TARGET> -b "DC=domain,DC=local"

# Enumerate users
ldapsearch -x -H ldap://<TARGET> -b "DC=domain,DC=local" "(objectClass=user)"

# With credentials
ldapsearch -x -H ldap://<TARGET> -D "[email protected]" -w 'password' -b "DC=domain,DC=local"

Kerberos (88)

# User enumeration
kerbrute userenum -d <DOMAIN> --dc <TARGET> /usr/share/seclists/Usernames/xato-net-10-million-usernames.txt

# AS-REP Roasting
GetNPUsers.py <DOMAIN>/ -no-pass -usersfile users.txt -dc-ip <TARGET>

FTP (21)

# Anonymous login
ftp <TARGET>
# Try: anonymous / anonymous

# Banner grab
nc -nv <TARGET> 21

# NSE scripts
nmap --script ftp-anon,ftp-bounce,ftp-vuln* -p21 <TARGET>

Read the full file on GitHub · 217 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 217 lines · 33 tokens per session scan A 1b0156c4dfb9

Subscribe to this mod's changes

bb-enum is a command published in the GitHub repository allsmog/blackbox-claude-plugin (5 stars, last pushed 6mo ago), licensed MIT. It adds 33 tokens to every session and 1,388 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.