# threat23/all-recon architecture

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

- Interactive diagram: https://gitdiagram.com/threat23/all-recon
- Repository: https://github.com/threat23/all-recon

## Overview

ALL-RECON is a penetration-testing reconnaissance automation suite with CLI and GUI entry points. Its principal workflow accepts an authorized target, dispatches a selected scan or enrichment mode, and produces findings and reports. The graph preserves the README’s major reconnaissance, enrichment, batch, cleaning, and reporting capabilities. Several shell modules are unsampled; their roles and some routing links are based on README documentation rather than inspected implementation.

Main entry points: [`all_recon.sh`](https://github.com/threat23/all-recon/blob/main/all_recon.sh) (CLI Orchestrator), [`modules/subdomain_finder.sh`](https://github.com/threat23/all-recon/blob/main/modules/subdomain_finder.sh) (Subdomain Discovery), [`modules/recon.sh`](https://github.com/threat23/all-recon/blob/main/modules/recon.sh) (Network Recon), [`modules/passive.py`](https://github.com/threat23/all-recon/blob/main/modules/passive.py) (Passive Data Collection)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["User Interfaces"]
  node_cli["CLI Orchestrator<br/>[all_recon.sh]"]
  node_tk_gui["Tkinter GUI<br/>[gui.py]"]
  node_qt_gui["PyQt GUI<br/>[gui_qt.py]"]
end

subgraph group_scanning["Active Recon"]
  node_validation["Input Validation<br/>[validation.sh]"]
  node_network["Network Recon<br/>[recon.sh]"]
  node_subdomain["Subdomain Discovery"]
  node_web_vuln["Web Vulnerability Scans"]
end

subgraph group_intel["Passive Enrichment"]
  node_whois["WHOIS Recon<br/>[whois_recon.sh]"]
  node_passive_shell["Passive OSINT Runner<br/>[passive.sh]"]
  node_passive_py["Passive Data Collection<br/>[passive.py]"]
  node_asn["ASN Enrichment<br/>[asn_recon.py]"]
  node_http["HTTP TLS Fingerprinting"]
  node_dns_email["DNS Email Audit<br/>[dns_email_audit.py]"]
end

subgraph group_operations["Workflow Operations"]
  node_batch["Batch Runner<br/>[batch_runner.sh]"]
  node_cleaner["Subdomain Cleaning"]
end

subgraph group_output["Results"]
  node_reporting["Report Generation<br/>[reporting.sh]"]
  node_results["Scan Reports"]
end

node_operator(("Pentester"))
node_network_target(("Network Targets"))
node_public_sources{{"Public Data Sources"}}

node_operator -->|"runs scans"| node_cli
node_operator -->|"uses interface"| node_tk_gui
node_operator -->|"uses interface"| node_qt_gui
node_tk_gui -.->|"launches workflows"| node_cli
node_qt_gui -.->|"launches workflows"| node_cli
node_cli -.->|"validates input"| node_validation
node_cli -->|"dispatches scans"| node_network
node_cli -->|"dispatches discovery"| node_subdomain
node_cli -->|"dispatches scans"| node_web_vuln
node_cli -->|"dispatches lookup"| node_whois
node_cli -->|"dispatches OSINT"| node_passive_shell
node_cli -->|"dispatches enrichment"| node_asn
node_cli -->|"dispatches fingerprinting"| node_http
node_cli -->|"dispatches audit"| node_dns_email
node_cli -->|"dispatches targets"| node_batch
node_cli -->|"requests reports"| node_reporting
node_passive_shell -.->|"runs collector"| node_passive_py
node_subdomain -->|"cleans results"| node_cleaner
node_network -->|"scans hosts"| node_network_target
node_subdomain -->|"enumerates domain"| node_network_target
node_passive_py -->|"queries sources"| node_public_sources
node_asn -->|"queries RIPEstat"| node_public_sources
node_http -->|"requests URL"| node_network_target
node_dns_email -->|"audits domain"| node_network_target
node_network -.->|"captures results"| node_results
node_subdomain -->|"exports findings"| node_results
node_passive_py -->|"writes JSON"| node_results
node_asn -->|"writes reports"| node_results
node_http -->|"writes reports"| node_results
node_dns_email -->|"writes reports"| node_results
node_reporting -->|"generates reports"| node_results

click node_cli "https://github.com/threat23/all-recon/blob/main/all_recon.sh"
click node_tk_gui "https://github.com/threat23/all-recon/blob/main/gui.py"
click node_qt_gui "https://github.com/threat23/all-recon/blob/main/gui_qt.py"
click node_validation "https://github.com/threat23/all-recon/blob/main/modules/validation.sh"
click node_network "https://github.com/threat23/all-recon/blob/main/modules/recon.sh"
click node_subdomain "https://github.com/threat23/all-recon/blob/main/modules/subdomain_finder.sh"
click node_web_vuln "https://github.com/threat23/all-recon/blob/main/modules/web_vulnerabilities.sh"
click node_whois "https://github.com/threat23/all-recon/blob/main/modules/whois_recon.sh"
click node_passive_shell "https://github.com/threat23/all-recon/blob/main/modules/passive.sh"
click node_passive_py "https://github.com/threat23/all-recon/blob/main/modules/passive.py"
click node_asn "https://github.com/threat23/all-recon/blob/main/modules/asn_recon.py"
click node_http "https://github.com/threat23/all-recon/blob/main/modules/http_fingerprint.py"
click node_dns_email "https://github.com/threat23/all-recon/blob/main/modules/dns_email_audit.py"
click node_batch "https://github.com/threat23/all-recon/blob/main/modules/batch_runner.sh"
click node_cleaner "https://github.com/threat23/all-recon/blob/main/modules/subdomain_cleaner.sh"
click node_reporting "https://github.com/threat23/all-recon/blob/main/modules/reporting.sh"

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_cli,node_tk_gui,node_qt_gui toneBlue
class node_validation,node_network,node_subdomain,node_web_vuln toneAmber
class node_whois,node_passive_shell,node_passive_py,node_asn,node_http,node_dns_email toneMint
class node_batch,node_cleaner toneRose
class node_reporting,node_results,node_operator,node_network_target,node_public_sources toneIndigo
```

## Components

### User Interfaces

- [CLI Orchestrator](https://github.com/threat23/all-recon/blob/main/all_recon.sh): `all_recon.sh`
- [Tkinter GUI](https://github.com/threat23/all-recon/blob/main/gui.py): `gui.py`
- [PyQt GUI](https://github.com/threat23/all-recon/blob/main/gui_qt.py): `gui_qt.py`

### Active Recon

- [Input Validation](https://github.com/threat23/all-recon/blob/main/modules/validation.sh): `modules/validation.sh`
- [Network Recon](https://github.com/threat23/all-recon/blob/main/modules/recon.sh): `modules/recon.sh`
- [Subdomain Discovery](https://github.com/threat23/all-recon/blob/main/modules/subdomain_finder.sh): `modules/subdomain_finder.sh`
- [Web Vulnerability Scans](https://github.com/threat23/all-recon/blob/main/modules/web_vulnerabilities.sh): `modules/web_vulnerabilities.sh`

### Passive Enrichment

- [WHOIS Recon](https://github.com/threat23/all-recon/blob/main/modules/whois_recon.sh): `modules/whois_recon.sh`
- [Passive OSINT Runner](https://github.com/threat23/all-recon/blob/main/modules/passive.sh): `modules/passive.sh`
- [Passive Data Collection](https://github.com/threat23/all-recon/blob/main/modules/passive.py): `modules/passive.py`
- [ASN Enrichment](https://github.com/threat23/all-recon/blob/main/modules/asn_recon.py): `modules/asn_recon.py`
- [HTTP TLS Fingerprinting](https://github.com/threat23/all-recon/blob/main/modules/http_fingerprint.py): `modules/http_fingerprint.py`
- [DNS Email Audit](https://github.com/threat23/all-recon/blob/main/modules/dns_email_audit.py): `modules/dns_email_audit.py`

### Workflow Operations

- [Batch Runner](https://github.com/threat23/all-recon/blob/main/modules/batch_runner.sh): `modules/batch_runner.sh`
- [Subdomain Cleaning](https://github.com/threat23/all-recon/blob/main/modules/subdomain_cleaner.sh): `modules/subdomain_cleaner.sh`

### Results

- [Report Generation](https://github.com/threat23/all-recon/blob/main/modules/reporting.sh): `modules/reporting.sh`
- **Scan Reports**

### Other components

- **Pentester**
- **Network Targets**
- **Public Data Sources**

## Connections

- Pentester → CLI Orchestrator: runs scans (evidence: `README.md`)
- Pentester → Tkinter GUI: uses interface (evidence: `README.md`)
- Pentester → PyQt GUI: uses interface (evidence: `README.md`)
- Tkinter GUI → CLI Orchestrator: launches workflows
- PyQt GUI → CLI Orchestrator: launches workflows
- CLI Orchestrator → Input Validation: validates input
- CLI Orchestrator → Network Recon: dispatches scans (evidence: `README.md`)
- CLI Orchestrator → Subdomain Discovery: dispatches discovery (evidence: `README.md`)
- CLI Orchestrator → Web Vulnerability Scans: dispatches scans (evidence: `README.md`)
- CLI Orchestrator → WHOIS Recon: dispatches lookup (evidence: `README.md`)
- CLI Orchestrator → Passive OSINT Runner: dispatches OSINT (evidence: `README.md`)
- CLI Orchestrator → ASN Enrichment: dispatches enrichment (evidence: `README.md`)
- CLI Orchestrator → HTTP TLS Fingerprinting: dispatches fingerprinting (evidence: `README.md`)
- CLI Orchestrator → DNS Email Audit: dispatches audit (evidence: `README.md`)
- CLI Orchestrator → Batch Runner: dispatches targets (evidence: `README.md`)
- CLI Orchestrator → Report Generation: requests reports (evidence: `README.md`)
- Passive OSINT Runner → Passive Data Collection: runs collector
- Subdomain Discovery → Subdomain Cleaning: cleans results (evidence: `README.md`)
- Network Recon → Network Targets: scans hosts (evidence: `README.md`)
- Subdomain Discovery → Network Targets: enumerates domain (evidence: `README.md`)
- Passive Data Collection → Public Data Sources: queries sources (evidence: `modules/passive.py`)
- ASN Enrichment → Public Data Sources: queries RIPEstat (evidence: `modules/asn_recon.py`)
- HTTP TLS Fingerprinting → Network Targets: requests URL (evidence: `modules/http_fingerprint.py`)
- DNS Email Audit → Network Targets: audits domain (evidence: `modules/dns_email_audit.py`)
- Network Recon → Scan Reports: captures results
- Subdomain Discovery → Scan Reports: exports findings (evidence: `README.md`)
- Passive Data Collection → Scan Reports: writes JSON (evidence: `modules/passive.py`)
- ASN Enrichment → Scan Reports: writes reports (evidence: `modules/asn_recon.py`)
- HTTP TLS Fingerprinting → Scan Reports: writes reports (evidence: `modules/http_fingerprint.py`)
- DNS Email Audit → Scan Reports: writes reports (evidence: `modules/dns_email_audit.py`)
- Report Generation → Scan Reports: generates reports (evidence: `README.md`)
