# kelltich-756/freepbx-breaker architecture

> Architecture diagram of the GitHub repository kelltich-756/freepbx-breaker, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kelltich-756/freepbx-breaker
- Repository: https://github.com/kelltich-756/freepbx-breaker

## Overview

This is a small Python proof-of-concept command-line exploit, not a FreePBX implementation. Its workflow accepts a target and optional token, constructs an injection query, sends an HTTP request, and reports the response. The README describes the vulnerability and setup, but also says the endpoint and payload may need adjustment; the script itself hardcodes both. The graph reflects only the script’s visible runtime behavior, not uninspected target-side execution.

Main entry points: [`freepbx-breaker.py`](https://github.com/kelltich-756/freepbx-breaker/blob/main/freepbx-breaker.py) (Exploit routine)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_operator(("Operator"))
node_cli["CLI entry point<br/>[freepbx-breaker.py]"]
node_exploit["Exploit routine<br/>[freepbx-breaker.py]"]
node_payload["Payload builder<br/>[freepbx-breaker.py]"]
node_http["Requests client"]
node_target["FreePBX target"]
node_response["Response analysis<br/>[freepbx-breaker.py]"]

node_operator -->|"runs script"| node_cli
node_cli -->|"calls"| node_exploit
node_exploit -->|"builds query"| node_payload
node_exploit -->|"sends GET"| node_http
node_http -->|"requests endpoint"| node_target
node_http -->|"returns response"| node_response

click node_cli "https://github.com/kelltich-756/freepbx-breaker/blob/main/freepbx-breaker.py"
click node_exploit "https://github.com/kelltich-756/freepbx-breaker/blob/main/freepbx-breaker.py"
click node_payload "https://github.com/kelltich-756/freepbx-breaker/blob/main/freepbx-breaker.py"
click node_response "https://github.com/kelltich-756/freepbx-breaker/blob/main/freepbx-breaker.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_operator,node_target toneIndigo
class node_cli,node_exploit,node_payload,node_response toneTeal
class node_http toneBlue
```

## Components

### Other components

- **Operator**
- [CLI entry point](https://github.com/kelltich-756/freepbx-breaker/blob/main/freepbx-breaker.py): `freepbx-breaker.py`
- [Exploit routine](https://github.com/kelltich-756/freepbx-breaker/blob/main/freepbx-breaker.py): `freepbx-breaker.py`
- [Payload builder](https://github.com/kelltich-756/freepbx-breaker/blob/main/freepbx-breaker.py): `freepbx-breaker.py`
- **Requests client**
- **FreePBX target**
- [Response analysis](https://github.com/kelltich-756/freepbx-breaker/blob/main/freepbx-breaker.py): `freepbx-breaker.py`

## Connections

- Operator → CLI entry point: runs script (evidence: `README.md`)
- CLI entry point → Exploit routine: calls (evidence: `freepbx-breaker.py`)
- Exploit routine → Payload builder: builds query (evidence: `freepbx-breaker.py`)
- Exploit routine → Requests client: sends GET (evidence: `freepbx-breaker.py`)
- Requests client → FreePBX target: requests endpoint
- Requests client → Response analysis: returns response (evidence: `freepbx-breaker.py`)
