Run John
run_johnCrack password hashes using wordlist, single, incremental, mask, or session-based attacks; display previously recovered passwords and resume saved sessions.
Instructions
John the Ripper is a powerful password cracking tool supporting hundreds of hash types. Tags: password-cracking, security, pentest, brute-force, exploitation, authentication, hash-cracking
Usage Guide:
Wordlist Attack (mode="wordlist"): Standard dictionary attack. Set
rules=Trueto enable word mangling.Single Crack (mode="single"): Uses GECOS/username info. Best first step for system accounts.
Incremental (mode="incremental"): Pure brute-force mode.
Mask Attack (mode="mask"): Cracks passwords matching a specific pattern (default: ?u?l?l?l?d?d).
Show Results (mode="show"): Displays previously cracked passwords for a hash file.
Session Management: Use
mode="session"to start a named session, andmode="restore"to resume usingsession_name.
Warnings: This tool is used for brute-force and exploitation. Ensure you have explicit authorization.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "<mode>"
},
"name": "run_john"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | ?u?l?l?l?d?d | |
| mode | Yes | ||
| rules | No | ||
| wordlist | No | /usr/share/wordlists/rockyou.txt | |
| hash_file | No | ||
| hash_format | No | raw-md5 | |
| session_name | No | Name for saving/restoring session progress. | work_task |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |