# raivenlockdown/definitelynotrockyou architecture

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

- Interactive diagram: https://gitdiagram.com/raivenlockdown/definitelynotrockyou
- Repository: https://github.com/raivenlockdown/definitelynotrockyou

## Overview

DefinitelyNotRockYou is a local Flask application for turning target-provided personal details into a downloadable password wordlist and optionally testing that list against an uploaded ZIP. The main flow is browser input, profile parsing, wordlist generation, then download or ZIP testing. The README also documents both quick-form and template/paste inputs, size presets, and ZipCrypto/AES support. Source excerpts show the Flask orchestration and ZIP tester; some generator internals and the HTML are not fully sampled, so only documented or directly visible links are drawn.

Main entry points: [`app.py`](https://github.com/raivenlockdown/definitelynotrockyou/blob/main/app.py) (Flask routes), [`templates/index.html`](https://github.com/raivenlockdown/definitelynotrockyou/blob/main/templates/index.html) (Web UI), [`generator.py`](https://github.com/raivenlockdown/definitelynotrockyou/blob/main/generator.py) (Wordlist engine), [`cracker.py`](https://github.com/raivenlockdown/definitelynotrockyou/blob/main/cracker.py) (ZIP tester)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Web interface"]
  node_web_ui["Web UI<br/>[index.html]"]
  node_app["Flask routes<br/>[app.py]"]
end

subgraph group_generation["Wordlist generation"]
  node_template["OSINT template<br/>[osint_template.txt]"]
  node_profile_parse["Profile parsing<br/>[generator.py]"]
  node_wordlist_engine["Wordlist engine<br/>[generator.py]"]
  node_wordlist["Generated wordlist"]
end

subgraph group_testing["ZIP testing"]
  node_zip_file["Uploaded ZIP"]
  node_zip_tester["ZIP tester<br/>[cracker.py]"]
end

node_user(("Authorized user"))

node_user -->|"provides profile"| node_web_ui
node_web_ui -->|"submits input"| node_app
node_template -->|"guides entry"| node_user
node_app -->|"parses or maps"| node_profile_parse
node_app -->|"generates list"| node_wordlist_engine
node_wordlist_engine -->|"writes"| node_wordlist
node_app -->|"previews and serves"| node_wordlist
node_user -->|"uploads ZIP"| node_app
node_app -->|"calls tester"| node_zip_tester
node_app -->|"supplies list"| node_wordlist
node_app -->|"saves upload"| node_zip_file
node_zip_tester -->|"tests password"| node_zip_file

click node_web_ui "https://github.com/raivenlockdown/definitelynotrockyou/blob/main/templates/index.html"
click node_app "https://github.com/raivenlockdown/definitelynotrockyou/blob/main/app.py"
click node_template "https://github.com/raivenlockdown/definitelynotrockyou/blob/main/osint_template.txt"
click node_profile_parse "https://github.com/raivenlockdown/definitelynotrockyou/blob/main/generator.py"
click node_wordlist_engine "https://github.com/raivenlockdown/definitelynotrockyou/blob/main/generator.py"
click node_zip_tester "https://github.com/raivenlockdown/definitelynotrockyou/blob/main/cracker.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_web_ui,node_app,node_user toneBlue
class node_template,node_profile_parse,node_wordlist_engine,node_wordlist toneAmber
class node_zip_file,node_zip_tester toneMint
```

## Components

### Web interface

- [Web UI](https://github.com/raivenlockdown/definitelynotrockyou/blob/main/templates/index.html): `templates/index.html`
- [Flask routes](https://github.com/raivenlockdown/definitelynotrockyou/blob/main/app.py): `app.py`

### Wordlist generation

- [OSINT template](https://github.com/raivenlockdown/definitelynotrockyou/blob/main/osint_template.txt): `osint_template.txt`
- [Profile parsing](https://github.com/raivenlockdown/definitelynotrockyou/blob/main/generator.py): `generator.py`
- [Wordlist engine](https://github.com/raivenlockdown/definitelynotrockyou/blob/main/generator.py): `generator.py`
- **Generated wordlist**

### ZIP testing

- **Uploaded ZIP**
- [ZIP tester](https://github.com/raivenlockdown/definitelynotrockyou/blob/main/cracker.py): `cracker.py`

### Other components

- **Authorized user**

## Connections

- Authorized user → Web UI: provides profile (evidence: `README.md`)
- Web UI → Flask routes: submits input (evidence: `README.md`)
- OSINT template → Authorized user: guides entry (evidence: `README.md`)
- Flask routes → Profile parsing: parses or maps (evidence: `app.py`)
- Flask routes → Wordlist engine: generates list (evidence: `app.py`)
- Wordlist engine → Generated wordlist: writes (evidence: `README.md`)
- Flask routes → Generated wordlist: previews and serves (evidence: `app.py`)
- Authorized user → Flask routes: uploads ZIP (evidence: `README.md`)
- Flask routes → ZIP tester: calls tester (evidence: `app.py`)
- Flask routes → Generated wordlist: supplies list (evidence: `app.py`)
- Flask routes → Uploaded ZIP: saves upload (evidence: `app.py`)
- ZIP tester → Uploaded ZIP: tests password (evidence: `cracker.py`)
