标题: -- 新发现的脚本 解密 ~~
[打印本页]
作者: ooaf
时间: 2008-4-7 11:00
标题: -- 新发现的脚本 解密 ~~
--
高手能否 告知 下面 是用什么 方式 加密的 ?
function y_gVal(iz)
{var endstr=document.cookie.indexOf(";",iz);if(endstr==-1)
endstr=document.cookie.length;return document.cookie.substring(iz,endstr);}
function y_g(name)
{var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;var j;while
(i<clen) {j=i+alen;if(document.cookie.substring(i,j)==arg) return y_gVal
(j);i=document.cookie.indexOf(" ",i)+1;if(i==0) break;}return null;}
function cc_k()
{var y_e=new Date();var y_t=93312000;var yesvisitor=1000*36000;var yesctime=y_e.getTime
();y_e.setTime(y_e.getTime()+y_t);var yesiz=document.cookie.indexOf("cck_lasttime");if
(yesiz==-1){document.cookie="cck_lasttime="+yesctime+"; expires=" + y_e.toGMTString() + ";
path=/";document.cookie="cck_count=0; expires=" + y_e.toGMTString() + "; path=/";return
0;}else{var y_c1=y_g("cck_lasttime");var y_c2=y_g("cck_count");y_c1=parseInt
(y_c1);y_c2=parseInt(y_c2);y_c3=yesctime-y_c1;if(y_c3>yesvisitor)
{y_c2=y_c2+1;document.cookie="cck_lasttime="+yesctime+"; expires="+y_e.toGMTString()+";
path=/";document.cookie="cck_count="+y_c2+"; expires="+y_e.toGMTString()+"; path=/";}return
y_c2;}}
var yesdata;
yesdata='&refe='+escape(document.referrer)+'&location='+escape(document.location)
+'&color='+screen.colorDepth+'x&resolution='+screen.width+'x'+screen.height+'&returning='+c
c_k()+'&language='+navigator.systemLanguage+'&ua='+escape(navigator.userAgent);
document.write('<a href="http://count.51yes.com/index.aspx?id=12738913" target=_blank><img
width=20 height=20 border=0 hspace=0 vspace=0 src="http://count1.51yes.com/count6.gif"
alt="51YES网站统计系统"></a>');document.write('<iframe MARGINWIDTH=0 MARGINHEIGHT=0
HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no src=http://count1.51yes.com/sa.aspx?
id=12738913'+yesdata+' height=0 width=0></iframe>');
【2】
document.write ('<a href="http://www.51.la/?1657567" target="_blank"><img
alt="51.la 专业、免费、&#
x5F3A;健的访问统计"
src="http://icon.ajiang.net/icon_0.gif" style="border:none" /></a>\n');
// A Popular Free Statistics Service for 100 000+ Webmasters.
window.onerror=function(){return true};
document.write ('<script>var a7567tf="51la";var a7567pu="";var a7567pf="51la";var
a7567su=window.location;var a7567sf=document.referrer;var a7567of="";var a7567op="";var
a7567ops=1;var a7567ot=1;var a7567d=new Date();var a7567color="";if
(navigator.appName=="Netscape"){a7567color=screen.pixelDepth;} else
{a7567color=screen.colorDepth;}
<\/script><script>a7567tf=top.document.referrer;<\/script><script>a7567pu
=window.parent.location;<\/script><script>a7567pf=window.parent.document.referrer;<\/script
><script>a7567ops=document.cookie.match(new RegExp("(^| )AJSTAT_ok_pages=([^;]*)
(;|$)"));a7567ops=(a7567ops==null)?1: (parseInt(unescape((a7567ops)[2]))+1);var a7567oe
=new Date();a7567oe.setTime(a7567oe.getTime()
+60*60*1000);document.cookie="AJSTAT_ok_pages="+a7567ops+
";path=/;expires="+a7567oe.toGMTString();a7567ot=document.cookie.match(new RegExp("(^| )
AJSTAT_ok_times=([^;]*)(;|$)"));if(a7567ot==null){a7567ot=1;}else{a7567ot=parseInt
(unescape((a7567ot)[2])); a7567ot=(a7567ops==1)?(a7567ot+1):(a7567ot);}a7567oe.setTime
(a7567oe.getTime()
+365*24*60*60*1000);document.cookie="AJSTAT_ok_times="+a7567ot+";path=/;expires="+a7567oe.t
oGMTString();<\/script><script>a7567of=a7567sf;if(a7567pf!=="51la"){a7567of=a7567pf;}if
(a7567tf!=="51la"){a7567of=a7567tf;}a7567op=a7567pu;try{lainframe}catch(e)
{a7567op=a7567su;}document.write(\'<img style="width:0px;height:0px"
src="http://web.51.la/go.asp?we=A-Free-Service-for-
Webmasters&svid=3&id=1657567&tpages=\'+a7567ops+\'&ttimes=\'+a7567ot+\'&tzone=\'+(0-
a7567d.getTimezoneOffset()/60)
+\'&tcolor=\'+a7567color+\'&sSize=\'+screen.width+\',\'+screen.height+\'&referrer=\'+escape
(a7567of)+\'&vpage=\'+escape(a7567op)+\'" \/>\');<\/script>');
--
作者: slore
时间: 2008-4-7 13:20
没发现哪里加密了……
作者: lupin1984
时间: 2008-4-7 13:20
没有加密,就是unicode编码
作者: ThinKing
时间: 2008-4-8 00:27
把代码整理一下,缩进一下,或者放到支持语法高亮的编辑器里面就一目了然了。
作者: ooaf
时间: 2008-4-8 10:23
谢谢了,继续努力!