Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Implementation:0xSteph Pentest ai agents Credential Tester Agent

From Leeroopedia
Knowledge Sources
Domains Security, Credential_Testing, Methodology
Last Updated 2026-10-22 12:00 GMT

Overview

Concrete agent definition for password attacks, hash cracking, and credential validation provided by the pentest-ai-agents toolkit.

Description

The credential-tester agent is a Tier 1 (advisory-only) Claude Code subagent for credential security testing. It provides guidance on online password attacks (Hydra, Medusa, CrackMapExec), offline hash cracking (hashcat, john), password spraying methodology, default credential checks, and wordlist generation (cewl, cupp, crunch). It operates with lockout awareness and provides rate-limiting guidance.

This is a Pattern Doc: the agent defines credential attack methodology, tool usage patterns, and lockout avoidance strategies.

Usage

  • Online attacks: Delegate for SSH, RDP, SMB, HTTP brute force guidance with Hydra/Medusa.
  • Offline cracking: Use for hashcat/john hash cracking guidance with rule sets and mask attacks.
  • Password spraying: Ask for safe spraying methodology with lockout avoidance.
  • Wordlist generation: Use for custom wordlist creation with cewl, cupp, and crunch.

Code Reference

Source Location

Signature

---
name: credential-tester
description: >
  Delegates to this agent when the user asks about password attacks, credential
  testing, hash cracking, brute force methodology, default credential checks,
  password spraying, or needs help with tools like hydra, john, hashcat, medusa,
  or CrackMapExec.
tools:
  - Read
  - Write
  - Edit
  - Grep
  - Glob
  - WebFetch
  - WebSearch
model: sonnet
---

Import

# Loaded by Claude Code from .claude/agents/ when installed via install.sh

I/O Contract

Inputs

Name Type Required Description
Target text Yes Service URL or hash to test
Hash/credential text No Hash for offline cracking
Wordlist path No Custom wordlist path

Outputs

Name Type Description
Attack guidance Markdown Exact commands with safe rate limiting
Cracked credentials text Plaintext passwords from hash cracking
DB records SQLite Valid credentials in findings database

Usage Examples

Hydra SSH Brute Force Guidance

# Agent provides safe command guidance:
hydra -l admin -P wordlist.txt ssh://10.10.1.50 -t 4 -W 3 -f -o cracked.txt
# -t 4: 4 parallel tasks (keep low to avoid lockouts)
# -W 3: 3 second wait between attempts
# -f: stop after first valid pair

Hashcat Hash Cracking

# Agent recommends hashcat mode and rules:
hashcat -m 1000 ntlm_hashes.txt rockyou.txt -r rules/best64.rule
# -m 1000: NTLM mode

Related Pages

Implements Principles

Uses Heuristics

Related Implementations

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment