最新公告

    Sorry, no posts matched your criteria.

SOJSONV5解密,SOJSON.V5解密方法,SOJSONV5解密分析

作者 : xinyi 本文共5907个字,预计阅读时间需要15分钟 发布时间: 2020-04-28 共1.97K人阅读

首先 JS加密只要给浏览器能运行就是可逆的。只是难度和时间问题,如果一个加密他有规则,那么他就是可以系统化可逆。我们来分析下 sojson.v5 ,sojsonv5解密,使用者较多,见过百度也有使用。

对比了下sojson.v5和某个开源加密,都有很多相似,少部分不相似,应该是做了少许二开。

我们来分析分析sojson.v5加密。

我们随便抽取一个sojson.v5加密的代码。
;var encode_version = 'sojson.v5', rxqrp = '__0x39d58', __0x39d58 = ['w7rDjGlGYA==', 'w5ZrwpTDiyo=', 'PsK2wo4hw7A=', 'IcKcw6LDlhY=', 'bsK3HMKcDg==', 'Y8KqJMKFLjA=', 'BMKewqgXw4xC', 'GcKOwrE=', 'bhjCjsOfdg=='];
(function (_0x189fe7, _0x321225) {
var _0x1e7814 = function (_0x586cec) {
while (--_0x586cec) {
_0x189fe7['push'](_0x189fe7['shift']());
}
};
var _0x5765c1 = function () {
var _0x698b39 = {
'data': {'key': 'cookie', 'value': 'timeout'},
'setCookie': function (_0x47d3e1, _0xe214ad, _0xc5dddc, _0x2795ee) {
_0x2795ee = _0x2795ee || {};
var _0x2523ba = _0xe214ad + '=' + _0xc5dddc;
var _0x5754ca = 0x0;
for (var _0x5754ca = 0x0, _0xfc2405 = _0x47d3e1['length']; _0x5754ca < _0xfc2405; _0x5754ca++) {
var _0x2176a7 = _0x47d3e1[_0x5754ca];
_0x2523ba += ';\x20' + _0x2176a7;
var _0x497f99 = _0x47d3e1[_0x2176a7];
_0x47d3e1['push'](_0x497f99);
_0xfc2405 = _0x47d3e1['length'];
if (_0x497f99 !== !![]) {
_0x2523ba += '=' + _0x497f99;
}
}
_0x2795ee['cookie'] = _0x2523ba;
},
'removeCookie': function () {
return 'dev';
},
'getCookie': function (_0x1a3172, _0x25656d) {
_0x1a3172 = _0x1a3172 || function (_0x65d2c7) {
return _0x65d2c7;
};
var _0xf9b468 = _0x1a3172(new RegExp('(?:^|;\x20)' + _0x25656d['replace'](/([.$?*|{}()[]\/+^])/g, '$1') + '=([^;]*)'));
var _0x101f55 = function (_0x4c6b5c, _0x5367d6) {
_0x4c6b5c(++_0x5367d6);
};
_0x101f55(_0x1e7814, _0x321225);
return _0xf9b468 ? decodeURIComponent(_0xf9b468[0x1]) : undefined;
}
};
var _0x3347ef = function () {
var _0x18e41a = new RegExp('\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*[\x27|\x22].+[\x27|\x22];?\x20*}');
return _0x18e41a['test'](_0x698b39['removeCookie']['toString']());
};
_0x698b39['updateCookie'] = _0x3347ef;
var _0x5af83c = '';
var _0x51d500 = _0x698b39['updateCookie']();
if (!_0x51d500) {
_0x698b39['setCookie'](['*'], 'counter', 0x1);
} else if (_0x51d500) {
_0x5af83c = _0x698b39['getCookie'](null, 'counter');
} else {
_0x698b39['removeCookie']();
}
};
_0x5765c1();
}(__0x39d58, 0x1df));

这里大概逻辑是做了一些加密处理,把加密的内容放到数组里。

再看看sojson.v5加密中间部分代码。

var _0x55d418 = function () {
var _0x10e74f = new RegExp('\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d');
return !_0x10e74f['\x74\x65\x73\x74'](_0x4ff7bc['\x74\x6f\x53\x74\x72\x69\x6e\x67']());
};
var _0x11770a = function () {
var _0x557dd2 = new RegExp('\x28\x5c\x5c\x5b\x78\x7c\x75\x5d\x28\x5c\x77\x29\x7b\x32\x2c\x34\x7d\x29\x2b');
return _0x557dd2['\x74\x65\x73\x74'](_0x321b0b['\x74\x6f\x53\x74\x72\x69\x6e\x67']());
};
var _0x1eed2b = function (_0x589092) {
var _0x3e28a7 = ~-0x1 >> 0x1 + 0xff % 0x0;
if (_0x589092['\x69\x6e\x64\x65\x78\x4f\x66']('\x69' === _0x3e28a7)) {
_0xeafd57(_0x589092);
}
};
var _0xeafd57 = function (_0x1f577e) {
var _0x92f386 = ~-0x4 >> 0x1 + 0xff % 0x0;
if (_0x1f577e['\x69\x6e\x64\x65\x78\x4f\x66']((!![] + '')[0x3]) !== _0x92f386) {
_0x1eed2b(_0x1f577e);
}
};

这里其实是一种编码。用https://www.sojson.com/jsjiemi.html,sojson自带的解密,都可以解密。

点确定就可以还原了。

暂无优惠

已有1人支付


就没有那些乱七八糟的代码了,今天我们先分析到这里。

源码均经过人工复检认证,确保运行无错,源码均已检测无后门,放心下载!
乐可可资源站 » SOJSONV5解密,SOJSON.V5解密方法,SOJSONV5解密分析

常见问题FAQ


Warning: Invalid argument supplied for foreach() in /www/wwwroot/lococ.cn/wp-content/themes/ripro-child/parts/author-box.php on line 12

提供最优质的资源集合

立即查看 了解详情