# swisskyrepo/payloadsallthethings architecture

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

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

## Overview

Payloads All The Things is a curated web-application-security reference: users consult vulnerability chapters for attack descriptions, payloads, bypasses, and supporting files, with separate methodology and learning resources. Its principal workflow is browsing a topic and using its documented payload or exploit artifacts; the repository is content rather than an integrated execution pipeline. The README describes the per-chapter README, Intruder, Images, and Files structure. Source-indexed scripts are represented as standalone utilities; their consumers and execution paths are not established by the available evidence.

Main entry points: [`README.md`](https://github.com/swisskyrepo/payloadsallthethings/blob/master/README.md) (Topic reference), [`SQL Injection`](https://github.com/swisskyrepo/payloadsallthethings/tree/master/SQL%20Injection) (Web attack topics), [`Insecure Deserialization`](https://github.com/swisskyrepo/payloadsallthethings/tree/master/Insecure%20Deserialization) (Other attack topics), [`Methodology and Resources`](https://github.com/swisskyrepo/payloadsallthethings/tree/master/Methodology%20and%20Resources) (Pentest methodology)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_chapters["Vulnerability chapters"]
  node_index["Topic reference<br/>[README.md]"]
  node_webattacks["Web attack topics"]
  node_otherattacks["Other attack topics"]
end

subgraph group_utilities["Exploit utilities"]
  node_lfi2rce["LFI filter generator<br/>[LFI2RCE.py]"]
  node_phpinfolfi["PHPInfo LFI tool<br/>[phpinfolfi.py]"]
  node_rubygen["Ruby gadget verifier"]
  node_nodeserialize["Node serialize sample<br/>[node-serialize.js]"]
  node_ssrfip["SSRF IP variants<br/>[ip.py]"]
  node_avi_txt["HLS AVI generator<br/>[gen_avi_bypass.py]"]
  node_avi_xbin["XBIN AVI generator<br/>[gen_xbin_avi.py]"]
  node_zipinit["Python zip generator"]
  node_php_tag["PHP script-tag sample<br/>[php-script-tag.php]"]
  node_php_samples["PHP upload samples"]
  node_jpggen["Bulletproof JPEG generator"]
  node_pnggen["Compressed PNG sample"]
  node_gifgen["GIF image sample"]
  node_pltegen["PNG PLTE sample"]
  node_metadata["Image metadata builder"]
  node_wsharness["WebSocket harness<br/>[ws-harness.py]"]
end

subgraph group_fieldguide["Methodology resources"]
  node_methodology["Pentest methodology"]
end

subgraph group_learning["Learning resources"]
  node_learninglinks["Books and media"]
end

node_reader(("Security practitioner"))

node_reader -->|"browses"| node_index
node_reader -.->|"consults topics"| node_webattacks
node_reader -.->|"consults topics"| node_otherattacks
node_reader -.->|"consults"| node_methodology
node_reader -->|"consults"| node_learninglinks

click node_index "https://github.com/swisskyrepo/payloadsallthethings/blob/master/README.md"
click node_webattacks "https://github.com/swisskyrepo/payloadsallthethings/tree/master/SQL%20Injection"
click node_otherattacks "https://github.com/swisskyrepo/payloadsallthethings/tree/master/Insecure%20Deserialization"
click node_methodology "https://github.com/swisskyrepo/payloadsallthethings/tree/master/Methodology%20and%20Resources"
click node_learninglinks "https://github.com/swisskyrepo/payloadsallthethings/tree/master/_LEARNING_AND_SOCIALS"
click node_lfi2rce "https://github.com/swisskyrepo/payloadsallthethings/blob/master/File%20Inclusion/Files/LFI2RCE.py"
click node_phpinfolfi "https://github.com/swisskyrepo/payloadsallthethings/blob/master/File%20Inclusion/Files/phpinfolfi.py"
click node_rubygen "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Insecure%20Deserialization/Files/Ruby_universal_gadget_generate_verify.rb"
click node_nodeserialize "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Insecure%20Deserialization/Files/node-serialize.js"
click node_ssrfip "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Server%20Side%20Request%20Forgery/Files/ip.py"
click node_avi_txt "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/CVE%20FFmpeg%20HLS/gen_avi_bypass.py"
click node_avi_xbin "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/CVE%20FFmpeg%20HLS/gen_xbin_avi.py"
click node_zipinit "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Configuration%20Python%20__init__.py/python-generate-init.py"
click node_php_tag "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Extension%20PHP/php-script-tag.php"
click node_php_samples "https://github.com/swisskyrepo/payloadsallthethings/tree/master/Upload%20Insecure%20Files/Extension%20PHP"
click node_jpggen "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Picture%20Compression/createBulletproofJPG.py"
click node_pnggen "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Picture%20Compression/createCompressedPNG_110x110.php"
click node_gifgen "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Picture%20Compression/createGIFwithGlobalColorTable.php"
click node_pltegen "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Picture%20Compression/createPNGwithPLTE.php"
click node_metadata "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Picture%20Metadata/Build_image_to_LFI.py"
click node_wsharness "https://github.com/swisskyrepo/payloadsallthethings/blob/master/Web%20Sockets/Files/ws-harness.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_index,node_webattacks,node_otherattacks toneBlue
class node_lfi2rce,node_phpinfolfi,node_rubygen,node_nodeserialize,node_ssrfip,node_avi_txt,node_avi_xbin,node_zipinit,node_php_tag,node_php_samples,node_jpggen,node_pnggen,node_gifgen,node_pltegen,node_metadata,node_wsharness toneAmber
class node_methodology toneMint
class node_learninglinks toneRose
class node_reader toneIndigo
```

## Components

### Vulnerability chapters

- [Topic reference](https://github.com/swisskyrepo/payloadsallthethings/blob/master/README.md): `README.md`
- [Web attack topics](https://github.com/swisskyrepo/payloadsallthethings/tree/master/SQL%20Injection): `SQL Injection`
- [Other attack topics](https://github.com/swisskyrepo/payloadsallthethings/tree/master/Insecure%20Deserialization): `Insecure Deserialization`

### Exploit utilities

- [LFI filter generator](https://github.com/swisskyrepo/payloadsallthethings/blob/master/File%20Inclusion/Files/LFI2RCE.py): `File Inclusion/Files/LFI2RCE.py`
- [PHPInfo LFI tool](https://github.com/swisskyrepo/payloadsallthethings/blob/master/File%20Inclusion/Files/phpinfolfi.py): `File Inclusion/Files/phpinfolfi.py`
- [Ruby gadget verifier](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Insecure%20Deserialization/Files/Ruby_universal_gadget_generate_verify.rb): `Insecure Deserialization/Files/Ruby_universal_gadget_generate_verify.rb`
- [Node serialize sample](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Insecure%20Deserialization/Files/node-serialize.js): `Insecure Deserialization/Files/node-serialize.js`
- [SSRF IP variants](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Server%20Side%20Request%20Forgery/Files/ip.py): `Server Side Request Forgery/Files/ip.py`
- [HLS AVI generator](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/CVE%20FFmpeg%20HLS/gen_avi_bypass.py): `Upload Insecure Files/CVE FFmpeg HLS/gen_avi_bypass.py`
- [XBIN AVI generator](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/CVE%20FFmpeg%20HLS/gen_xbin_avi.py): `Upload Insecure Files/CVE FFmpeg HLS/gen_xbin_avi.py`
- [Python zip generator](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Configuration%20Python%20__init__.py/python-generate-init.py): `Upload Insecure Files/Configuration Python __init__.py/python-generate-init.py`
- [PHP script-tag sample](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Extension%20PHP/php-script-tag.php): `Upload Insecure Files/Extension PHP/php-script-tag.php`
- [PHP upload samples](https://github.com/swisskyrepo/payloadsallthethings/tree/master/Upload%20Insecure%20Files/Extension%20PHP): `Upload Insecure Files/Extension PHP`
- [Bulletproof JPEG generator](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Picture%20Compression/createBulletproofJPG.py): `Upload Insecure Files/Picture Compression/createBulletproofJPG.py`
- [Compressed PNG sample](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Picture%20Compression/createCompressedPNG_110x110.php): `Upload Insecure Files/Picture Compression/createCompressedPNG_110x110.php`
- [GIF image sample](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Picture%20Compression/createGIFwithGlobalColorTable.php): `Upload Insecure Files/Picture Compression/createGIFwithGlobalColorTable.php`
- [PNG PLTE sample](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Picture%20Compression/createPNGwithPLTE.php): `Upload Insecure Files/Picture Compression/createPNGwithPLTE.php`
- [Image metadata builder](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Upload%20Insecure%20Files/Picture%20Metadata/Build_image_to_LFI.py): `Upload Insecure Files/Picture Metadata/Build_image_to_LFI.py`
- [WebSocket harness](https://github.com/swisskyrepo/payloadsallthethings/blob/master/Web%20Sockets/Files/ws-harness.py): `Web Sockets/Files/ws-harness.py`

### Methodology resources

- [Pentest methodology](https://github.com/swisskyrepo/payloadsallthethings/tree/master/Methodology%20and%20Resources): `Methodology and Resources`

### Learning resources

- [Books and media](https://github.com/swisskyrepo/payloadsallthethings/tree/master/_LEARNING_AND_SOCIALS): `_LEARNING_AND_SOCIALS`

### Other components

- **Security practitioner**

## Connections

- Security practitioner → Topic reference: browses (evidence: `README.md`)
- Security practitioner → Web attack topics: consults topics
- Security practitioner → Other attack topics: consults topics
- Security practitioner → Pentest methodology: consults
- Security practitioner → Books and media: consults (evidence: `README.md`)
