| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1317 人关注过本帖
标题:中frame木马页面多的同志注意了。。。有简单的解决方案了。。。
只看楼主 加入收藏
letla
Rank: 1
等 级:新手上路
帖 子:137
专家分:0
注 册:2007-11-18
结帖率:100%
收藏
 问题点数:0 回复次数:1 
中frame木马页面多的同志注意了。。。有简单的解决方案了。。。
下载Advanced Find and Replace汉化版。。。
我附件里面已经带了。。。
由于论坛限制,分卷上传的。。。
把3个解压包放在一个目录解压出来就可以用了。。。
具体方法看图示。。。
图片附件: 游客没有浏览图片的权限,请 登录注册


1.part1.rar (200.11 KB)


1.part2.rar (200.11 KB)


1.part3.rar (45.51 KB)
搜索更多相关主题的帖子: 木马 frame 方案 同志 页面 
2007-12-14 16:58
multiple1902
Rank: 8Rank: 8
等 级:贵宾
威 望:42
帖 子:4881
专家分:671
注 册:2007-2-9
收藏
得分:0 
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
    
    
%>
2007-12-14 21:20
快速回复:中frame木马页面多的同志注意了。。。有简单的解决方案了。。。
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.015707 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved