<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
# performing-hashcat-attacks — API Reference

## Agent Script

| Command | Description |
|---------|-------------|
| `crack --target <path>` | Execute hashcat attack against hash file. |
| `identify --target <path>` | Identify hash type from samples. |
| `benchmark --target <path>` | Benchmark GPU performance for hash mode. |

## Usage Examples

```bash
# Execute hashcat attack against hash file.
node scripts/agent.js crack --target ./sample

# Identify hash type from samples.
node scripts/agent.js identify --target ./sample

# Benchmark GPU performance for hash mode.
node scripts/agent.js benchmark --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "performing-hashcat-attacks"
  }
}
```
