Start Hashcat Session
start_hashcat_sessionStarts or restores a persistent hashcat password-cracking session in the background, returning a PID for monitoring and stop control. Use it for long-running cracking tasks that must survive interruptions.
Instructions
Starts or restores a persistent, long-running hashcat cracking session in the background. Tags: security, pentest, password-cracking, persistent
Usage Guide:
To start a new session: Provide a unique
session_name,hash_mode, and the attack parameters.To restore a session: Set
restore=Trueand provide thesession_name.This launches the process in the background. Use the returned PID to monitor or stop it.
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": {
"session_name": "<session_name>",
"hash_mode": "<hash_mode>",
"hash_file": "<hash_file>"
},
"name": "start_hashcat_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | Mask pattern (for modes 3, 6). | |
| restore | No | If True, attempts to resume an interrupted session with the given name. | |
| wordlist | No | Path to wordlist (for modes 0, 1, 6). | |
| hash_file | Yes | Path to target hashes. | |
| hash_mode | Yes | Hash type ID. | |
| attack_mode | No | Attack type (0, 1, 3, 6). | |
| session_name | Yes | Unique identifier for the session (prevents data loss if interrupted). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |