JS解密进行剔除简化后报错,求助~
本帖最后由 独行剑侠 于 2022-11-25 14:28 编辑使用的v6加密,解密后精剪时这段js出现问题,其它精剪都没报错,眼花了,实在找不到原因,纯新手,求助~原解密后
function _0x1c8d(_0x571588, _0x3cdf19) {
_0x571588 = ~ (~"0x".concat(_0x571588.slice(0)));
var _0x41278e = _0x1f4b;
return _0x41278e;
}
function 读入文件 () {
var _0x1f5fdd = new File(File($) + "/" + escape(_0x1c8d("2")));
if (_0x1f5fdd) {
_0x1f5fdd("r");
} else {
alert(_0x1c8d("5"));
return;
}
arr = _0x1f5fdd()("\n");
alert(_0x1c8d("8") + arr + _0x1c8d("a"));
flagf = 1;
for (var i = 0; i < arr; i += 1) {
$(arr);
}
_0x1f5fdd();
}
var _0xodN = "jsjiami.com.v6";
var _0xodN_ = ["_0xodN"];
var _0x1f4b = ;
function(_0x2f48ab, _0x391f51) {
var _0x133eac = 0;
for (_0x391f51 = _0x2f48ab.shift(_0x133eac >> 2); _0x391f51 && _0x391f51 !== _0x2f48ab.pop(_0x133eac >> 3) + "".replace(//g, ""); _0x133eac++) {
_0x133eac = _0x133eac ^ 802937;
}
}(_0x1f4b, _0x1c8d);
_0xodN = "jsjiami.com.v6";
var flagf = 0;
var palette = new Window("palette", undefined, undefined, {
minimizeButton: true
});
run();
我的精简化后:
function thc(a) {
a = ~ (~"0x".concat(a.slice(0)));
var b = c;
return b;
}
function 读入文件 () {
var d = new File(File($) + "/" + escape(thc("2")));
if (d) {
d("r");
} else {
alert(thc("5"));
return;
}
arr = d()("\n");
alert(thc("8") + arr + thc("a"));
flagf = 1;
for (var i = 0; i < arr; i += 1) {
$(arr);
}
d();
}
var c = [ "fileName", "path", "change.txt", "exists", "open", "在脚本文件夹下没有找到 change.txt 文件!请检查或重新编写!", "read", "split", "共读入 ", "length", " 条修改规则!\n之后操作会使用文件中修改规则修改脚本错误!", "writeln", "close",];
function(e, f) {
var g = 0;
for (f = e.shift(g >> 2); f && f !== e.pop(g >> 3) + "".replace(//g, ""); g++) {
g = g ^ 802937;
}
}(c, thc);
var flagf = 0;
var palette = new Window("palette", undefined, undefined, {
minimizeButton: true
});
run(); 为什么有一个方法没有方法名呢 function(e, f) {
var g = 0;
for (f = e.shift(g >> 2); f && f !== e.pop(g >> 3) + "".replace(//g, ""); g++) {
g = g ^ 802937;
} {:1_908:}我的几百KB的JS就是用的他家的加密。。 jayfox 发表于 2022-11-25 14:41
为什么有一个方法没有方法名呢 function(e, f) {
var g = 0;
for (f = e.shift(g >> 2); f & ...
一语惊醒梦中人!感谢!
页:
[1]