# logmagic/web architecture

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

- Interactive diagram: https://gitdiagram.com/logmagic/web
- Repository: https://github.com/logmagic/web

## Overview

This repository is a Chinese cybersecurity course-material collection, not a runnable application. Its user workflow is to study lesson materials and complete the accompanying exercises; the tree documents lessons on PHP fundamentals and several web vulnerabilities. The graph groups those documented topics into broad learning areas. No README or source excerpts were provided, so relationships between lessons and materials are not asserted; folders such as media are represented through their lesson rather than as separate runtime components.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_basics["Foundations"]
  node_php["PHP Fundamentals<br/>[1.php语言基础.md]"]
end

subgraph group_server["Server-Side Vulnerabilities"]
  node_sqli["SQL Injection<br/>[3.SQL注入实战.md]"]
  node_command["Command Execution<br/>[代码_命令执行.md]"]
  node_upload["File Upload<br/>[文件上传.md]"]
  node_include["File Inclusion<br/>[文件包含.md]"]
end

subgraph group_web["Web Vulnerabilities"]
  node_xss["XSS<br/>[XSS学习.md]"]
  node_csrf["CSRF<br/>[CSRF漏洞学习.md]"]
end

subgraph group_advanced["Advanced Topics"]
  node_ssrf["SSRF<br/>[SSRF学习.md]"]
  node_xxe["XXE<br/>[XXE学习文档.md]"]
end

click node_php "https://github.com/logmagic/web/blob/main/%E7%AC%AC%E4%B8%80%E8%8A%82%E8%AF%BE/1.php%E8%AF%AD%E8%A8%80%E5%9F%BA%E7%A1%80.md"
click node_sqli "https://github.com/logmagic/web/blob/main/%E7%AC%AC2%E8%8A%82%E8%AF%BE/3.SQL%E6%B3%A8%E5%85%A5%E5%AE%9E%E6%88%98.md"
click node_command "https://github.com/logmagic/web/blob/main/%E7%AC%AC%E4%B8%89%E8%8A%82%E8%AF%BE/%E4%BB%A3%E7%A0%81_%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C.md"
click node_upload "https://github.com/logmagic/web/blob/main/%E7%AC%AC%E5%9B%9B%E8%8A%82%E8%AF%BE/%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0.md"
click node_include "https://github.com/logmagic/web/blob/main/%E7%AC%AC%E4%BA%94%E8%8A%82%E8%AF%BE/%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB.md"
click node_xss "https://github.com/logmagic/web/blob/main/%E7%AC%AC%E5%85%AD%E8%8A%82%E8%AF%BE/XSS%E5%AD%A6%E4%B9%A0.md"
click node_csrf "https://github.com/logmagic/web/blob/main/%E7%AC%AC%E5%8D%81%E4%B8%80%E8%8A%82%E8%AF%BE/CSRF%E6%BC%8F%E6%B4%9E%E5%AD%A6%E4%B9%A0.md"
click node_ssrf "https://github.com/logmagic/web/blob/main/%E7%AC%AC%E4%B8%83%E8%8A%82%E8%AF%BE/SSRF%E5%AD%A6%E4%B9%A0.md"
click node_xxe "https://github.com/logmagic/web/blob/main/%E7%AC%AC%E5%8D%81%E8%8A%82%E8%AF%BE/XXE%E5%AD%A6%E4%B9%A0%E6%96%87%E6%A1%A3.md"

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_php toneBlue
class node_sqli,node_command,node_upload,node_include toneAmber
class node_xss,node_csrf toneMint
class node_ssrf,node_xxe toneRose
```

## Components

### Foundations

- [PHP Fundamentals](https://github.com/logmagic/web/blob/main/%E7%AC%AC%E4%B8%80%E8%8A%82%E8%AF%BE/1.php%E8%AF%AD%E8%A8%80%E5%9F%BA%E7%A1%80.md): `第一节课/1.php语言基础.md`

### Server-Side Vulnerabilities

- [SQL Injection](https://github.com/logmagic/web/blob/main/%E7%AC%AC2%E8%8A%82%E8%AF%BE/3.SQL%E6%B3%A8%E5%85%A5%E5%AE%9E%E6%88%98.md): `第2节课/3.SQL注入实战.md`
- [Command Execution](https://github.com/logmagic/web/blob/main/%E7%AC%AC%E4%B8%89%E8%8A%82%E8%AF%BE/%E4%BB%A3%E7%A0%81_%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C.md): `第三节课/代码_命令执行.md`
- [File Upload](https://github.com/logmagic/web/blob/main/%E7%AC%AC%E5%9B%9B%E8%8A%82%E8%AF%BE/%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0.md): `第四节课/文件上传.md`
- [File Inclusion](https://github.com/logmagic/web/blob/main/%E7%AC%AC%E4%BA%94%E8%8A%82%E8%AF%BE/%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB.md): `第五节课/文件包含.md`

### Web Vulnerabilities

- [XSS](https://github.com/logmagic/web/blob/main/%E7%AC%AC%E5%85%AD%E8%8A%82%E8%AF%BE/XSS%E5%AD%A6%E4%B9%A0.md): `第六节课/XSS学习.md`
- [CSRF](https://github.com/logmagic/web/blob/main/%E7%AC%AC%E5%8D%81%E4%B8%80%E8%8A%82%E8%AF%BE/CSRF%E6%BC%8F%E6%B4%9E%E5%AD%A6%E4%B9%A0.md): `第十一节课/CSRF漏洞学习.md`

### Advanced Topics

- [SSRF](https://github.com/logmagic/web/blob/main/%E7%AC%AC%E4%B8%83%E8%8A%82%E8%AF%BE/SSRF%E5%AD%A6%E4%B9%A0.md): `第七节课/SSRF学习.md`
- [XXE](https://github.com/logmagic/web/blob/main/%E7%AC%AC%E5%8D%81%E8%8A%82%E8%AF%BE/XXE%E5%AD%A6%E4%B9%A0%E6%96%87%E6%A1%A3.md): `第十节课/XXE学习文档.md`
