From 9dd4a7ee58ec80e157083eef3c3d8a04ac678362 Mon Sep 17 00:00:00 2001 From: shiva108 Date: Tue, 3 Feb 2026 18:55:48 +0100 Subject: [PATCH] docs: replace text-based lab topology diagram with a Mermaid diagram for improved visualization --- ...r_07_Lab_Setup_and_Environmental_Safety.md | 41 +++++++++++++------ 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/docs/Chapter_07_Lab_Setup_and_Environmental_Safety.md b/docs/Chapter_07_Lab_Setup_and_Environmental_Safety.md index 7a75f00..cf47651 100644 --- a/docs/Chapter_07_Lab_Setup_and_Environmental_Safety.md +++ b/docs/Chapter_07_Lab_Setup_and_Environmental_Safety.md @@ -71,19 +71,34 @@ A lead architect must choose the appropriate layer for segmentation based on the Below is the logical topology for a standard isolated red team lab. -```text -[Internet] - | - x <--- [Firewall / Egress Filter] - | -[Gateway / Proxy Host] <--- (Mitmproxy / Logging) - | - +---------------------------+---------------------------+ - | | | -[Attack Workstation] [Inference Server] [Target Application] -(Kali / Scripts) (vLLM / Ollama) (RAG Database / Tools) - | | | - +---- (Isolated VLAN) ------+---------------------------+ +```mermaid +graph TD + %% Deus Ex Theme - Black & Gold + classDef deusEx fill:#000000,stroke:#D4AF37,stroke-width:2px,color:#D4AF37,font-family:monospace,font-size:14px; + classDef deusExCluster fill:#050505,stroke:#D4AF37,stroke-width:1px,stroke-dasharray: 5 5,color:#D4AF37,font-family:monospace; + + Internet[Internet]:::deusEx + Firewall[Firewall / Egress Filter]:::deusEx + Gateway[Gateway / Proxy Host]:::deusEx + Mitmproxy(Mitmproxy / Logging):::deusEx + + Internet --x|Blocked| Firewall + Firewall --> Gateway + Gateway -.- Mitmproxy + + subgraph Isolated_VLAN [Isolated VLAN] + direction TB + Attack["Attack Workstation
(Kali / Scripts)"]:::deusEx + Inference["Inference Server
(vLLM / Ollama)"]:::deusEx + Target["Target Application
(RAG Database / Tools)"]:::deusEx + end + class Isolated_VLAN deusExCluster + + Gateway --> Attack + Gateway --> Inference + Gateway --> Target + + linkStyle default stroke:#D4AF37,stroke-width:2px,color:#D4AF37,stroke-dasharray: 0; ``` ### Mechanistic Explanation