Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 2020/.DS_Store
Binary file not shown.
Binary file added 2020/bilibili/.DS_Store
Binary file not shown.
88 changes: 88 additions & 0 deletions 2020/bilibili/bilibili.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
let CryptoJS = require("./crypto.js");

oeyff = '__0x7c3a4',
__0x7c3a4 = ['wpcBLcOMwpE=', 'wqQSwrlAwpLDoA==', 'w6oVX8Kgw44=', 'LcK3woA5Ag==', 'wqJxJQ==', 'wpXDm8OBNBTCnW0=', 'e8KWwpfDqw==', 'w6cYw4M=', 'wp51wrxmYApzwrbDsxpS', 'UMKRw4c=', 'aF0bwpDDvMOe', 'CsKqCkoL', 'w5kOw4B+UgR+wrdRXUwvYMOlw5HClQ==', 'RcK8wpbDnMK9w7zCjgVzw5BVCsOYa8KBwqo=', 'w5rDicKA', 'VFUfRBvDiMOi', 'w7gpw6o=', 'c8OGw7c=', 'wrlRBBjDpcKGwrPDn3nCi2Y=', 'wrkaXBQHw6N8SA==', 'GsKVbQ==', 'w7Euw6ZO', 'HTvCqX5lDcOUwqof', 'aW7CkE94wrVjBcKV', '5Lql6IKY5Yi26ZiqTMKifsO1w5bCkAIPw5M=', 'JF7DsC8OWiAhYzgneFh5wozCmQ==', 'WgIUwpHDrcO4esKGw7t+wpvDiDA5w4Z9', 'wqJ0wrs=', 'wohxwrpgXlo=']; (function(_0x4459cd, _0x5b3e0a) {
var _0x401bc7 = function(_0x332f15) {
while (--_0x332f15) {
_0x4459cd['push'](_0x4459cd['shift']());
}
};
_0x401bc7(++_0x5b3e0a);
} (__0x7c3a4, 0x175));

var _0x4525 = function(_0x46b41e, _0x4b9780) {
_0x46b41e = _0x46b41e - 0x0;
var _0x24583d = __0x7c3a4[_0x46b41e];
if (_0x4525['initialized'] === undefined) { (function() {
var _0x24ddd3 = typeof window !== 'undefined' ? window: typeof process === 'object' && typeof require === 'function' && typeof global === 'object' ? global: this;
var _0x416079 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
_0x24ddd3['atob'] || (_0x24ddd3['atob'] = function(_0x541448) {
var _0x47dc8b = String(_0x541448)['replace'](/=+$/, '');
for (var _0x28da72 = 0x0,
_0x2a8967, _0x365a52, _0xdfab69 = 0x0,
_0x48a56a = ''; _0x365a52 = _0x47dc8b['charAt'](_0xdfab69++);~_0x365a52 && (_0x2a8967 = _0x28da72 % 0x4 ? _0x2a8967 * 0x40 + _0x365a52: _0x365a52, _0x28da72++%0x4) ? _0x48a56a += String['fromCharCode'](0xff & _0x2a8967 >> ( - 0x2 * _0x28da72 & 0x6)) : 0x0) {
_0x365a52 = _0x416079['indexOf'](_0x365a52);
}
return _0x48a56a;
});
} ());
var _0x27f525 = function(_0x5b862f, _0x510bd5) {
var _0xcd0bf1 = [],
_0x387cc9 = 0x0,
_0x492a29,
_0x1cadc3 = '',
_0x3bc391 = '';
_0x5b862f = atob(_0x5b862f);
for (var _0xc91a0e = 0x0,
_0x54c042 = _0x5b862f['length']; _0xc91a0e < _0x54c042; _0xc91a0e++) {
_0x3bc391 += '%' + ('00' + _0x5b862f['charCodeAt'](_0xc91a0e)['toString'](0x10))['slice']( - 0x2);
}
_0x5b862f = decodeURIComponent(_0x3bc391);
for (var _0xb65fb7 = 0x0; _0xb65fb7 < 0x100; _0xb65fb7++) {
_0xcd0bf1[_0xb65fb7] = _0xb65fb7;
}
for (_0xb65fb7 = 0x0; _0xb65fb7 < 0x100; _0xb65fb7++) {
_0x387cc9 = (_0x387cc9 + _0xcd0bf1[_0xb65fb7] + _0x510bd5['charCodeAt'](_0xb65fb7 % _0x510bd5['length'])) % 0x100;
_0x492a29 = _0xcd0bf1[_0xb65fb7];
_0xcd0bf1[_0xb65fb7] = _0xcd0bf1[_0x387cc9];
_0xcd0bf1[_0x387cc9] = _0x492a29;
}
_0xb65fb7 = 0x0;
_0x387cc9 = 0x0;
for (var _0x5e1b82 = 0x0; _0x5e1b82 < _0x5b862f['length']; _0x5e1b82++) {
_0xb65fb7 = (_0xb65fb7 + 0x1) % 0x100;
_0x387cc9 = (_0x387cc9 + _0xcd0bf1[_0xb65fb7]) % 0x100;
_0x492a29 = _0xcd0bf1[_0xb65fb7];
_0xcd0bf1[_0xb65fb7] = _0xcd0bf1[_0x387cc9];
_0xcd0bf1[_0x387cc9] = _0x492a29;
_0x1cadc3 += String['fromCharCode'](_0x5b862f['charCodeAt'](_0x5e1b82) ^ _0xcd0bf1[(_0xcd0bf1[_0xb65fb7] + _0xcd0bf1[_0x387cc9]) % 0x100]);
}
return _0x1cadc3;
};
_0x4525['rc4'] = _0x27f525;
_0x4525['data'] = {};
_0x4525['initialized'] = !![];
}
var _0x2952ce = _0x4525['data'][_0x46b41e];
if (_0x2952ce === undefined) {
if (_0x4525['once'] === undefined) {
_0x4525['once'] = !![];
}
_0x24583d = _0x4525['rc4'](_0x24583d, _0x4b9780);
_0x4525['data'][_0x46b41e] = _0x24583d;
} else {
_0x24583d = _0x2952ce;
}
return _0x24583d;
};

function decrypt(_0x55cd15) {
var _0x2b29a5 = CryptoJS[_0x4525('0xd', 'p(J)')][_0x4525('0xe', 'ZJjv')][_0x4525('0xf', '2W(k')](_0x4525('0x10', 'R!FI'));
var _0x431fea = CryptoJS['enc']['Latin1']['parse'](_0x4525('0x11', 'N6Ge'));
var _0x28806e = CryptoJS[_0x4525('0x12', 'U[)g')][_0x4525('0x13', 'u4yX')](_0x55cd15, _0x2b29a5, {
'iv': _0x431fea,
'mode': CryptoJS['mode'][_0x4525('0x14', 'R!FI')],
'adding': CryptoJS[_0x4525('0x15', 'KvSw')][_0x4525('0x16', 'eITC')]
})[_0x4525('0x17', 'o*r^')](CryptoJS[_0x4525('0x18', 'ZH@&')][_0x4525('0x19', 'o(Cg')]);
return _0x28806e;
}
Loading