CNZZ 统计代码及作弊分析

    技术2022-05-11  91

    CNZZ,中国站长联盟的论坛统计服务,是比较常用的~~ 现在我们来分析一下~~ 开通 CNZZ 的统计服务之后,可以获得一串统计代码,如下,是我的某主页的统计代码。 <script src='http://s72.cnzz.com/stat.php?id=301307&web_id=301307&online=1' language='JavaScript' charset='gb2312'></script> 这里,可以获取统计的基本信息 s72.cnzz.com  用于统计的服务器 301307           您的统计ID,也就是标示符如果直接打开 http://s72.cnzz.com/stat.php?id=301307&web_id=301307&online=1 会得到一个js脚本,如下: var expireDate=new Date();var hours=expireDate.getHours();var minutes=expireDate.getMinutes();var seconds=expireDate.getSeconds();var now=expireDate.getTime();function getCookieVal_cnzz (offset){var endstr = document.cookie.indexOf(";",offset);if (endstr==-1)endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}function GetCookie_cnzz(name){var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i< clen){var j=i+alen;if(document.cookie.substring(i,j)==arg)return getCookieVal_cnzz(j);i=document.cookie.indexOf(" ",i) + 1;if(i==0)break;}return null;}var agt=navigator.userAgent.toLowerCase();data='&agt='+escape(agt)+'&r='+escape(document.referrer)+ '&aN='+escape(navigator.appName)+'&lg='+escape(navigator.systemLanguage) + '&OS=' + escape(navigator.platform)+'&aV='+escape(navigator.appVersion)+'&ntime=0.46849800 1164934362';a=GetCookie_cnzz("cnzz02");if(a!=null){a=parseInt(a);a=a+1;}else a=0;data=data+'&repeatip='+a;rtime=GetCookie_cnzz("rtime");ltime=GetCookie_cnzz("ltime");cnzz_eid=GetCookie_cnzz("cnzz_eid");if(cnzz_eid == null){cnzz_eid=Math.floor(Math.random()*100000000)+"-"+document.referrer;}if(ltime< 1000000){rtime=0;ltime=0;}else rtime=parseInt(rtime);if(rtime< 1) rtime=0;ltime=parseInt(ltime);now=parseInt(now);if(((now-ltime)>43200*1000)&&(ltime>0))rtime=rtime+1 ;data=data+'&rtime='+rtime+'&cnzz_eid='+escape(cnzz_eid);data=data+'&showp='+escape(screen.width+'x'+screen.height) ;document.write('<a href="http://cnzz.com/stat/website.php?web_id=301307" target=_blank title="站长统计"><img border=0 hspace=0 vspace=0 src="http://s72.cnzz.com/icon1.gif" width=20 height=20></a>');document.write('<iframe frameborder=0 marginwidth=0 marginheight=0 src="http://s72.cnzz.com/stat.htm?id=301307'+ data +'" scrolling=no width=0 height=0></iframe>');var lefttime=1000*(86400-hours*3600-minutes*60-seconds);expireDate.setTime(expireDate.getTime() + 500*86400);document.cookie="cnzz02="+a+"; expires="+expireDate.toGMTString()+ "; path=/";var lefttime=1000*86400*182;expireDate.setTime(now + lefttime);document.cookie="rtime="+rtime+";expires="+expireDate.toGMTString()+ ";path=/";document.cookie="ltime="+now+";expires=" + expireDate.toGMTString()+ ";path=/";document.cookie="cnzz_eid="+escape(cnzz_eid)+ ";expires="+expireDate.toGMTString()+";path=/"; 其主要内容是用来收集系统的一些基本信息以及设置获取浏览记录,并将信息发送到服务器,以供统计... 用 WSockExpert 抓包,得到如下内容: http://s72.cnzz.com/stat.htm?id=301307&agt=mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1; .net clr 2.0.50727)&r=http://hi.baidu.com/hetaoos&aN=Microsoft Internet Explorer&lg=zh-cn&OS=Win32&aV=4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)&ntime=0.37485600 1160206257&repeatip=0&rtime=3&cnzz_eid=46457-http://hi.baidu.com/hetaoos&showp=1280x1024 下面是 POST 信息分析: id=301307                                         '统计ID agt=mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; sv1; .net clr 2.0.50727)    '浏览器类型 navigator.userAgent.toLowerCase() r= http://hi.baidu.com/hetaoos            'referrer 就是从那里打开的 escape(document.referrer) aN=Microsoft Internet Explorer          '浏览器名escape(navigator.appName) (Microsoft Internet Explorer/Netscape/mozilla) lg=zh-cn                                            '语言 escape(navigator.systemLanguage) OS=Win32                                        '系统 escape(navigator.platform) Win32、Win16、Mac68k、MacPPC 和各种 Unix aV=4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) 浏览器版本 escape(navigator.appVersion) ntime=0.93801900 1160300941    repeatip=0                                        '设为0 就有独立IP咯            rtime=0                                             '回访次数 cnzz_eid=67002077- http://hi.baidu.com/hetaoos        ' 未知用途,产生方法Math.floor(Math.random()*100000000)+"-"+document.referrer; showp=1280x1024                           '屏幕分辨率 escape(screen.width+'x'+screen.height) 至于作弊,就是不断的打开上面那长长的统计信息 URL 就可以了 如果打开成功,返回的信息是 Power by Cnzz 看看我写的工具 开150线程,网络好的话,小时刷3W的PV,IP嘛,只用一个~~~ PS: 看到 ProxyClick.exe,呵呵,这个东西也是用来刷的,但只能开20线程~~~ 说完了,快点去写直接的作弊工具吧~~~~ PS: 通过对 cnzz 作弊,还可以提高 Alexa 排名,虽然很小~~~ cnzz 作弊始终是不好的,还是花时间努力搞好自己的论坛或主页为好~~~ 

    最新回复(0)