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

## Agent Script

| Command | Description |
|---------|-------------|
| `capture --target <path>` | Capture wireless handshake or PMKID. |
| `convert --target <path>` | Convert capture to crackable format. |
| `crack --target <path>` | Crack wireless handshake hash. |

## Usage Examples

```bash
# Capture wireless handshake or PMKID.
node scripts/agent.js capture --target ./sample

# Convert capture to crackable format.
node scripts/agent.js convert --target ./sample

# Crack wireless handshake hash.
node scripts/agent.js crack --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "cracking-wireless-handshakes"
  }
}
```
