bruteforce

A procedure for testing passwords against online services and cracking captured password hashes, which are stored representations of passwords.

In plain words
What is it for?
Use it for authorized security testing of services such as SSH, FTP, HTTP, SMB, or RDP, and for offline analysis of supported password hashes.
Why use it?
It organizes different credential-testing methods by service and hash type, reducing the chance of choosing an unsuitable attack method.

Command

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/ogrodev/fsociety/bruteforce
Clone the repo
git clone --depth 1 https://github.com/ogrodev/fsociety
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 483 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00009 $0.00483
Opus 5 $0.00005 $0.00242
Sonnet 5 $0.00002 $0.00097
Haiku 4.5 $0.00001 $0.00048

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

Security

Grade A, and why

bruteforce scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

elliot/commands/bruteforce.md · 60 lines

What it actually says

Brute Force Attack

Service: $1 Target: $2

Execute password attacks using Hexstrike MCP tools.

Step 1: Load Tools

Use ToolSearch to load:

  • hydra_attack — online password brute forcing
  • john_crack — offline password/hash cracking
  • hashcat_crack — GPU-accelerated hash cracking
  • netexec_scan — network credential testing (SMB/SSH/WinRM)

Step 2: Identify Attack Type

Map the service to the appropriate approach:

Online brute force (live service login):

  • ssh, ftp, http-post-form, http-get, rdp, smb, telnet, vnc, mysql, mssql, postgres
  • Tool: hydra_attack

Offline hash cracking (captured hashes):

  • md5, sha1, sha256, sha512, bcrypt, ntlm, kerberos, wordpress
  • Tool: john_crack or hashcat_crack

Network credential testing:

  • smb, ssh, winrm, ldap, mssql, rdp
  • Tool: netexec_scan

Step 3: Online Brute Force (if applicable)

Run hydra_attack with:

  • Target service and port
  • Username list or single username
  • Password list (check for existing wordlists in attack/ directory)
  • Appropriate thread count (lower for rate-limited services)
  • Service-specific options (e.g., http-post-form with login path and failure string)

Step 4: Hash Cracking (if applicable)

For captured hashes, choose the right tool:

  • john_crack — good for many hash types, rule-based attacks
  • hashcat_crack — faster for GPU-friendly hashes, more attack modes

Run with:

  • Hash file or hash value
  • Wordlist + rules for dictionary attack
  • Or mask for brute force pattern

Step 5: Results

Report found credentials clearly:

Username Password Service Status

IMPORTANT: Handle credentials responsibly. Only test credentials within authorized scope.

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. 2d ago First seen · 60 lines · 9 tokens per session scan A 169e21655b86

Subscribe to this mod's changes

bruteforce is a command published in the GitHub repository ogrodev/fsociety (20 stars, last pushed 5mo ago), licensed MIT. It adds 9 tokens to every session and 483 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.