# ts-way/gerix-wifi-cracker architecture

> Architecture diagram of the GitHub repository ts-way/gerix-wifi-cracker, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ts-way/gerix-wifi-cracker
- Repository: https://github.com/ts-way/gerix-wifi-cracker

## Overview

GerixWifiCracker-NG is a Qt 3 desktop frontend for wireless-network discovery, interface management, packet capture/injection, and WEP/WPA key recovery. The user works through the GUI; its Python handlers run system commands, display results, and manage a local key database. The README documents the launch method and Qt requirement, but not detailed workflow wiring. The graph uses the sampled command examples and SOURCE INDEX references; unsampled GUI details and specific tool-to-feature wiring are not expanded.

Main entry points: [`gerix.py`](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py) (Command runner), [`gerix_gui.py`](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix_gui.py) (Qt window), [`gerix_config.py`](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix_config.py) (Runtime configuration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Desktop interface"]
  node_gui["Qt window<br/>[gerix_gui.py]"]
  node_handlers["Action handlers<br/>[gerix.py]"]
end

subgraph group_network["Wireless operations"]
  node_scan["Network scanning<br/>[gerix.py]"]
  node_interface_ops["Interface controls<br/>[gerix.py]"]
  node_packet_ops["Capture and injection<br/>[gerix.py]"]
end

subgraph group_recovery["Key recovery"]
  node_wep["WEP recovery<br/>[gerix.py]"]
  node_wpa["WPA recovery<br/>[gerix.py]"]
  node_key_db[("Key database<br/>[gerix.py]")]
end

subgraph group_support["Runtime support"]
  node_runner["Command runner<br/>[gerix.py]"]
  node_config["Runtime configuration<br/>[gerix_config.py]"]
end

node_user(("User"))
node_wireless_tools["Wireless utilities"]

node_user -->|"uses"| node_gui
node_handlers -->|"extends"| node_gui
node_handlers -->|"imports"| node_config
node_scan -->|"runs commands"| node_runner
node_interface_ops -->|"runs commands"| node_runner
node_packet_ops -->|"runs commands"| node_runner
node_wep -->|"runs commands"| node_runner
node_wpa -->|"runs commands"| node_runner
node_runner -->|"executes"| node_wireless_tools
node_handlers -->|"reads and writes"| node_key_db

click node_gui "https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix_gui.py"
click node_handlers "https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py"
click node_scan "https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py"
click node_interface_ops "https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py"
click node_packet_ops "https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py"
click node_wep "https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py"
click node_wpa "https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py"
click node_key_db "https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py"
click node_runner "https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py"
click node_config "https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix_config.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_gui,node_handlers,node_user toneBlue
class node_scan,node_interface_ops,node_packet_ops toneAmber
class node_wep,node_wpa,node_key_db toneMint
class node_runner,node_config toneRose
class node_wireless_tools toneIndigo
```

## Components

### Desktop interface

- [Qt window](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix_gui.py): `gerix_gui.py`
- [Action handlers](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py): `gerix.py`

### Wireless operations

- [Network scanning](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py): `gerix.py`
- [Interface controls](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py): `gerix.py`
- [Capture and injection](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py): `gerix.py`

### Key recovery

- [WEP recovery](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py): `gerix.py`
- [WPA recovery](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py): `gerix.py`
- [Key database](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py): `gerix.py`

### Runtime support

- [Command runner](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix.py): `gerix.py`
- [Runtime configuration](https://github.com/ts-way/gerix-wifi-cracker/blob/master/gerix_config.py): `gerix_config.py`

### Other components

- **User**
- **Wireless utilities**

## Connections

- User → Qt window: uses (evidence: `README`)
- Action handlers → Qt window: extends (evidence: `gerix.py`)
- Action handlers → Runtime configuration: imports (evidence: `gerix.py`)
- Network scanning → Command runner: runs commands (evidence: `gerix.py`)
- Interface controls → Command runner: runs commands (evidence: `gerix.py`)
- Capture and injection → Command runner: runs commands (evidence: `gerix.py`)
- WEP recovery → Command runner: runs commands (evidence: `gerix.py`)
- WPA recovery → Command runner: runs commands (evidence: `gerix.py`)
- Command runner → Wireless utilities: executes (evidence: `gerix.py`)
- Action handlers → Key database: reads and writes (evidence: `gerix.py`)
