码迷,mamicode.com
首页 > 其他好文 > 详细

防采集技术 防封 反爬

时间:2016-05-16 19:59:45      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:

http://www.youdaili.net/Daili/guonei/4253.html

防采集技术 防封 反爬 

直接获取源码与浏览器打开,是不一样的。源码如下

<pre>
<html><body><script language="javascript"> window.onload=setTimeout("cr(203)", 200); function cr(TB) {var qo, mo="", no="", oo = [0xe2,0x1a,0x7f,0xcf,0x56,0xe7,0x7b,0xf4,0x05,0x93,0x25,0xb2,0x79,0xc4,0x7b,0xce,0x60,0xf0,0x9f,0xde,0x2b,0x7c,0xe2,0x6e,0x4b,0xde,0x6d,0x00,0x12,0x9b,0x8d,0x05,0x96,0x27,0xae,0x02,0x45,0x96,0xcc,0x09,0x80,0xbd,0xf8,0x09,0x9b,0x12,0xa1,0x30,0x9f,0xe0,0x64,0xdb,0x6c,0xf2,0x3d,0xb4,0x05,0x44,0xd1,0x0f,0xbc,0xff,0x4b,0xd7,0x5e,0xe5,0x8a,0xc7,0x50,0x8c,0xc4,0x52,0x2e,0x68,0xa5,0x33,0x6c,0xa2,0x70,0xa8,0x31,0x6c,0x22];qo = "qo=81; do{oo[qo]=(-oo[qo])&0xff; oo[qo]=(((oo[qo]>>6)|((oo[qo]<<2)&0xff))-84)&0xff;}while(--qo>=2);"; eval(qo);qo = 80; do { oo[qo] = (oo[qo] - oo[qo - 1]) & 0xff; } while (-- qo >= 3 );qo = 1; for (;;) { if (qo > 80) break; oo[qo] = ((((((oo[qo] + 130) & 0xff) + 86) & 0xff) << 6) & 0xff) | (((((oo[qo] + 130) & 0xff) + 86) & 0xff) >> 2);qo++;}po = "";for (qo = 1; qo < oo.length - 1; qo++) if (qo % 6) po += String.fromCharCode(oo[qo] ^ TB);po += "\""; eval("qo=eval;qo(po);");}</script> </body></html>

</pre>

防采集技术 防封 反爬

标签:

原文地址:http://www.cnblogs.com/grs-tech/p/5498998.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!