123网盘解析规则优化

This commit is contained in:
QAIU
2023-07-27 17:45:53 +08:00
parent 34baecb535
commit 54e8f73427
6 changed files with 196 additions and 1 deletions

View File

@@ -0,0 +1,158 @@
function(_0x260eea) {
var _0x32debd = _0x5d1dcd;
while (0x1)
switch (_0x260eea[_0x32debd('0x3081')] = _0x260eea['next']) {
case 0x0:
if (_0x48562f = Math['round'](0x989680 * Math['random']()),
_0x4a64a3 = Math.round((new Date().getTime() + 0x3c * new Date().getTimezoneOffset() * 0x3e8 + 28800000) / 0x3e8).toString(),
!_0x2acee0) {
_0x260eea[_0x32debd('0x2ea2')] = 0x6;
break;
}
_0x3f179c = _0x267b46,
_0x260eea['next'] = 0x9;
break;
case 0x6:
return _0x260eea[_0x32debd('0x2ea2')] = 0x8,
_0x120ff0(_0x40fd67, ()=>{
var _0x229129 = _0x32debd;
console[_0x229129('0x1430')](_0x229129('0x261b'));
}
, 0x3);
case 0x8:
_0x3f179c = _0x260eea['sent'];
case 0x9:
if (!(_0x1c9c65(_0x4a64a3, _0x3f179c) >= 0x14)) {
if (_0x32debd('0x22d4') === _0x32debd('0x22d4')) {
_0x260eea[_0x32debd('0x2ea2')] = 0xf;
break;
} else {
function _0x162fbc() {
var _0x15df95 = _0x32debd
, _0x49beb6 = this[_0x15df95('0xa89')]
, _0x28484b = _0x49beb6[_0x15df95('0x1e71')]
, _0x243239 = _0x49beb6['actions']
, _0x1b1b63 = _0x49beb6['dblclickable'];
this[_0x15df95('0x133b')](_0x28484b, _0x1f5a03) && _0x1b1b63 && this[_0x15df95('0x32ac')](_0x28484b, _0x243239);
}
}
}
_0x1e2592 = _0x3f179c,
_0x2acee0 = !0x0,
_0x5c82b2 = _0x3011b3(_0x40fd67, 0xea60),
_0x260eea[_0x32debd('0x2ea2')] = 0x15;
break;
case 0xf:
if (!_0x5c82b2) {
if (_0x32debd('0x27c2') !== 'izdYj') {
_0x260eea[_0x32debd('0x2ea2')] = 0x14;
break;
} else {
function _0x4715af() {
var _0x4c7599 = _0x32debd
, _0x3b216f = [];
return (_0x5e4d62 || [])[_0x4c7599('0x20b2')](function(_0x4f449b) {
var _0x10cbc5 = _0x4c7599
, _0x1b62b4 = _0x4f449b[_0x10cbc5('0x715')]
, _0x2b00c8 = _0x4f449b[_0x10cbc5('0x2505')];
_0x3b216f['push'](_0x1b62b4),
_0x2b00c8 && (_0x3b216f = [][_0x10cbc5('0x3199')](_0x3de93d(_0x8b77f4['a'])(_0x3b216f), _0x266710(_0x39d1d0['a'])(_0x3bfbbc(_0x2b00c8))));
}),
_0x3b216f;
}
}
}
return _0x260eea[_0x32debd('0x2ea2')] = 0x12,
_0xecf6f4(_0x5c82b2);
case 0x12:
_0x2acee0 = !0x1,
_0x5c82b2 = 0x0;
case 0x14:
_0x1e2592 = _0x4a64a3;
case 0x15:
for (_0x1c540f in (_0x2f7dfc = atob(_0x362d99()).split(','),
_0x35a889 = _0x144d1a(_0x1e2592),
_0x36f983 = _0x35a889['y'],
_0x3b043d = _0x35a889['m'],
_0x5bc73b = _0x35a889['d'],
_0x4b30b2 = _0x35a889['h'],
_0x32399e = _0x35a889['f'],
_0x25d94e = [_0x36f983, _0x3b043d, _0x5bc73b, _0x4b30b2, _0x32399e].join(''),
_0x373490 = [],
_0x25d94e))
_0x373490['push'](_0x2f7dfc[Number(_0x25d94e[_0x1c540f])]);
return _0x43bdc6 = _0x4f141a(_0x373490['join']('')),
_0x406c4e = _0x4f141a(''['concat'](_0x1e2592, '|')['concat'](_0x48562f, '|')['concat'](_0x1e37d5, '|')['concat'](_0x4e2d74, '|')['concat'](_0x56f040, '|')['concat'](_0x43bdc6)),
[_0x43bdc6, ''['concat'](_0x1e2592, '-')['concat'](_0x48562f, '-')['concat'](_0x406c4e)];
_0x260eea[_0x32debd('0x1610')](_0x32debd('0x2701'), [_0x43bdc6, ''['concat'](_0x1e2592, '-')['concat'](_0x48562f, '-')['concat'](_0x406c4e)]);
case 0x1d:
case 'end':
return _0x260eea.stop();
}
}
eaefamemdead
_0x4f141a(1690439821|5790548|/b/api/share/download/info|web|3|1946841013) =
_0x1e2592 1690439821 时间戳
_0x48562f 5790548 随机码
_0x1e37d5 /b/api/share/download/info
_0x4e2d74 web
_0x56f040 3
_0x43bdc6 1946841013 加密时间HASH戳
>>>>
_0x43bdc6=''['concat'](_0x1e2592, '-')['concat'](_0x48562f, '-')['concat'](_0x406c4e)
加密时间HASH戳 = 时间戳-随机码-秘钥
function _0x4f141a(_0x4075b1) {
for (var _0x4eddcb = arguments['length'] > 0x1 && void 0x0 !== arguments[0x1] ? arguments[0x1] : 0xa,
_0x4ee01e = function(_0x3bb99e) {
var
_0x3bb99e = _0x3bb99e['replace'](/\\r\\n/g, '\x5cn');
for (var _0x585459 = '', _0x15c988 = 0x0; _0x15c988 < _0x3bb99e['length']; _0x15c988++) {
var _0x36bb3e = _0x3bb99e['charCodeAt'](_0x15c988);
_0x36bb3e < 0x80 ? _0x585459 += String['fromCharCode'](_0x36bb3e) : _0x36bb3e > 0x7f && _0x36bb3e < 0x800 ? (_0x585459 += String['fromCharCode'](_0x36bb3e >> 0x6 | 0xc0),
_0x585459 += String['fromCharCode'](0x3f & _0x36bb3e | 0x80)) : (_0x585459 += String['fromCharCode'](_0x36bb3e >> 0xc | 0xe0),
_0x585459 += String['fromCharCode'](_0x36bb3e >> 0x6 & 0x3f | 0x80),
_0x585459 += String['fromCharCode'](0x3f & _0x36bb3e | 0x80));
}
return _0x585459;
}, _0x2fc680 = function() {
for (var _0x515c63, _0x361314 = [], _0x4cbdba = 0x0; _0x4cbdba < 0x100; _0x4cbdba++) {
_0x515c63 = _0x4cbdba;
for (var _0x460960 = 0x0; _0x460960 < 0x8; _0x460960++)
_0x515c63 = 0x1 & _0x515c63 ? 0xedb88320 ^ _0x515c63 >>> 0x1 : _0x515c63 >>> 0x1;
_0x361314[_0x4cbdba] = _0x515c63;
}
return _0x361314;
},
_0x4aed86 = _0x2fc680(),
_0x5880f0 = _0x4ee01e(_0x4075b1),
_0x492393 = -0x1, _0x25d82c = 0x0;
_0x25d82c < _0x5880f0['length'];
_0x25d82c++)
_0x492393 = _0x492393 >>> 0x8 ^ _0x4aed86[0xff & (_0x492393 ^ _0x5880f0.charCodeAt(_0x25d82c))];
return _0x492393 = (-0x1 ^ _0x492393) >>> 0x0,
_0x492393.toString(_0x4eddcb);
}
var _0x83f1 = function(_0x45f5c1, _0x3e4d22) {
_0x45f5c1 = _0x45f5c1 - 0x0;
var _0x83f104 = _0x3e4d[_0x45f5c1];
return _0x83f104;
};