本帖最后由 独行剑侠 于 2022-11-25 14:28 编辑
使用的v6加密,解密后精剪时这段js出现问题,其它精剪都没报错,眼花了,实在找不到原因,纯新手,求助~原解密后
[JavaScript] 纯文本查看 复制代码
function _0x1c8d(_0x571588, _0x3cdf19) {
_0x571588 = ~ (~"0x".concat(_0x571588.slice(0)));
var _0x41278e = _0x1f4b[_0x571588];
return _0x41278e;
}
function 读入文件 () {
var _0x1f5fdd = new File(File($[_0x1c8d("0")])[_0x1c8d("1")] + "/" + escape(_0x1c8d("2")));
if (_0x1f5fdd[_0x1c8d("3")]) {
_0x1f5fdd[_0x1c8d("4")]("r");
} else {
alert(_0x1c8d("5"));
return;
}
arr = _0x1f5fdd[_0x1c8d("6")]()[_0x1c8d("7")]("\n");
alert(_0x1c8d("8") + arr[_0x1c8d("9")] + _0x1c8d("a"));
flagf = 1;
for (var i = 0; i < arr[_0x1c8d("9")]; i += 1) {
$[_0x1c8d("b")](arr[i]);
}
_0x1f5fdd[_0x1c8d("c")]();
}
var _0xodN = "jsjiami.com.v6";
var _0xodN_ = ["_0xodN"];
var _0x1f4b = [_0xodN, "fileName", "path", "change.txt", "exists", "open", "在脚本文件夹下没有找到 change.txt 文件!请检查或重新编写!", "read", "split", "共读入 ", "length", " 条修改规则!\n之后操作会使用文件中修改规则修改脚本错误!", "writeln", "close", "jqsXjXiEXaqymwViQt.zcoSmP.v6=="];
function(_0x2f48ab, _0x391f51) {
var _0x133eac = 0;
for (_0x391f51 = _0x2f48ab.shift(_0x133eac >> 2); _0x391f51 && _0x391f51 !== _0x2f48ab.pop(_0x133eac >> 3) + "".replace(/[qXXEXqywVQtzSP=]/g, ""); _0x133eac++) {
_0x133eac = _0x133eac ^ 802937;
}
}(_0x1f4b, _0x1c8d);
_0xodN = "jsjiami.com.v6";
var flagf = 0;
var palette = new Window("palette", undefined, undefined, {
minimizeButton: true
});
run();
我的精简化后:
[Asm] 纯文本查看 复制代码
function thc(a) {
a = ~ (~"0x".concat(a.slice(0)));
var b = c[a];
return b;
}
function 读入文件 () {
var d = new File(File($[thc("0")])[thc("1")] + "/" + escape(thc("2")));
if (d[thc("3")]) {
d[thc("4")]("r");
} else {
alert(thc("5"));
return;
}
arr = d[thc("6")]()[thc("7")]("\n");
alert(thc("8") + arr[thc("9")] + thc("a"));
flagf = 1;
for (var i = 0; i < arr[thc("9")]; i += 1) {
$[thc("b")](arr[i]);
}
d[thc("c")]();
}
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(/[qXXEXqywVQtzSP=]/g, ""); g++) {
g = g ^ 802937;
}
}(c, thc);
var flagf = 0;
var palette = new Window("palette", undefined, undefined, {
minimizeButton: true
});
run(); |