- <script>var x="addEventListener@var@window@document@cookie@href@A@function@GMT@2@__jsl_clearance@3E@replace@Aug@try@31@@challenge@18@1472663896@6tw5HCeK@while@length@return@setTimeout@else@Wed@i@__phantomas@x@location@@Path@@U@toString@captcha@onreadystatechange@false@_phantom@36@cd@zJCx@parseInt@charAt@catch@q@f@16@attachEvent@m@1500@l@join@e@dc@518@3D@0@if@Expires@DOMContentLoaded@1@for".replace(/@*$/,"").split("@"),y="2 R=8(){m(3.E||3.t){};2 G,U='b=k.V|X|';2 M=[8(u){o u},8(u){o u;},8(u){13(2 s=X;s<u.n;s++){u[s]=I(u[s]).A(F)};o u.S('')}];G=[(-~!{}+[]+[[]][(+[])])+[-~!{}-~!{}],[[-~-~!{}]*((-~-~!{}^-~{}))],[-[]-~!{}-~!{}+((+!+[])<<(+!+[]))-[]-~!{}-~!{}],(-~!{}+[]+[[]][(+[])])+(~~![]+[]),[-~((-~-~!{})*[-~-~!{}])],(-~!{}+[]+[[]][(+[])])+(-~!{}+[]+[[]][(+[])]),((a<<-~{})+[-[], []][-~[]]),(-~!{}+[]+[[]][(+[])])+[(-~{}|((+!+[])<<(+!+[])))],(~~![]+[]),(-~!{}+[]+[[]][(+[])]),[(+!+[])+[(+[])]-((+!+[]))],[-~!{}-~!{}],[(-~[]+[(-~-~!{})*[-~-~!{}]]>>-~[])],[(-~{}|((+!+[])<<(+!+[])))]];13(2 s=X;s<G.n;s++){G[s]=M[[12,a,12,X,12,a,12,a,12,a,X,12,a,12][s]](['c',[(-~!{}+[]+[[]][(+[])])+(~~![]+[])],'H','7%W','l','z',[[-~!{}-~!{}]+[-~!{}-~!{}],[-~!{}-~!{}]+[-~((-~-~!{})*[-~-~!{}])]],[[-~!{}-~!{}]+((a<<-~{})+[-[], []][-~[]])],'P',[(+!+[])+[(+[])]-((+!+[]))],[(-[]-~!{}-~!{})/(+[])+[[]][(+[])]][X].J(~~[]),[[(-~{}|((+!+[])<<(+!+[])))]+(-~!{}+[]+[[]][(+[])]),[(-~{}|((+!+[])<<(+!+[])))]+(~~![]+[])],'L',[[-~!{}-~!{}]+[-~((-~-~!{})*[-~-~!{}])]]][G[s]])};G=G.S('');U+=G;p('v.6=v.6.d(/[\\?|&]B-i/,\\'\\')',Q);4.5=(U+';10=r, g-e-N j:j:N 9;x=/;');};Y((8(){f{o !!3.1;}K(T){o D;}})()){4.1('11',R,D);}q{4.O('C',R);}",z=0,f=function(x,y){var a=0,b=0,c=0;x=x.split("");y=y||99;while((a=x.shift())&&(b=a.charCodeAt(0)-77.5))c=(Math.abs(b)<13?(b+48.5):parseInt(a,36))+y*c;return c},g=y.match(/\b\w+\b/g).sort(function(x,y){return f(x)-f(y)}).pop();while(f(g,++z)-x.length){};eval(y.replace(/\b\w+\b/g, function(y){return x[f(y,z)-1]}));</script>
复制代码
获取的是javascript乱码,其实解析后包含一个网址,一个cookie值
变量名 | 类 型 | 静态 | 数组 | 备 注 | JavaScript | 对象 | | | Js结果 | 文本型 | | | 返回文本 | 文本型 | | |
JavaScript. 创建 (“MSScriptControl.ScriptControl”, ) JavaScript. 写属性 (“Language”, “JavaScript”)返回文本 = 网页_访问S (“http://jsl.hzj-sport.com/public/login”, 1, , , )返回文本 = 子文本替换 (返回文本, “eval”, “var outstr=”, , 1, 假)返回文本 = 子文本替换 (返回文本, “”, “function getstr(y){return eval(y)}”, , 1, 假)JavaScript. 数值方法 (“AddCode”, 返回文本 )Js结果 = JavaScript. 文本方法 (“run”, “getstr”, “outstr”)JavaScript. 数值方法 (“Reset”, )Js结果 = 子文本替换 (Js结果, “var l=function(){while(window._phantom||window.__phantomas){};”, “”, , 1, 假)Js结果 = 子文本替换 (Js结果, “};if((function(){try{return !!window.addEventListener;}catch(e){return false;}})()){document.addEventListener('DOMContentLoaded',l,false);}else{document.attachEvent('onreadystatechange',l);}”, “function getstr(y){return eval(y)}”, , 1, 假)Js结果 = 子文本替换 (Js结果, “setTimeout('location.href=location.href.replace(/[\?|&]captcha-challenge/,\'\')',1500);”, “”, , 1, 假)Js结果 = 子文本替换 (Js结果, “document.cookie”, “var outstr”, , 1, 假)JavaScript. 数值方法 (“AddCode”, Js结果 )Js结果 = JavaScript. 文本方法 (“run”, “getstr”, “outstr”)输出调试文本 (“获取的cookie是:”, Js结果 )JavaScript. 清除 ()返回 (0 )
使用这段易语言代码,成功解析了cookie
执行结果为
- * 获取的cookie是:
- * __jsl_clearance=1472664565.663|0|L4O4hhu9DAU6OgW1aeMyzNEfENU%3D;Expires=Wed, 31-Aug-16 18:29:25 GMT;Path=/;
复制代码
|