| 编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛
全能ASP/PHP/ASP.NET主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付赛孚耐:软件保护加密专家
身份认证令牌USB KEY   
共有 534 人关注过本帖
标题:中frame木马页面多的同志注意了。。。有简单的解决方案了。。。
收藏  订阅  推荐  打印 
letla
Rank: 2
等级:注册会员
帖子:125
积分:1468
注册:2007-11-18
中frame木马页面多的同志注意了。。。有简单的解决方案了。。。

下载Advanced Find and Replace汉化版。。。
我附件里面已经带了。。。
由于论坛限制,分卷上传的。。。
把3个解压包放在一个目录解压出来就可以用了。。。
具体方法看图示。。。
附件: 只有本站会员才能下载或查看附件,请您 登录注册
搜索更多相关主题的帖子: 木马  frame  方案  同志  页面  
2007-12-14 16:58
multiple1902
Rank: 12Rank: 12Rank: 12
等级:贵宾
威望:41
帖子:4479
积分:45682
注册:2007-2-9

8月网站中过毒,随手写的一个
程序代码:
<%
    ' ASP Rewriter By multiple1902
    Server.ScriptTimeout=200
    Const VirusStr="<iframe src=http://******.htm width=0 height=0></iframe>"
        '病毒frame字符串,只针对固定不变的字符串有用,会规律变化或者不规律变化的就要用正则表达式匹配或者字符串操作了
    
    Dim fso
    Set fso=Server.CreateObject("Scripting.FileSystemObject")
    
    Dim Folder,A_File
    Set Folder=fso.GetFolder(Server.MapPath("./"))
    Response.Write Folder.Path
    
    ReplaceFolder(Folder)
    
    Sub ReplaceFolder(Folder)
        Dim SubFolder
        For Each SubFolder In Folder.SubFolders
            ReplaceFolder(SubFolder)
        Next ' SubFolder
        Dim SubFile
        For Each SubFile In Folder.Files
            ReplaceFile(SubFile.Path)
        Next
    End Sub
    
    Sub ReplaceFile(FileName)
        On Error Resume Next
        If Instr(LCase(FileName),"htm")+Instr(LCase(FileName),"php")=0 then Exit Sub
        Dim Content
        Content=fso.GetFile(FileName).OpenAsTextStream().ReadAll()
        If Content="" Then Exit Sub
        If Instr(Content,VirusStr)=0 Then Exit Sub
        Content=Replace(Content,VirusStr,"")
        Response.Write FileName & "
"
        Call fso.OpenTextFile(FileName,2,1).Write(Content)
        'Response.Write Server.HtmlEncode(Content)
    End Sub
    
    
%>

“高考”这个词在耳边不断萦绕,心中的激动不言而喻。写下一句话,一起努力。Let's struggle together.
2007-12-14 21:20
关于我们 | 广告合作 | 编程中国 | 清除Cookies | Archiver | WAP | TOP

编程中国 版权所有,并保留所有权利。鲁ICP备08000592号
Powered by Discuz, Processed in 0.062145 second(s), 9 queries.
Copyright©2004-2008, BCCN.NET, All Rights Reserved