Run Hashcat
run_hashcatCrack password hashes using dictionary, combinator, mask, or hybrid attacks; identify hash types, benchmark hardware, and display cracked results.
Instructions
Hashcat is the world's fastest and most advanced password recovery utility. Tags: security, pentest, password-cracking, forensics, cryptography, gpu-acceleration
Usage Guide:
System Benchmark (action="benchmark"): Test hardware performance.
Identify Hash (action="identify"): Detect the algorithm of a hash string or file.
List Modes (action="list"): Show all supported hash types and their IDs.
Straight Attack (action="crack", attack_mode=0): Dictionary attack using a wordlist. Optionally provide a
rule_fileto mutate the wordlist.Combinator Attack (action="crack", attack_mode=1): Combine words from two wordlists (
wordlistandwordlist2).Mask Attack (action="crack", attack_mode=3): Brute-force using a pattern (e.g., ?u?l?l?l?d?d). Use
incrementwithincrement_min/increment_maxto try varying lengths.Hybrid Attack (action="crack", attack_mode=6): Append a mask to words in a dictionary.
Show Results (action="show"): Display cracked passwords from the potfile for a target hash.
Warnings:
This tool is used for password cracking. Ensure you have explicit permission to perform this action.
High workload profiles (-w 3 or 4) may cause system lag or unresponsiveness.
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": {
"action": "<action>"
},
"name": "run_hashcat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | Brute-force pattern (e.g., ?a?a?a?a). | |
| action | Yes | The operation to perform (benchmark, identify, list, crack, show). | |
| wordlist | No | Path to the primary wordlist file. | /usr/share/wordlists/rockyou.txt |
| hash_file | No | Path to the file containing hashes to crack. | |
| hash_mode | No | Hash type ID (e.g., 1000 for NTLM, 0 for MD5). | |
| increment | No | Enable mask length incrementing. | |
| rule_file | No | Path to a hashcat rule file (e.g., best64.rule). | |
| wordlist2 | No | Path to the second wordlist for combinator attacks (mode 1). | |
| attack_mode | No | Attack type (0=Straight, 1=Combinator, 3=Mask, 6=Hybrid). | |
| output_file | No | File to save cracked results. | |
| increment_max | No | Ending length for incrementing mask. | |
| increment_min | No | Starting length for incrementing mask. | |
| workload_profile | No | Performance profile (1=low, 2=default, 3=high, 4=insane). | |
| optimized_kernels | No | Enable faster but restricted GPU kernels. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |