# tyleraltight/safeexambrowser_bypass architecture

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

- Interactive diagram: https://gitdiagram.com/tyleraltight/safeexambrowser_bypass
- Repository: https://github.com/tyleraltight/safeexambrowser_bypass

## Overview

This repository is a Safe Exam Browser (SEB) analysis and VMware-bypass toolkit. Its user workflow starts at the Python CLI, which runs environment, process, keyboard/input, and optional configuration analysis, or invokes patching, VMware configuration, and log operations. Separately, two C# patchers modify SEB assemblies for VM-detection and display-validation bypasses. The graph preserves the indexed analysis modules and the documented patcher capabilities; links among unsampled internals are omitted unless documented.

Main entry points: [`tools/main.py`](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/main.py) (Command interface), [`tools/utils.py`](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/utils.py) (Shared utilities), [`tools/dll_patcher.py`](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/dll_patcher.py) (DLL patch workflow), [`tools/vmx_helper.py`](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/vmx_helper.py) (VMX helper)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cli["Python CLI"]
  node_cli["Command interface<br/>[main.py]"]
end

subgraph group_analysis["Analysis Tools"]
  node_config["Config analyzer<br/>[config_analyzer.py]"]
  node_environment["Environment detector<br/>[env_detector.py]"]
  node_process["Process monitor<br/>[process_monitor.py]"]
  node_keyboard["Keyboard analysis<br/>[kbypass.py]"]
  node_logs["Log scanner and cleaner<br/>[log_cleaner.py]"]
  node_utilities["Shared utilities<br/>[utils.py]"]
end

subgraph group_vmconfig["VM Configuration"]
  node_vmx["VMX helper<br/>[vmx_helper.py]"]
end

subgraph group_patching["SEB Patching"]
  node_dlltools["DLL patch workflow<br/>[dll_patcher.py]"]
  node_sebpatch["VM detection patcher<br/>[Program.cs]"]
  node_displaypatch["Display validation patcher<br/>[Program.cs]"]
  node_bypassclipboard["Clipboard bypass"]
  node_bypasshook["Hook bypass<br/>[hook_bypass.py]"]
  node_bypasswindow["Window bypass<br/>[window_bypass.py]"]
end

node_user(("Toolkit user"))
node_sebfiles["SEB installation files"]
node_vmxfiles["VMware VMX files"]
node_seb_logs["SEB log files"]
node_download(("Patched-file source"))

node_user -->|"runs commands"| node_cli
node_cli -->|"analyzes configs"| node_config
node_cli -->|"scans environment"| node_environment
node_cli -->|"monitors processes"| node_process
node_cli -->|"checks input"| node_keyboard
node_cli -->|"runs patch workflow"| node_dlltools
node_cli -->|"configures VMX"| node_vmx
node_cli -->|"scans or cleans"| node_logs
node_config -->|"uses helpers"| node_utilities
node_environment -->|"uses helpers"| node_utilities
node_process -->|"uses helpers"| node_utilities
node_keyboard -->|"uses helpers"| node_utilities
node_dlltools -->|"uses helpers"| node_utilities
node_dlltools -->|"downloads files"| node_download
node_dlltools -->|"backs up and replaces"| node_sebfiles
node_user -->|"runs patcher"| node_sebpatch
node_user -->|"runs patcher"| node_displaypatch
node_sebpatch -->|"patches VM checks"| node_sebfiles
node_displaypatch -->|"patches display checks"| node_sebfiles
node_user -->|"applies settings"| node_vmx
node_vmx -->|"reads and writes"| node_vmxfiles
node_logs -->|"scans or edits"| node_seb_logs

click node_cli "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/main.py"
click node_config "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/config_analyzer.py"
click node_environment "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/env_detector.py"
click node_process "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/process_monitor.py"
click node_keyboard "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/kbypass.py"
click node_dlltools "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/dll_patcher.py"
click node_logs "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/log_cleaner.py"
click node_vmx "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/vmx_helper.py"
click node_utilities "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/utils.py"
click node_sebpatch "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/seb-patcher/Program.cs"
click node_displaypatch "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/display-patcher/Program.cs"
click node_bypassclipboard "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/bypass/clipboard_bypass.py"
click node_bypasshook "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/bypass/hook_bypass.py"
click node_bypasswindow "https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/bypass/window_bypass.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_cli,node_user toneBlue
class node_config,node_environment,node_process,node_keyboard,node_logs,node_utilities toneAmber
class node_vmx toneMint
class node_dlltools,node_sebpatch,node_displaypatch,node_bypassclipboard,node_bypasshook,node_bypasswindow toneRose
class node_sebfiles,node_vmxfiles,node_seb_logs,node_download toneIndigo
```

## Components

### Python CLI

- [Command interface](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/main.py): `tools/main.py`

### Analysis Tools

- [Config analyzer](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/config_analyzer.py): `tools/config_analyzer.py`
- [Environment detector](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/env_detector.py): `tools/env_detector.py`
- [Process monitor](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/process_monitor.py): `tools/process_monitor.py`
- [Keyboard analysis](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/kbypass.py): `tools/kbypass.py`
- [Log scanner and cleaner](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/log_cleaner.py): `tools/log_cleaner.py`
- [Shared utilities](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/utils.py): `tools/utils.py`

### VM Configuration

- [VMX helper](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/vmx_helper.py): `tools/vmx_helper.py`

### SEB Patching

- [DLL patch workflow](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/tools/dll_patcher.py): `tools/dll_patcher.py`
- [VM detection patcher](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/seb-patcher/Program.cs): `seb-patcher/Program.cs`
- [Display validation patcher](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/display-patcher/Program.cs): `display-patcher/Program.cs`
- [Clipboard bypass](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/bypass/clipboard_bypass.py): `bypass/clipboard_bypass.py`
- [Hook bypass](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/bypass/hook_bypass.py): `bypass/hook_bypass.py`
- [Window bypass](https://github.com/tyleraltight/safeexambrowser_bypass/blob/main/bypass/window_bypass.py): `bypass/window_bypass.py`

### Other components

- **Toolkit user**
- **SEB installation files**
- **VMware VMX files**
- **SEB log files**
- **Patched-file source**

## Connections

- Toolkit user → Command interface: runs commands (evidence: `tools/main.py`)
- Command interface → Config analyzer: analyzes configs (evidence: `tools/main.py`)
- Command interface → Environment detector: scans environment (evidence: `tools/main.py`)
- Command interface → Process monitor: monitors processes (evidence: `tools/main.py`)
- Command interface → Keyboard analysis: checks input (evidence: `tools/main.py`)
- Command interface → DLL patch workflow: runs patch workflow (evidence: `tools/main.py`)
- Command interface → VMX helper: configures VMX (evidence: `tools/main.py`)
- Command interface → Log scanner and cleaner: scans or cleans (evidence: `tools/main.py`)
- Config analyzer → Shared utilities: uses helpers (evidence: `tools/config_analyzer.py`)
- Environment detector → Shared utilities: uses helpers (evidence: `tools/env_detector.py`)
- Process monitor → Shared utilities: uses helpers (evidence: `tools/process_monitor.py`)
- Keyboard analysis → Shared utilities: uses helpers (evidence: `tools/kbypass.py`)
- DLL patch workflow → Shared utilities: uses helpers (evidence: `tools/main.py`)
- DLL patch workflow → Patched-file source: downloads files (evidence: `tools/dll_patcher.py`)
- DLL patch workflow → SEB installation files: backs up and replaces (evidence: `tools/dll_patcher.py`)
- Toolkit user → VM detection patcher: runs patcher (evidence: `README.md`)
- Toolkit user → Display validation patcher: runs patcher (evidence: `README.md`)
- VM detection patcher → SEB installation files: patches VM checks (evidence: `README.md`)
- Display validation patcher → SEB installation files: patches display checks (evidence: `README.md`)
- Toolkit user → VMX helper: applies settings
- VMX helper → VMware VMX files: reads and writes (evidence: `tools/vmx_helper.py`)
- Log scanner and cleaner → SEB log files: scans or edits (evidence: `tools/log_cleaner.py`)
