好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > 雷客圖ASP站長安全助手的ASP木馬查找功能

雷客圖ASP站長安全助手的ASP木馬查找功能

熱門標簽:鄢陵學校如何做地圖標注 沈陽電話機器人公司 云南便宜外呼系統平臺 鄭州智能外呼電銷機器人廠家 長春公司外呼系統中心 虛擬電話外呼系統 成都ai外呼系統線路 廣東語音外呼系統公司 沈陽三五防封電銷卡
可以在線查找空間里的asp木馬
復制代碼 代碼如下:

%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
%
'設置密碼
PASSWORD = "jb51net"

dim Report

if request.QueryString("act")="login" then
    if request.Form("pwd") = PASSWORD then session("pig")=1
end if
%>
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
html>
head>
meta http-equiv="Content-Type" content="text/html; charset=gb2312">
title>ASPSecurity for Hacking/title>
/head>

body>
%If Session("pig") > 1 then%>
form name="form1" method="post" action="?act=login">
  div align="center">Password: 
    input name="pwd" type="password" size="15"> 
    input type="submit" name="Submit" value="提交">
  /div>
/form>
%
else
    if request.QueryString("act")>"scan" then
%>
                form action="?act=scan" method="post">
                b>填入你要檢查的路徑:/b>
                input name="path" type="text" style="border:1px solid #999" value="." size="30" />
                br>
                * 網站根目錄的相對路徑,填“\”即檢查整個網站;“.”為程序所在目錄
                br>
                br>
                input type="submit" value=" 開始掃描 " style="background:#fff;border:1px solid #999;padding:2px 2px 0px 2px;margin:4px;border-width:1px 3px 1px 3px" />
                /form>
%
    else
        server.ScriptTimeout = 600
        DimFileExt = "asp,cer,asa,cdx"
        Sun = 0
        SumFiles = 0
        SumFolders = 1
        if request.Form("path")="" then
            response.Write("No Hack")
            response.End()
        end if
        timer1 = timer
        if request.Form("path")="\" then
            TmpPath = Server.MapPath("\")
        elseif request.Form("path")="." then
            TmpPath = Server.MapPath(".")
        else
            TmpPath = Server.MapPath("\")"\"request.Form("path")
        end if
        Call ShowAllFile(TmpPath)
%>
table width="100%" border="0" cellpadding="0" cellspacing="0" class="CContent">
  tr>
    th>ASPSecurity For Hacking
  /tr>
  tr>
    td class="CPanel" style="padding:5px;line-height:170%;clear:both;font-size:12px">
        div id="updateInfo" style="background:ffffe1;border:1px solid #89441f;padding:4px;display:none">/div>
掃描完畢!一共檢查文件夾font color="#FF0000">%=SumFolders%>/font>個,文件font color="#FF0000">%=SumFiles%>/font>個,發現可疑點font color="#FF0000">%=Sun%>/font>個
    table width="100%" border="0" cellpadding="0" cellspacing="0">
     tr>
         td valign="top">
             table width="100%" border="1" cellpadding="0" cellspacing="0" style="padding:5px;line-height:170%;clear:both;font-size:12px">
             tr>
               td width="20%">文件相對路徑/td>
               td width="20%">特征碼/td>
               td width="40%">描述/td>
               td width="20%">創建/修改時間/td>
               /tr>
             p>
             %=Report%>
             br/>/p>
             /table>/td>
     /tr>
    /table>
/td>/tr>/table>
%
timer2 = timer
thetime=cstr(int(((timer2-timer1)*10000 )+0.5)/10)
response.write "br>font size=""2"">本頁執行共用了"thetime"毫秒/font>"
    end if
end if

%>
hr>
div align="center">本程序取自a >雷客圖ASP站長安全助手/a>的ASP木馬查找功能br>
powered by a  target=_blank>lake2/a>
/div>
/body>
/html>
%

'遍歷處理path及其子目錄所有文件
Sub ShowAllFile(Path)
    Set FSO = CreateObject("Scripting.FileSystemObject")
    if not fso.FolderExists(path) then exit sub
    Set f = FSO.GetFolder(Path)
    Set fc2 = f.files
    For Each myfile in fc2
        If CheckExt(FSO.GetExtensionName(path"\"myfile.name)) Then
            Call ScanFile(PathTemp"\"myfile.name, "")
            SumFiles = SumFiles + 1
        End If
    Next
    Set fc = f.SubFolders
    For Each f1 in fc
        ShowAllFile path"\"f1.name
        SumFolders = SumFolders + 1
    Next
    Set FSO = Nothing
End Sub

'檢測文件
Sub ScanFile(FilePath, InFile)
    If InFile > "" Then
        Infiles = "該文件被a href=""http://"Request.Servervariables("server_name")"\"InFile""" target=_blank>" InFile  "/a>文件包含執行"
    End If
    Set FSOs = CreateObject("Scripting.FileSystemObject")
    on error resume next
    set ofile = fsos.OpenTextFile(FilePath)
    filetxt = Lcase(ofile.readall())
    If err Then Exit Sub end if
    if len(filetxt)>0 then
        '特征碼檢查
        temp = "a href=""http://"Request.Servervariables("server_name")"\"replace(FilePath,server.MapPath("\")"\","",1,1,1)""" target=_blank>"replace(FilePath,server.MapPath("\")"\","",1,1,1)"/a>"
            'Check "WScr"DoMyBest"ipt.Shell"
            If instr( filetxt, Lcase("WScr"DoMyBest"ipt.Shell") ) or Instr( filetxt, Lcase("clsid:72C24DD5-D70A"DoMyBest"-438B-8A42-98424B88AFB8") ) then
                Report = Report"tr>td>"temp"/td>td>WScr"DoMyBest"ipt.Shell 或者 clsid:72C24DD5-D70A"DoMyBest"-438B-8A42-98424B88AFB8/td>td>危險組件,一般被ASP木馬利用。"infiles"/td>td>"GetDateCreate(filepath)"br>"GetDateModify(filepath)"/td>/tr>"
                Sun = Sun + 1
            End if
            'Check "She"DoMyBest"ll.Application"
            If instr( filetxt, Lcase("She"DoMyBest"ll.Application") ) or Instr( filetxt, Lcase("clsid:13709620-C27"DoMyBest"9-11CE-A49E-444553540000") ) then
                Report = Report"tr>td>"temp"/td>td>She"DoMyBest"ll.Application 或者 clsid:13709620-C27"DoMyBest"9-11CE-A49E-444553540000/td>td>危險組件,一般被ASP木馬利用。"infiles"/td>td>"GetDateCreate(filepath)"br>"GetDateModify(filepath)"/td>/tr>"
                Sun = Sun + 1
            End If
            'Check .Encode
            Set regEx = New RegExp
            regEx.IgnoreCase = True
            regEx.Global = True
            regEx.Pattern = "@\s*LANGUAGE\s*=\s*[""]?\s*(vbscript|jscript|javascript).encode\b"
            If regEx.Test(filetxt) Then
                Report = Report"tr>td>"temp"/td>td>(vbscript|jscript|javascript).Encode/td>td>似乎腳本被加密了,一般ASP文件是不會加密的。"infiles"/td>td>"GetDateCreate(filepath)"br>"GetDateModify(filepath)"/td>/tr>"
                Sun = Sun + 1
            End If
            'Check my ASP backdoor :(
            regEx.Pattern = "\bEv""al\b"
            If regEx.Test(filetxt) Then
                Report = Report"tr>td>"temp"/td>td>Ev""al/td>td>e""val()函數可以執行任意ASP代碼,被一些后門利用。其形式一般是:ev""al(X)br>但是javascript代碼中也可以使用,有可能是誤報。"infiles"/td>td>"GetDateCreate(filepath)"br>"GetDateModify(filepath)"/td>/tr>"
                Sun = Sun + 1
            End If
            'Check execute backdoor
            regEx.Pattern = "[^.]\bExe""cute\b"
            If regEx.Test(filetxt) Then
                Report = Report"tr>td>"temp"/td>td>Exec""ute/td>td>e""xecute()函數可以執行任意ASP代碼,被一些后門利用。其形式一般是:ex""ecute(X)。br>"infiles"/td>td>"GetDateCreate(filepath)"br>"GetDateModify(filepath)"/td>/tr>"
                Sun = Sun + 1
            End If
            Set regEx = Nothing

        'Check include file
        Set regEx = New RegExp
        regEx.IgnoreCase = True
        regEx.Global = True
        regEx.Pattern = "!--\s*#include\s*file\s*=\s*"".*"""
        Set Matches = regEx.Execute(filetxt)
        For Each Match in Matches
            tFile = Replace(Mid(Match.Value, Instr(Match.Value, """") + 1, Len(Match.Value) - Instr(Match.Value, """") - 1),"/","\")
            If Not CheckExt(FSOs.GetExtensionName(tFile)) Then
                Call ScanFile( Mid(FilePath,1,InStrRev(FilePath,"\"))tFile, replace(FilePath,server.MapPath("\")"\","",1,1,1) )
                SumFiles = SumFiles + 1
            End If
        Next
        Set Matches = Nothing
        Set regEx = Nothing

        'Check include virtual
        Set regEx = New RegExp
        regEx.IgnoreCase = True
        regEx.Global = True
        regEx.Pattern = "!--\s*#include\s*virtual\s*=\s*"".*"""
        Set Matches = regEx.Execute(filetxt)
        For Each Match in Matches
            tFile = Replace(Mid(Match.Value, Instr(Match.Value, """") + 1, Len(Match.Value) - Instr(Match.Value, """") - 1),"/","\")
            If Not CheckExt(FSOs.GetExtensionName(tFile)) Then
                Call ScanFile( Server.MapPath("\")"\"tFile, replace(FilePath,server.MapPath("\")"\","",1,1,1) )
                SumFiles = SumFiles + 1
            End If
        Next
        Set Matches = Nothing
        Set regEx = Nothing

        'Check Server.Execute|Transfer
        Set regEx = New RegExp
        regEx.IgnoreCase = True
        regEx.Global = True
        regEx.Pattern = "Server.(Exec""ute|Transfer)([ \t]*|\()"".*"""
        Set Matches = regEx.Execute(filetxt)
        For Each Match in Matches
            tFile = Replace(Mid(Match.Value, Instr(Match.Value, """") + 1, Len(Match.Value) - Instr(Match.Value, """") - 1),"/","\")
            If Not CheckExt(FSOs.GetExtensionName(tFile)) Then
                Call ScanFile( Mid(FilePath,1,InStrRev(FilePath,"\"))tFile, replace(FilePath,server.MapPath("\")"\","",1,1,1) )
                SumFiles = SumFiles + 1
            End If
        Next
        Set Matches = Nothing
        Set regEx = Nothing

        'Check Server.Execute|Transfer
        Set regEx = New RegExp
        regEx.IgnoreCase = True
        regEx.Global = True
        regEx.Pattern = "Server.(Exec""ute|Transfer)([ \t]*|\()[^""]\)"
        If regEx.Test(filetxt) Then
            Report = Report"tr>td>"temp"/td>td>Server.Exec""ute/td>td>不能跟蹤檢查Server.e""xecute()函數執行的文件。請管理員自行檢查。br>"infiles"/td>td>"GetDateCreate(filepath)"br>"GetDateModify(filepath)"/td>/tr>"
            Sun = Sun + 1
        End If
        Set Matches = Nothing
        Set regEx = Nothing

        'Check Crea""teObject
        Set regEx = New RegExp
        regEx.IgnoreCase = True
        regEx.Global = True
        regEx.Pattern = "CreateO""bject[ |\t]*\(.*\)"
        Set Matches = regEx.Execute(filetxt)
        For Each Match in Matches
            If Instr(Match.Value, "") or Instr(Match.Value, "+") or Instr(Match.Value, """") = 0 or Instr(Match.Value, "(") > InStrRev(Match.Value, "(") Then
                Report = Report"tr>td>"temp"/td>td>Creat""eObject/td>td>Crea""teObject函數使用了變形技術,仔細復查。"infiles"/td>td>"GetDateCreate(filepath)"br>"GetDateModify(filepath)"/td>/tr>"
                Sun = Sun + 1
                exit sub
            End If
        Next
        Set Matches = Nothing
        Set regEx = Nothing
    end if
    set ofile = nothing
    set fsos = nothing
End Sub

'檢查文件后綴,如果與預定的匹配即返回TRUE
Function CheckExt(FileExt)
    If DimFileExt = "*" Then CheckExt = True
    Ext = Split(DimFileExt,",")
    For i = 0 To Ubound(Ext)
        If Lcase(FileExt) = Ext(i) Then 
            CheckExt = True
            Exit Function
        End If
    Next
End Function

Function GetDateModify(filepath)
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set f = fso.GetFile(filepath) 
    s = f.DateLastModified 
    set f = nothing
    set fso = nothing
    GetDateModify = s
End Function

Function GetDateCreate(filepath)
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set f = fso.GetFile(filepath) 
    s = f.DateCreated 
    set f = nothing
    set fso = nothing
    GetDateCreate = s
End Function

%>

標簽:馬鞍山 遼陽 湖北 平頂山 孝感 四平 防城港 朝陽

巨人網絡通訊聲明:本文標題《雷客圖ASP站長安全助手的ASP木馬查找功能》,本文關鍵詞  雷客圖,ASP,站長,安全,助手,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《雷客圖ASP站長安全助手的ASP木馬查找功能》相關的同類信息!
  • 本頁收集關于雷客圖ASP站長安全助手的ASP木馬查找功能的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 精品午夜久久网成年网| 一级黄色**毛片| 精品国产免费污污污污在线观看2| 超污视频免费看| 亚洲欧美日韩精品| 最新国产精品好看的国产精品 | 美国禁忌1伦伦影院| 国产成人经典三级在线观看| 美女脱内衣给男生玩奶| 中国丰满女人特级A片| 韩国精品韩国专区久久| 美女脱衣服| 天美传媒麻豆TM0034| 韩国三级漫画| 91精品在线国产| 贤者之爱在线观看视频| 91香蕉视频下| 自拍 亚洲 综合 另类| 美国一级毛片aa黑人| 69国产精品成人无码视频| 虎白女粉嫩粉嫩18视频| 高清中文字幕在线A片| 一边摸一边做爰A片口技| 欧美zoozzooz高清电影| 欧美高清不卡视频| japanesehdxxxxmp4| 快点cao我要被cao烂了男女| 国产精品美女免费视频大全| 天天狠狠色噜噜| 欧美网站网址| 蜜臂久久99精品久久久久| 精品96久久久久久中文字幕无| 又粗又硬又长又黄又爽| 双龙np黑粗撑开宫颈口| 亲胸揉胸膜下刺激视频无遮挡| 欧美精品久久久久久一级毛片舌吻| 亚洲不卡一区二区三区在线| 欧美A级做爰大片免费看| 一级婬片A片AAA毛片喷水漫画| 利世定制小视频| 厕所xxxx|