# e4zyy/all-in-one-bug-scanner architecture

> Architecture diagram of the GitHub repository e4zyy/all-in-one-bug-scanner, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/e4zyy/all-in-one-bug-scanner
- Repository: https://github.com/e4zyy/all-in-one-bug-scanner

## Overview

All In One Bug Scanner is a single-file, authorized-testing scanner. Its documented workflow accepts a target and scan options, discovers same-host URLs and input points, runs selected security checks, and writes timestamped TXT/JSON findings with an audit queue. The README also documents baseline/delta scoring, payload mutation, and optional passive takeover checks using crt.sh. The excerpts show portions of the HTTP client, crawler, checks, and report implementation; connections among unsampled components are based on README descriptions rather than inspected dispatch code.

Main entry points: [`all-in-one-bug-scanner.py`](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py) (Finding and audit queue)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_orchestration["Scan orchestration"]
  node_scanner["Scanner CLI"]
  node_http["HTTP client"]
  node_baseline["Baseline scoring"]
end

subgraph group_discovery["Target discovery"]
  node_crawler["URL and form crawler"]
  node_points["Input point builder"]
end

subgraph group_checks["Security checks"]
  node_sqli["SQL injection checks"]
  node_xss["Reflected XSS checks"]
  node_injection["Other injection checks"]
  node_misconfig["Misconfiguration checks"]
  node_access["Access checks"]
  node_sensitive["Sensitive exposure checks"]
  node_auth["Authentication checks"]
  node_csrf["CSRF indicators"]
  node_takeover["Takeover checks"]
end

subgraph group_results["Findings and reports"]
  node_findings[("Finding and audit queue")]
  node_reports["TXT and JSON reports"]
end

node_operator(("Authorized tester"))
node_crtsh["crt.sh data"]
node_target["Authorized target"]

node_operator -->|"configures scan"| node_scanner
node_scanner -->|"starts discovery"| node_crawler
node_crawler -->|"requests pages"| node_target
node_crawler -->|"discovers inputs"| node_points
node_points -->|"tests parameters"| node_sqli
node_points -->|"tests parameters"| node_xss
node_points -->|"tests parameters"| node_injection
node_scanner -->|"runs checks"| node_misconfig
node_scanner -->|"runs checks"| node_access
node_scanner -->|"runs checks"| node_sensitive
node_scanner -->|"runs checks"| node_auth
node_scanner -->|"runs checks"| node_csrf
node_scanner -->|"optionally runs"| node_takeover
node_takeover -->|"queries records"| node_crtsh
node_sqli -->|"scores deltas"| node_baseline
node_xss -->|"scores deltas"| node_baseline
node_injection -->|"scores deltas"| node_baseline
node_sqli -->|"records leads"| node_findings
node_xss -->|"records leads"| node_findings
node_injection -->|"records leads"| node_findings
node_misconfig -->|"records leads"| node_findings
node_access -->|"records leads"| node_findings
node_sensitive -->|"records leads"| node_findings
node_auth -->|"records leads"| node_findings
node_csrf -->|"records leads"| node_findings
node_takeover -->|"records leads"| node_findings
node_findings -->|"writes reports"| node_reports

click node_scanner "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_http "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_baseline "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_crawler "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_points "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_sqli "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_xss "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_injection "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_misconfig "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_access "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_sensitive "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_auth "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_csrf "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_takeover "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_findings "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py"
click node_reports "https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.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_scanner,node_http,node_baseline toneBlue
class node_crawler,node_points toneAmber
class node_sqli,node_xss,node_injection,node_misconfig,node_access,node_sensitive,node_auth,node_csrf,node_takeover toneMint
class node_findings,node_reports toneRose
class node_operator,node_crtsh,node_target toneIndigo
```

## Components

### Scan orchestration

- [Scanner CLI](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [HTTP client](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [Baseline scoring](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`

### Target discovery

- [URL and form crawler](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [Input point builder](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`

### Security checks

- [SQL injection checks](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [Reflected XSS checks](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [Other injection checks](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [Misconfiguration checks](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [Access checks](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [Sensitive exposure checks](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [Authentication checks](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [CSRF indicators](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [Takeover checks](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`

### Findings and reports

- [Finding and audit queue](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`
- [TXT and JSON reports](https://github.com/e4zyy/all-in-one-bug-scanner/blob/main/all-in-one-bug-scanner.py): `all-in-one-bug-scanner.py`

### Other components

- **Authorized tester**
- **crt.sh data**
- **Authorized target**

## Connections

- Authorized tester → Scanner CLI: configures scan (evidence: `README.md`)
- Scanner CLI → URL and form crawler: starts discovery (evidence: `README.md`)
- URL and form crawler → Authorized target: requests pages (evidence: `README.md`)
- URL and form crawler → Input point builder: discovers inputs (evidence: `README.md`)
- Input point builder → SQL injection checks: tests parameters (evidence: `README.md`)
- Input point builder → Reflected XSS checks: tests parameters (evidence: `README.md`)
- Input point builder → Other injection checks: tests parameters (evidence: `README.md`)
- Scanner CLI → Misconfiguration checks: runs checks (evidence: `README.md`)
- Scanner CLI → Access checks: runs checks (evidence: `README.md`)
- Scanner CLI → Sensitive exposure checks: runs checks (evidence: `README.md`)
- Scanner CLI → Authentication checks: runs checks (evidence: `README.md`)
- Scanner CLI → CSRF indicators: runs checks (evidence: `README.md`)
- Scanner CLI → Takeover checks: optionally runs (evidence: `README.md`)
- Takeover checks → crt.sh data: queries records (evidence: `README.md`)
- SQL injection checks → Baseline scoring: scores deltas (evidence: `README.md`)
- Reflected XSS checks → Baseline scoring: scores deltas (evidence: `README.md`)
- Other injection checks → Baseline scoring: scores deltas (evidence: `README.md`)
- SQL injection checks → Finding and audit queue: records leads (evidence: `README.md`)
- Reflected XSS checks → Finding and audit queue: records leads (evidence: `README.md`)
- Other injection checks → Finding and audit queue: records leads (evidence: `README.md`)
- Misconfiguration checks → Finding and audit queue: records leads (evidence: `README.md`)
- Access checks → Finding and audit queue: records leads (evidence: `README.md`)
- Sensitive exposure checks → Finding and audit queue: records leads (evidence: `README.md`)
- Authentication checks → Finding and audit queue: records leads (evidence: `README.md`)
- CSRF indicators → Finding and audit queue: records leads (evidence: `README.md`)
- Takeover checks → Finding and audit queue: records leads (evidence: `README.md`)
- Finding and audit queue → TXT and JSON reports: writes reports (evidence: `README.md`)
