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

## Agent Script

| Command | Description |
|---------|-------------|
| `dump --target <path>` | Dump process memory for credential extraction. |
| `extract --target <path>` | Extract credentials from memory dump. |
| `analyze --target <path>` | Analyze memory dump for credential artifacts. |

## Usage Examples

```bash
# Dump process memory for credential extraction.
node scripts/agent.js dump --target ./sample

# Extract credentials from memory dump.
node scripts/agent.js extract --target ./sample

# Analyze memory dump for credential artifacts.
node scripts/agent.js analyze --target ./sample
```

## Output Format

All commands return JSON with the following structure:

```json
{
  "action": "<command>",
  "result": {
    "action": "<command>",
    "status": "complete",
    "domain": "<domain>",
    "technique": "extracting-hashes-from-memory"
  }
}
```
