# tuanemss/32bit-bruteforce-passcode architecture

> Architecture diagram of the GitHub repository tuanemss/32bit-bruteforce-passcode, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tuanemss/32bit-bruteforce-passcode
- Repository: https://github.com/tuanemss/32bit-bruteforce-passcode

## Overview

This repository is a 32-bit iOS passcode-bruteforce tool using a ramdisk workflow. The documented user path is to run the shell entry point, which performs the on-device brute-force process; kernel patching is a distinct supporting capability for enabling UID access across legacy iOS versions and ARMv6. The tree also contains ramdisk/SSH assets and bundled device utilities. Their runtime wiring is not shown in the sampled source, so those relationships are omitted rather than inferred.

Main entry points: [`Bruteforce.sh`](https://github.com/tuanemss/32bit-bruteforce-passcode/blob/main/Bruteforce.sh) (Bruteforce launcher), [`resources/kernel_patch.py`](https://github.com/tuanemss/32bit-bruteforce-passcode/blob/main/resources/kernel_patch.py) (Kernel patcher), [`resources/patch`](https://github.com/tuanemss/32bit-bruteforce-passcode/tree/main/resources/patch) (Kernel patch resources), [`resources/ios6`](https://github.com/tuanemss/32bit-bruteforce-passcode/tree/main/resources/ios6) (Ramdisk assets)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Bruteforce workflow"]
  node_launcher["Bruteforce launcher<br/>[Bruteforce.sh]"]
  node_device["32-bit iOS device"]
end

subgraph group_patching["Kernel patching"]
  node_patcher["Kernel patcher<br/>[kernel_patch.py]"]
  node_patches["Kernel patch resources"]
end

subgraph group_assets["Ramdisk assets"]
  node_ramdisk["Ramdisk assets"]
  node_ssh_payloads["SSH ramdisk payloads"]
  node_device_info["Device information"]
end

subgraph group_tools["Bundled utilities"]
  node_bundled_tools["Device and image tools"]
end

node_user(("Operator"))

node_user -->|"runs"| node_launcher
node_launcher -->|"bruteforces passcode"| node_device
node_patcher -.->|"applies patterns"| node_patches
node_launcher -.->|"uses ramdisk"| node_ramdisk

click node_launcher "https://github.com/tuanemss/32bit-bruteforce-passcode/blob/main/Bruteforce.sh"
click node_patcher "https://github.com/tuanemss/32bit-bruteforce-passcode/blob/main/resources/kernel_patch.py"
click node_patches "https://github.com/tuanemss/32bit-bruteforce-passcode/tree/main/resources/patch"
click node_ramdisk "https://github.com/tuanemss/32bit-bruteforce-passcode/tree/main/resources/ios6"
click node_ssh_payloads "https://github.com/tuanemss/32bit-bruteforce-passcode/tree/main/resources/sshrd"
click node_device_info "https://github.com/tuanemss/32bit-bruteforce-passcode/blob/main/resources/device_infos"
click node_bundled_tools "https://github.com/tuanemss/32bit-bruteforce-passcode/tree/main/bin"

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_launcher,node_device toneBlue
class node_patcher,node_patches toneAmber
class node_ramdisk,node_ssh_payloads,node_device_info toneMint
class node_bundled_tools toneRose
class node_user toneIndigo
```

## Components

### Bruteforce workflow

- [Bruteforce launcher](https://github.com/tuanemss/32bit-bruteforce-passcode/blob/main/Bruteforce.sh): `Bruteforce.sh`
- **32-bit iOS device**

### Kernel patching

- [Kernel patcher](https://github.com/tuanemss/32bit-bruteforce-passcode/blob/main/resources/kernel_patch.py): `resources/kernel_patch.py`
- [Kernel patch resources](https://github.com/tuanemss/32bit-bruteforce-passcode/tree/main/resources/patch): `resources/patch`

### Ramdisk assets

- [Ramdisk assets](https://github.com/tuanemss/32bit-bruteforce-passcode/tree/main/resources/ios6): `resources/ios6`
- [SSH ramdisk payloads](https://github.com/tuanemss/32bit-bruteforce-passcode/tree/main/resources/sshrd): `resources/sshrd`
- [Device information](https://github.com/tuanemss/32bit-bruteforce-passcode/blob/main/resources/device_infos): `resources/device_infos`

### Bundled utilities

- [Device and image tools](https://github.com/tuanemss/32bit-bruteforce-passcode/tree/main/bin): `bin`

### Other components

- **Operator**

## Connections

- Operator → Bruteforce launcher: runs (evidence: `README.md`)
- Bruteforce launcher → 32-bit iOS device: bruteforces passcode (evidence: `README.md`)
- Kernel patcher → Kernel patch resources: applies patterns
- Bruteforce launcher → Ramdisk assets: uses ramdisk (evidence: `README.md`)
