# mauriceos/payloadsallthethings architecture

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

- Interactive diagram: https://gitdiagram.com/mauriceos/payloadsallthethings
- Repository: https://github.com/mauriceos/payloadsallthethings

## Overview

#### Purpose and Entry Points
This is a version-controlled security knowledge base, not an executable application. It publishes web-application-security payloads, exploitation notes, and supporting artifacts. Primary reader entry points are `README.md`, category landing pages such as `SQL Injection/README.md`, and the generated documentation site configured by `mkdocs.yml`.

#### Content Taxonomy
Top-level directories are vulnerability domains; each acts as an independently navigable chapter. Core examples include `XSS Injection/README.md`, `SQL Injection/README.md`, and `Server Side Request Forgery/README.md`. Category READMEs provide the canonical explanation/payload index, while focused subpages cover technology- or technique-specific variants, e.g. `Insecure Deserialization/Java.md` and `Server Side Template Injection/Python.md`.

#### Payload and Artifact Layer
Chapters attach reusable test inputs and proof-of-concept artifacts to their documentation. Burp-oriented wordlists reside in `Intruder` directories, e.g. `SQL Injection/Intruder/Generic_Fuzz.txt`, `XSS Injection/Intruders/XSS_Polyglots.txt`, and `Directory Traversal/Intruder/directory_traversal.txt`. Files intended for upload, parsing, or local execution reside beside their applicable chapter, e.g. `XXE Injection/Files/Classic XXE.xml`, `Server Side Request Forgery/Files/ip.py`, and `XSLT Injection/Files/xxe.xsl`.

#### Specialized Exploit Collections
Some domains are structured as larger artifact collections rather than only Markdown guidance. `Upload Insecure Files/README.md` links a heterogeneous corpus of server-side files, archive samples, and generation scripts such as `Upload Insecure Files/Extension PHP/shell.php`, `Upload Insecure Files/CVE ZIP Symbolic Link/generate.sh`, and `Upload Insecure Files/Picture Compression/createBulletproofJPG.py`. These artifacts cross runtime boundaries (PHP, Python, shell, ASP/.NET, Java/XML) and must be treated as security-testing material, not application dependencies.

#### Documentation Publishing Boundary
MkDocs is the repository’s material runtime: it transforms Markdown and static assets into the alternative hosted documentation site. `mkdocs.yml` is the site assembly/configuration boundary; `custom.css` and `.github/overrides/main.html` customize presentation. Images and binary examples remain source-controlled within chapters, such as `SAML Injection/Images` and `Web Sockets/Images`.

#### Contribution Model and Template
New vulnerability chapters should follow the established chapter contract: explanatory README plus optional payload lists, images, and referenced files. `_template_vuln/README.md` is the scaffold; `CONTRIBUTING.md` defines contribution expectations. This keeps documentation navigation and artifact placement consistent without a centralized content-generation program.

#### CI and External Infrastructure
GitHub Actions validates Markdown and documentation builds through `.github/workflows/check-markdown.yml` and `.github/workflows/mkdocs-build.yml`. GitHub is the source-control, CI, sponsorship, and likely static-hosting platform; the published site is referenced from `README.md`. No application database, API service, or deployed backend is represented in the repository.

Main entry points: [`mkdocs.yml`](https://github.com/mauriceos/payloadsallthethings/blob/master/mkdocs.yml) (MkDocs assembly), [`README.md`](https://github.com/mauriceos/payloadsallthethings/blob/master/README.md) (Repository entry), [`SQL Injection/README.md`](https://github.com/mauriceos/payloadsallthethings/blob/master/SQL%20Injection/README.md) (SQL injection chapter), [`XSS Injection/README.md`](https://github.com/mauriceos/payloadsallthethings/blob/master/XSS%20Injection/README.md) (XSS chapter)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Knowledge chapters"]
  node_root_readme["Repository entry<br/>Markdown index<br/>[README.md]"]
  node_sqli_chapter["SQL injection chapter<br/>chapter README<br/>[README.md]"]
  node_xss_chapter["XSS chapter<br/>chapter README<br/>[README.md]"]
  node_ssrf_chapter["SSRF chapter<br/>chapter README<br/>[README.md]"]
  node_focused_pages["Technique subpages<br/>specialized Markdown<br/>[Java.md]"]
end

subgraph group_artifacts["Security-testing artifacts"]
  node_wordlists["Intruder wordlists<br/>fuzz payload lists<br/>[Generic_Fuzz.txt]"]
  node_chapter_files["Chapter test files<br/>PoC artifacts<br/>[Classic XXE.xml]"]
  node_upload_collection["Upload exploit corpus<br/>multi-runtime artifacts<br/>[README.md]"]
  node_static_assets["Chapter images<br/>static assets"]
end

subgraph group_publishing["Publishing and validation"]
  node_mkdocs{{"MkDocs assembly<br/>site configuration<br/>[mkdocs.yml]"}}
  node_presentation["Site presentation overrides<br/>theme customization<br/>[custom.css]"]
  node_markdown_ci{{"Markdown validation<br/>GitHub Actions workflow<br/>[check-markdown.yml]"}}
  node_docs_ci{{"Documentation build<br/>GitHub Actions workflow<br/>[mkdocs-build.yml]"}}
  node_github(("GitHub platform<br/>source control and hosting"))
end

subgraph group_contribution["Contribution model"]
  node_chapter_contract["Chapter contract<br/>content convention"]
  node_template["Vulnerability scaffold<br/>chapter template<br/>[README.md]"]
  node_contributing["Contribution guidance<br/>Markdown guide<br/>[CONTRIBUTING.md]"]
end

node_root_readme -->|"navigates to"| node_sqli_chapter
node_root_readme -->|"navigates to"| node_xss_chapter
node_root_readme -->|"navigates to"| node_ssrf_chapter
node_sqli_chapter -->|"indexes"| node_wordlists
node_xss_chapter -->|"references payload lists"| node_wordlists
node_ssrf_chapter -->|"references"| node_chapter_files
node_upload_collection -.->|"contains analogous artifacts"| node_chapter_files
node_template -->|"implements"| node_chapter_contract
node_contributing -->|"defines"| node_chapter_contract
node_chapter_contract -.->|"followed by"| node_sqli_chapter
node_chapter_contract -.->|"followed by"| node_xss_chapter
node_mkdocs -->|"publishes"| node_root_readme
node_mkdocs -->|"renders"| node_focused_pages
node_mkdocs -->|"includes"| node_static_assets
node_presentation -->|"customizes"| node_mkdocs
node_markdown_ci -->|"runs on"| node_github
node_docs_ci -->|"builds"| node_mkdocs
node_docs_ci -->|"runs on"| node_github
node_github -.->|"hosts published site"| node_mkdocs

click node_root_readme "https://github.com/mauriceos/payloadsallthethings/blob/master/README.md"
click node_sqli_chapter "https://github.com/mauriceos/payloadsallthethings/blob/master/SQL%20Injection/README.md"
click node_xss_chapter "https://github.com/mauriceos/payloadsallthethings/blob/master/XSS%20Injection/README.md"
click node_ssrf_chapter "https://github.com/mauriceos/payloadsallthethings/blob/master/Server%20Side%20Request%20Forgery/README.md"
click node_focused_pages "https://github.com/mauriceos/payloadsallthethings/blob/master/Insecure%20Deserialization/Java.md"
click node_template "https://github.com/mauriceos/payloadsallthethings/blob/master/_template_vuln/README.md"
click node_contributing "https://github.com/mauriceos/payloadsallthethings/blob/master/CONTRIBUTING.md"
click node_wordlists "https://github.com/mauriceos/payloadsallthethings/blob/master/SQL%20Injection/Intruder/Generic_Fuzz.txt"
click node_chapter_files "https://github.com/mauriceos/payloadsallthethings/blob/master/XXE%20Injection/Files/Classic%20XXE.xml"
click node_upload_collection "https://github.com/mauriceos/payloadsallthethings/blob/master/Upload%20Insecure%20Files/README.md"
click node_static_assets "https://github.com/mauriceos/payloadsallthethings/tree/master/SAML%20Injection/Images"
click node_mkdocs "https://github.com/mauriceos/payloadsallthethings/blob/master/mkdocs.yml"
click node_presentation "https://github.com/mauriceos/payloadsallthethings/blob/master/custom.css"
click node_markdown_ci "https://github.com/mauriceos/payloadsallthethings/blob/master/.github/workflows/check-markdown.yml"
click node_docs_ci "https://github.com/mauriceos/payloadsallthethings/blob/master/.github/workflows/mkdocs-build.yml"

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_root_readme,node_sqli_chapter,node_xss_chapter,node_ssrf_chapter,node_focused_pages toneBlue
class node_wordlists,node_chapter_files,node_upload_collection,node_static_assets toneAmber
class node_mkdocs,node_presentation,node_markdown_ci,node_docs_ci,node_github toneMint
class node_chapter_contract,node_template,node_contributing toneRose
```

## Components

### Knowledge chapters

Navigable vulnerability-domain documentation.

- [Repository entry](https://github.com/mauriceos/payloadsallthethings/blob/master/README.md): Markdown index · Primary reader entry point and site link. · `README.md`
- [SQL injection chapter](https://github.com/mauriceos/payloadsallthethings/blob/master/SQL%20Injection/README.md): chapter README · Canonical explanation and payload index. · `SQL Injection/README.md`
- [XSS chapter](https://github.com/mauriceos/payloadsallthethings/blob/master/XSS%20Injection/README.md): chapter README · Canonical explanation and payload index. · `XSS Injection/README.md`
- [SSRF chapter](https://github.com/mauriceos/payloadsallthethings/blob/master/Server%20Side%20Request%20Forgery/README.md): chapter README · Canonical explanation and payload index. · `Server Side Request Forgery/README.md`
- [Technique subpages](https://github.com/mauriceos/payloadsallthethings/blob/master/Insecure%20Deserialization/Java.md): specialized Markdown · Technology-specific exploitation guidance. · `Insecure Deserialization/Java.md`

### Security-testing artifacts

Chapter-local payloads and proof-of-concept files.

- [Intruder wordlists](https://github.com/mauriceos/payloadsallthethings/blob/master/SQL%20Injection/Intruder/Generic_Fuzz.txt): fuzz payload lists · Reusable inputs for proxy-based testing. · `SQL Injection/Intruder/Generic_Fuzz.txt`
- [Chapter test files](https://github.com/mauriceos/payloadsallthethings/blob/master/XXE%20Injection/Files/Classic%20XXE.xml): PoC artifacts · Upload, parsing, and local-execution test material. · `XXE Injection/Files/Classic XXE.xml`
- [Upload exploit corpus](https://github.com/mauriceos/payloadsallthethings/blob/master/Upload%20Insecure%20Files/README.md): multi-runtime artifacts · Server-side files, archives, and generation scripts for upload testing. · `Upload Insecure Files/README.md`
- [Chapter images](https://github.com/mauriceos/payloadsallthethings/tree/master/SAML%20Injection/Images): static assets · Source-controlled documentation imagery and binary examples. · `SAML Injection/Images`

### Publishing and validation

MkDocs site assembly and GitHub Actions checks.

- [MkDocs assembly](https://github.com/mauriceos/payloadsallthethings/blob/master/mkdocs.yml): site configuration · Transforms Markdown and static assets into the documentation site. · `mkdocs.yml`
- [Site presentation overrides](https://github.com/mauriceos/payloadsallthethings/blob/master/custom.css): theme customization · `custom.css`
- [Markdown validation](https://github.com/mauriceos/payloadsallthethings/blob/master/.github/workflows/check-markdown.yml): GitHub Actions workflow · `.github/workflows/check-markdown.yml`
- [Documentation build](https://github.com/mauriceos/payloadsallthethings/blob/master/.github/workflows/mkdocs-build.yml): GitHub Actions workflow · `.github/workflows/mkdocs-build.yml`
- **GitHub platform**: source control and hosting · Hosts source, CI, and likely published static site.

### Contribution model

Shared chapter conventions and contributor guidance.

- **Chapter contract**: content convention · README with optional payload lists, images, and files.
- [Vulnerability scaffold](https://github.com/mauriceos/payloadsallthethings/blob/master/_template_vuln/README.md): chapter template · Starting structure for new chapters. · `_template_vuln/README.md`
- [Contribution guidance](https://github.com/mauriceos/payloadsallthethings/blob/master/CONTRIBUTING.md): Markdown guide · `CONTRIBUTING.md`

## Connections

- Repository entry → SQL injection chapter: navigates to
- Repository entry → XSS chapter: navigates to
- Repository entry → SSRF chapter: navigates to
- SQL injection chapter → Intruder wordlists: indexes
- XSS chapter → Intruder wordlists: references payload lists
- SSRF chapter → Chapter test files: references
- Upload exploit corpus → Chapter test files: contains analogous artifacts
- Vulnerability scaffold → Chapter contract: implements
- Contribution guidance → Chapter contract: defines
- Chapter contract → SQL injection chapter: followed by
- Chapter contract → XSS chapter: followed by
- MkDocs assembly → Repository entry: publishes
- MkDocs assembly → Technique subpages: renders
- MkDocs assembly → Chapter images: includes
- Site presentation overrides → MkDocs assembly: customizes
- Markdown validation → GitHub platform: runs on
- Documentation build → MkDocs assembly: builds
- Documentation build → GitHub platform: runs on
- GitHub platform → MkDocs assembly: hosts published site
