http://www.kenwen.com/scripts/show.js谢谢了

解决方案 »

  1.   

        function Ajax(url, params, callback, method) {
            var _$ = ["Msxml2.XMLHTTP", "Microsoft.XMLHTTP", "post", "", "w", "0", "l0", "", "&", "=", "post", "Content-Type", "application/x-www-form-urlencoded", "?", "Content-Type", "text/html; charset=gbk", "Cache-Control", "no-cache", "X-Powered-KW", "0ll100OO1", "complete"]; this["createHttpRequest"] = function () { if (window["ActiveXObject"]) { try { return new ActiveXObject(_$[0]) } catch (e) { return new ActiveXObject(_$[1]) } } else { return new XMLHttpRequest() } }; this["url"] = url; this["params"] = params; this["callback"] = callback; this["method"] = method == null ? _$[2] : method; this["xmlHttp"] = this["createHttpRequest"](); window["a"] = this; this["doRequest"] = function () { var b = _$[3]; var c = _$[4]; c += _$[5]; c += _$[6]; for (var d in this["params"]) { if (b != _$[7]) { b += _$[8] }; b += d + _$[9] + this["params"][d] }; if (this["method"] == _$[10]) { this["xmlHttp"]["open"](this["method"], this["url"], true); this["xmlHttp"]["onreadystatechange"] = this["stateChanged"]; this["xmlHttp"]["setRequestHeader"](_$[11], _$[12]); this["xmlHttp"]["send"](b) } else { if (b["length"] > 0x0) this["url"] += _$[13] + b; try { this["xmlHttp"]["open"](this["method"], this["url"]) } catch (err) { } this["xmlHttp"]["setRequestHeader"](_$[14], _$[15]); this["xmlHttp"]["setRequestHeader"](_$[16], _$[17]); this["xmlHttp"]["setRequestHeader"](_$[18], c + _$[19]); this["xmlHttp"]["onreadystatechange"] = this["stateChanged"]; this["xmlHttp"]["send"](null); } }; this["stateChanged"] = function () { if (a["xmlHttp"]["readyState"] == 0x4 || a["xmlHttp"]["readyState"] == _$[20]) { var b = a["xmlHttp"]["responseText"]; a["callback"](b) } };
        }    function outputContent(uri) {
            var _$ = ["text_area", "<font style='color:blue;font-size:24px'>正在加载章节内容,请稍后...</font>", "", "http://", "/", "?r=p3o5IFP2qxaym3AF", "ebak", "egbk", "get"]; $(_$[0])["innerHTML"] = _$[1]; var a = _$[2]; var b = _$[3] + window["document"]["domain"] + _$[4]; var c = _$[5]; var d = Math["round"](Math["random"]() * 0x2); if (d == 0x0) { b += _$[6] + uri } else { b += _$[7] + uri }; a = b + c; var e = new Ajax(a, null, showContent, _$[8]); e["doRequest"]();
        }
        function showContent(message) {
            var _$ = ["&nbsp;", "<br />", "<font style=\"color:red;font-size:24px\">获取内容失败,请<a href=\"#\" onclick=\"window.location.reload();\">点此刷新</a>本页面重新获取...</font>", "text_area"]; if (message["length"] > 0x0) { message = message["replace"](/ /g, _$[0]); message = message["replace"](/\n/g, _$[1]) } else { message = _$[2] }; $(_$[3])["innerHTML"] = message; LoadSet();
        }
      

  2.   

    showbo,这种加密代码可有专门的解密工具或思路?谢谢
      

  3.   


    这种简单得很,就怕那种变量起名a,b,c那种看起来头痛这种加密只要找到 eval的函数中的return返回实际函数时,alert下那个return的值就得到函数内容了。可能alert输出的内容包含了\x,%u之类的编码过的内容,你再alert一次就输出\x,%u的实际内容了