# ezgisu/omniprobe-scanner architecture

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

- Interactive diagram: https://gitdiagram.com/ezgisu/omniprobe-scanner
- Repository: https://github.com/ezgisu/omniprobe-scanner

## Overview

OmniProbe is a web-based vulnerability assessment tool. Users select a target and scan mode, follow live progress and logs, then review findings and export a report. The backend runs scans asynchronously, retains scan state in memory, and exposes status and report endpoints. The README documents the scanner phases and optional WordPress deep scan; the sampled scanner excerpt confirms portions of service discovery, crawling, and finding processing, but not every phase’s implementation details.

Main entry points: [`backend/scanner.py`](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py) (Scan engine), [`backend/main.py`](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/main.py) (Scan API), [`frontend/src/App.jsx`](https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/App.jsx) (Application shell), [`frontend/src/components/ProgressBar.jsx`](https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/components/ProgressBar.jsx) (Progress and logs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["User interface"]
  node_app["Application shell<br/>[App.jsx]"]
  node_input["Target and mode<br/>[InputForm.jsx]"]
  node_progress["Progress and logs<br/>[ProgressBar.jsx]"]
end

subgraph group_service["Scan service"]
  node_api["Scan API<br/>[main.py]"]
  node_state[("In-memory scan state<br/>[main.py]")]
end

subgraph group_assessment["Assessment phases"]
  node_engine["Scan engine<br/>[scanner.py]"]
  node_ports["Port discovery<br/>[scanner.py]"]
  node_services["Service discovery<br/>[scanner.py]"]
  node_crawl["Endpoint crawling<br/>[scanner.py]"]
  node_vuln["Vulnerability checks<br/>[scanner.py]"]
  node_fuzz["Deep-mode fuzzing<br/>[scanner.py]"]
  node_wp["WordPress deep scan<br/>[scanner.py]"]
  node_nmap{{"Nmap"}}
  node_httpx{{"Httpx"}}
  node_katana{{"Katana"}}
  node_nuclei{{"Nuclei"}}
  node_wapiti{{"Wapiti"}}
  node_wpprobe{{"WPProbe"}}
end

subgraph group_reporting["Reporting"]
  node_reportview["Findings report<br/>[ReportView.jsx]"]
  node_pdf["PDF layout<br/>[PDFLayout.jsx]"]
end

node_user(("Security user"))

node_user -->|"uses"| node_app
node_app -->|"renders"| node_input
node_input -->|"starts scan"| node_api
node_app -->|"renders"| node_progress
node_progress -->|"polls and stops"| node_api
node_progress -->|"returns results"| node_app
node_app -->|"renders"| node_reportview
node_reportview -->|"fetches scan data"| node_api
node_api -->|"reads and writes"| node_state
node_api -->|"dispatches scan"| node_engine
node_engine -->|"performs"| node_ports
node_engine -->|"performs"| node_services
node_engine -->|"performs"| node_crawl
node_engine -->|"performs"| node_vuln
node_engine -->|"performs"| node_fuzz
node_api -->|"dispatches action"| node_wp
node_ports -->|"uses"| node_nmap
node_services -->|"uses"| node_httpx
node_crawl -->|"uses"| node_katana
node_vuln -->|"uses"| node_nuclei
node_fuzz -->|"uses"| node_wapiti
node_wp -->|"uses"| node_wpprobe
node_reportview -.->|"exports report"| node_pdf

click node_app "https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/App.jsx"
click node_input "https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/components/InputForm.jsx"
click node_progress "https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/components/ProgressBar.jsx"
click node_reportview "https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/components/ReportView.jsx"
click node_pdf "https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/components/PDFLayout.jsx"
click node_api "https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/main.py"
click node_state "https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/main.py"
click node_engine "https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py"
click node_ports "https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py"
click node_services "https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py"
click node_crawl "https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py"
click node_vuln "https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py"
click node_fuzz "https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py"
click node_wp "https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/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_app,node_input,node_progress,node_user toneBlue
class node_api,node_state toneAmber
class node_engine,node_ports,node_services,node_crawl,node_vuln,node_fuzz,node_wp,node_nmap,node_httpx,node_katana,node_nuclei,node_wapiti,node_wpprobe toneMint
class node_reportview,node_pdf toneRose
```

## Components

### User interface

- [Application shell](https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Target and mode](https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/components/InputForm.jsx): `frontend/src/components/InputForm.jsx`
- [Progress and logs](https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/components/ProgressBar.jsx): `frontend/src/components/ProgressBar.jsx`

### Scan service

- [Scan API](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/main.py): `backend/main.py`
- [In-memory scan state](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/main.py): `backend/main.py`

### Assessment phases

- [Scan engine](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py): `backend/scanner.py`
- [Port discovery](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py): `backend/scanner.py`
- [Service discovery](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py): `backend/scanner.py`
- [Endpoint crawling](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py): `backend/scanner.py`
- [Vulnerability checks](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py): `backend/scanner.py`
- [Deep-mode fuzzing](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py): `backend/scanner.py`
- [WordPress deep scan](https://github.com/ezgisu/omniprobe-scanner/blob/main/backend/scanner.py): `backend/scanner.py`
- **Nmap**
- **Httpx**
- **Katana**
- **Nuclei**
- **Wapiti**
- **WPProbe**

### Reporting

- [Findings report](https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/components/ReportView.jsx): `frontend/src/components/ReportView.jsx`
- [PDF layout](https://github.com/ezgisu/omniprobe-scanner/blob/main/frontend/src/components/PDFLayout.jsx): `frontend/src/components/PDFLayout.jsx`

### Other components

- **Security user**

## Connections

- Security user → Application shell: uses (evidence: `README.md`)
- Application shell → Target and mode: renders (evidence: `frontend/src/App.jsx`)
- Target and mode → Scan API: starts scan (evidence: `frontend/src/components/InputForm.jsx`)
- Application shell → Progress and logs: renders (evidence: `frontend/src/App.jsx`)
- Progress and logs → Scan API: polls and stops (evidence: `frontend/src/components/ProgressBar.jsx`)
- Progress and logs → Application shell: returns results (evidence: `frontend/src/App.jsx`)
- Application shell → Findings report: renders (evidence: `frontend/src/App.jsx`)
- Findings report → Scan API: fetches scan data (evidence: `frontend/src/components/ReportView.jsx`)
- Scan API → In-memory scan state: reads and writes (evidence: `backend/main.py`)
- Scan API → Scan engine: dispatches scan (evidence: `backend/main.py`)
- Scan engine → Port discovery: performs (evidence: `README.md`)
- Scan engine → Service discovery: performs (evidence: `README.md`)
- Scan engine → Endpoint crawling: performs (evidence: `README.md`)
- Scan engine → Vulnerability checks: performs (evidence: `README.md`)
- Scan engine → Deep-mode fuzzing: performs (evidence: `README.md`)
- Scan API → WordPress deep scan: dispatches action (evidence: `backend/main.py`)
- Port discovery → Nmap: uses (evidence: `README.md`)
- Service discovery → Httpx: uses (evidence: `README.md`)
- Endpoint crawling → Katana: uses (evidence: `README.md`)
- Vulnerability checks → Nuclei: uses (evidence: `README.md`)
- Deep-mode fuzzing → Wapiti: uses (evidence: `README.md`)
- WordPress deep scan → WPProbe: uses (evidence: `README.md`)
- Findings report → PDF layout: exports report
