sunxiao123 大佬有话说 :
付费求会js解密的
sojson.v5的,有个解密脚本但用不来
(function (js_body) { // 脱壳 && 解密 let js_arr = js_body.split("n").pop().split(‘;’), fun_name = /vars+(_0x+)=/.exec(js_arr), reg_str = fun_name + ‘ \(‘ + "'([^’]+)’,s*'([^’]+)’" + ‘\)’, js_str = js_arr.slice(54, js_arr.length – 4).join(‘;’), code_shell = js_arr.slice(0, 54).join(‘ ;’), shell_obj = eval("(function(){" + code_shell + ";return " + fun_name + "})()"); js_str = js_str.replace(new RegExp(reg_str, ‘i’), function (str, id, key) { return ‘"’ + shell_obj(id, key) + ‘"’; }).replace(/(]+)s?[["’](["’]+)["’]]/g, ‘$1.$2’).replace(/(?<!_)(0x+)/g, function (hex) { return parseInt(hex).toString(); }); // 还原混淆 let obj = null, name = ”; js_str = js_str.replace(/{(va rs+(_0x+)= ({(.*)}));/g, function (str, code_str, _name, obj_str) { obj = eval("(function () {return " + obj_str + "})()"); name = _name; return ‘{‘; }); if (obj) { let i = 5; while (js_str.indexOf(name) && –i > 0) { for (const key in obj) { if (!obj.hasOwnProperty(key)) continue; if (typeof obj == ‘function’) { let fun_info = /function s*_0x+(([^)]*)){returns*([^;]+);}/.exec(obj.toString()); js_str = js_str.replace(new RegExp(name + ‘\.’ + key + ‘\([^()]*)\)’, ‘g’), function (string, args_str) { let args = args_str.split(‘,’), fun_args = fun_info.split(‘,’), fun_body = fun_info; fun_args.forEach(function (item, index) { fun_body = fun_body.replace(item, args); }); return fun_body; }); } else if (typeof obj == ‘string’) { js_str = js_str.replace(name + ‘.’ + key, ‘"’ + obj + ‘"’); } else { js_str = js_str.replace(name + ‘.’ + key, obj.toString()); } } } } return js_str;})($(‘#resultSource’).val() || $(‘#jsdata’).val());
idc系统 大佬有话说 :
不错,看看。
一位不知名网友 大佬有话说 :
不错,但是我不会啊
miniliuke 大佬有话说 :
运行一下就能拿到解密后的代码了(但是还是混淆的)
sunxiao123 大佬有话说 :
miniliuke 大佬有话说 : 2020-3-6 15:06
运行一下就能拿到解密后的代码了(但是还是混淆的)
怎么运行,求指教