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

## Agent Script

| Command | Description |
|---------|-------------|
| `spray --target <path>` | Execute password spray against target. |
| `generate_passwords --target <path>` | Generate likely spray passwords. |
| `check_policy --target <path>` | Check password policy and lockout thresholds. |

## Usage Examples

```bash
# Execute password spray against target.
node scripts/agent.js spray --target ./sample

# Generate likely spray passwords.
node scripts/agent.js generate_passwords --target ./sample

# Check password policy and lockout thresholds.
node scripts/agent.js check_policy --target ./sample
```

## Output Format

All commands return JSON with the following structure:

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