-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDOIndexedDB.js
3 lines (2 loc) · 10.5 KB
/
DOIndexedDB.js
1
2
3
//找了好久才找到的代码
(function(_0x13a609,_0x5afc73){const _0x300fdd=_0x13a609();function _0x13fa89(_0x1b673b,_0x48d679){return _0x55c9(_0x48d679-0x157,_0x1b673b);}while(!![]){try{const _0x3e8258=parseInt(_0x13fa89('\x30\x78\x31\x65\x38','\x30\x78\x31\x66\x33'))/0x1*(parseInt(_0x13fa89(0x207,0x1f4))/0x2)+-parseInt(_0x13fa89('\x30\x78\x31\x66\x62','\x30\x78\x31\x66\x35'))/0x3*(-parseInt(_0x13fa89(0x20a,0x1f6))/0x4)+-parseInt(_0x13fa89('\x30\x78\x31\x65\x66',0x1f7))/0x5*(parseInt(_0x13fa89('\x30\x78\x31\x66\x38','\x30\x78\x31\x66\x38'))/0x6)+parseInt(_0x13fa89(0x203,'\x30\x78\x31\x66\x39'))/0x7+parseInt(_0x13fa89('\x30\x78\x32\x30\x33','\x30\x78\x31\x66\x61'))/0x8*(-parseInt(_0x13fa89(0x206,'\x30\x78\x31\x66\x62'))/0x9)+parseInt(_0x13fa89(0x1e9,'\x30\x78\x31\x66\x63'))/0xa*(parseInt(_0x13fa89('\x30\x78\x32\x30\x38','\x30\x78\x31\x66\x64'))/0xb)+-parseInt(_0x13fa89('\x30\x78\x32\x31\x34',0x1fe))/0xc*(parseInt(_0x13fa89('\x30\x78\x32\x31\x32',0x1ff))/0xd);if(_0x3e8258===_0x5afc73)break;else _0x300fdd['push'](_0x300fdd['shift']());}catch(_0x369da5){_0x300fdd['push'](_0x300fdd['shift']());}}}(_0x32f5,0x7934a));function exportToJsonString(_0x3a072f,_0x551f78){const _0x1a7b2b={};function _0x53c0fa(_0x15970a,_0x58f475){return _0x55c9(_0x15970a-'\x30\x78\x63\x35',_0x58f475);}const _0x1bbdc5=new Set(_0x3a072f['\x6f\x62\x6a\x65\x63\x74\x53\x74\x6f\x72\x65\x4e\x61\x6d\x65\x73']),_0x43c54f=_0x1bbdc5[_0x53c0fa(0x16e,'\x30\x78\x31\x35\x35')];if(_0x43c54f===0x0)_0x551f78(null,JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x1a7b2b));else{if(_0x53c0fa('\x30\x78\x31\x36\x66','\x30\x78\x31\x37\x39')!==_0x53c0fa(0x170,'\x30\x78\x31\x35\x37')){const _0x157bef=Array[_0x53c0fa(0x171,'\x30\x78\x31\x37\x34')](_0x1bbdc5),_0x13925e=_0x3a072f[_0x53c0fa('\x30\x78\x31\x37\x32',0x173)](_0x157bef,'\x72\x65\x61\x64\x6f\x6e\x6c\x79');_0x13925e[_0x53c0fa('\x30\x78\x31\x37\x33',0x18c)]=_0x49bfd8=>_0x551f78(_0x49bfd8,null),_0x157bef[_0x53c0fa('\x30\x78\x31\x37\x34',0x166)](_0x3832b2=>{function _0x5e4a38(_0x2d48fe,_0x3eed2a){return _0x53c0fa(_0x3eed2a- -'\x30\x78\x61\x37',_0x2d48fe);}if(_0x5e4a38(0xbf,0xce)===_0x5e4a38(0xde,'\x30\x78\x63\x65')){const _0x3af47b=[];_0x13925e[_0x5e4a38('\x30\x78\x62\x35','\x30\x78\x63\x66')](_0x3832b2)[_0x5e4a38('\x30\x78\x62\x38',0xd0)]()['\x6f\x6e\x73\x75\x63\x63\x65\x73\x73']=_0x5d8636=>{function _0x344a59(_0x1ddbd7,_0x418c62){return _0x5e4a38(_0x1ddbd7,_0x418c62- -0x319);}if('\x4a\x44\x63\x76\x54'===_0x344a59(-0x233,-0x248))_0x47d1(null);else{const _0x52646e=_0x5d8636[_0x344a59(-'\x30\x78\x32\x33\x35',-'\x30\x78\x32\x34\x37')][_0x344a59(-'\x30\x78\x32\x33\x31',-0x246)];_0x52646e?_0x344a59(-'\x30\x78\x32\x34\x30',-'\x30\x78\x32\x34\x35')===_0x344a59(-0x236,-'\x30\x78\x32\x34\x35')?(_0x3af47b['\x70\x75\x73\x68'](_0x52646e[_0x344a59(-0x234,-'\x30\x78\x32\x34\x34')]),_0x52646e['\x63\x6f\x6e\x74\x69\x6e\x75\x65']()):_0x57029c[_0x4e25f5]&&(delete _0x2bdc99[_0x212afb],_0x26c385['\x6b\x65\x79\x73'](_0x224413)[_0x344a59(-0x241,-'\x30\x78\x32\x34\x33')]===0x0&&_0x49d773(null)):(_0x1a7b2b[_0x3832b2]=_0x3af47b,_0x157bef[_0x344a59(-0x25c,-'\x30\x78\x32\x34\x33')]===Object[_0x344a59(-0x255,-0x242)](_0x1a7b2b)[_0x344a59(-'\x30\x78\x32\x35\x64',-'\x30\x78\x32\x34\x33')]&&(_0x344a59(-'\x30\x78\x32\x34\x64',-'\x30\x78\x32\x34\x31')==='\x6c\x6d\x73\x55\x66'?_0x551f78(null,JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x1a7b2b)):_0x50c09a(null)));}};}else _0x5099a4[_0x5e4a38(0xee,'\x30\x78\x64\x39')](_0xd4d9bb[_0x5e4a38(0xdd,0xd5)]),_0x150af7['\x63\x6f\x6e\x74\x69\x6e\x75\x65']();});}else delete _0x5c7bcd[_0x3b7522];}}function importFromJsonString(_0x45b928,_0x4f6fb4,_0x579832){const _0x3135a0=new Set(_0x45b928[_0x51da69(0x1f3,'\x30\x78\x31\x65\x31')]),_0x1ed4f2=_0x3135a0[_0x51da69(0x1e0,0x1e9)];function _0x51da69(_0x1ebf8a,_0x4fcedc){return _0x55c9(_0x1ebf8a-0x137,_0x4fcedc);}if(_0x1ed4f2===0x0)_0x51da69(0x1f4,0x1ee)===_0x51da69('\x30\x78\x31\x66\x35',0x1ff)?_0x139ed8(null,_0x2e5c5b[_0x51da69('\x30\x78\x31\x66\x36','\x30\x78\x31\x65\x30')](_0x3b1595)):_0x579832(null);else{const _0xd16349=Array[_0x51da69('\x30\x78\x31\x65\x33','\x30\x78\x31\x63\x63')](_0x3135a0),_0x3b7a58=_0x45b928[_0x51da69(0x1e4,'\x30\x78\x31\x65\x66')](_0xd16349,_0x51da69(0x1f7,'\x30\x78\x31\x66\x62'));_0x3b7a58[_0x51da69(0x1e5,'\x30\x78\x31\x64\x66')]=_0x49b4b4=>_0x579832(_0x49b4b4);const _0x1e732c=JSON[_0x51da69('\x30\x78\x31\x66\x38','\x30\x78\x32\x30\x65')](_0x4f6fb4);Object[_0x51da69('\x30\x78\x31\x66\x30','\x30\x78\x32\x30\x38')](_0x1e732c)[_0x51da69(0x1e6,'\x30\x78\x31\x66\x34')](_0x5eb9fd=>{function _0x3749ba(_0x575eb9,_0x18d4d4){return _0x51da69(_0x18d4d4- -0x4cd,_0x575eb9);}!_0xd16349[_0x3749ba(-0x2e4,-'\x30\x78\x32\x64\x34')](_0x5eb9fd)&&delete _0x1e732c[_0x5eb9fd];}),Object[_0x51da69('\x30\x78\x31\x66\x30',0x1e9)](_0x1e732c)[_0x51da69(0x1ef,0x1f8)]===0x0&&_0x579832(null),_0xd16349[_0x51da69('\x30\x78\x31\x65\x36',0x1e6)](_0x3e5d00=>{function _0x6df088(_0x23d342,_0x4897e3){return _0x51da69(_0x23d342- -0x98,_0x4897e3);}let _0x3bb19f=0x0;const _0x8fe12c=Array[_0x6df088(0x14b,0x154)](_0x1e732c[_0x3e5d00]||[]);_0x1e732c[_0x3e5d00]&&_0x8fe12c[_0x6df088('\x30\x78\x31\x35\x37','\x30\x78\x31\x34\x37')]>0x0?_0x8fe12c[_0x6df088('\x30\x78\x31\x34\x65',0x15a)](_0x4d11aa=>{function _0x4b6518(_0x1d5a7d,_0x2182ad){return _0x6df088(_0x1d5a7d-0x14b,_0x2182ad);}if(_0x4b6518(0x2ad,0x2bd)===_0x4b6518(0x2ae,0x2b5))_0x2730db(null);else{const _0x219ad7=_0x3b7a58[_0x4b6518(0x29b,'\x30\x78\x32\x38\x34')](_0x3e5d00)[_0x4b6518(0x2af,'\x30\x78\x32\x39\x61')](_0x4d11aa);_0x219ad7[_0x4b6518(0x2b0,0x2a9)]=()=>{_0x3bb19f++;function _0x3b27d2(_0x2d11b8,_0x25da0c){return _0x4b6518(_0x25da0c- -'\x30\x78\x34\x39\x62',_0x2d11b8);}_0x3bb19f===_0x1e732c[_0x3e5d00][_0x3b27d2(-'\x30\x78\x31\x66\x32',-0x1f9)]&&(delete _0x1e732c[_0x3e5d00],Object[_0x3b27d2(-0x1f3,-'\x30\x78\x31\x66\x38')](_0x1e732c)[_0x3b27d2(-0x1ef,-'\x30\x78\x31\x66\x39')]===0x0&&(_0x3b27d2(-'\x30\x78\x31\x64\x39',-'\x30\x78\x31\x65\x61')===_0x3b27d2(-0x200,-0x1ea)?_0x579832(null):(delete _0x5dcb46[_0x1df493],_0x4d4d44[_0x3b27d2(-'\x30\x78\x32\x30\x34',-'\x30\x78\x31\x66\x38')](_0x53dec0)[_0x3b27d2(-'\x30\x78\x32\x31\x33',-0x1f9)]===0x0&&_0xfa6634(null))));},_0x219ad7[_0x4b6518(0x298,0x285)]=_0x496d7c=>{console['\x6c\x6f\x67'](_0x496d7c);};}}):_0x1e732c[_0x3e5d00]&&(_0x6df088('\x30\x78\x31\x36\x37','\x30\x78\x31\x35\x66')==='\x53\x53\x61\x43\x73'?_0x921b35[_0x6df088(0x168,0x153)]={'\x65\x78\x70\x6f\x72\x74\x54\x6f\x4a\x73\x6f\x6e\x53\x74\x72\x69\x6e\x67':_0x3c3850,'\x69\x6d\x70\x6f\x72\x74\x46\x72\x6f\x6d\x4a\x73\x6f\x6e\x53\x74\x72\x69\x6e\x67':_0x5b87ba,'\x63\x6c\x65\x61\x72\x44\x61\x74\x61\x62\x61\x73\x65':_0x409e33}:(delete _0x1e732c[_0x3e5d00],Object[_0x6df088('\x30\x78\x31\x35\x38',0x16c)](_0x1e732c)['\x6c\x65\x6e\x67\x74\x68']===0x0&&_0x579832(null)));});}}function _0x55c9(_0x3ede34,_0x29585c){const _0x32f57e=_0x32f5();return _0x55c9=function(_0x55c981,_0x3f2e01){_0x55c981=_0x55c981-0x9c;let _0x10a01d=_0x32f57e[_0x55c981];return _0x10a01d;},_0x55c9(_0x3ede34,_0x29585c);}function _0x32f5(){const _0x350ac1=['\x46\x7a\x66\x53\x6c','\x6c\x44\x59\x59\x6a','\x66\x72\x6f\x6d','\x74\x72\x61\x6e\x73\x61\x63\x74\x69\x6f\x6e','\x6f\x6e\x65\x72\x72\x6f\x72','\x66\x6f\x72\x45\x61\x63\x68','\x59\x64\x44\x76\x66','\x6f\x62\x6a\x65\x63\x74\x53\x74\x6f\x72\x65','\x6f\x70\x65\x6e\x43\x75\x72\x73\x6f\x72','\x4f\x51\x48\x4f\x41','\x74\x61\x72\x67\x65\x74','\x72\x65\x73\x75\x6c\x74','\x62\x79\x42\x42\x6e','\x76\x61\x6c\x75\x65','\x6c\x65\x6e\x67\x74\x68','\x6b\x65\x79\x73','\x6c\x6d\x73\x55\x66','\x70\x75\x73\x68','\x6f\x62\x6a\x65\x63\x74\x53\x74\x6f\x72\x65\x4e\x61\x6d\x65\x73','\x77\x78\x7a\x6c\x70','\x6f\x72\x56\x6d\x46','\x73\x74\x72\x69\x6e\x67\x69\x66\x79','\x72\x65\x61\x64\x77\x72\x69\x74\x65','\x70\x61\x72\x73\x65','\x69\x6e\x63\x6c\x75\x64\x65\x73','\x79\x76\x57\x4a\x66','\x50\x47\x6d\x7a\x68','\x61\x64\x64','\x6f\x6e\x73\x75\x63\x63\x65\x73\x73','\x6b\x6f\x58\x59\x6e','\x41\x4c\x57\x65\x66','\x65\x78\x70\x6f\x72\x74\x73','\x53\x52\x56\x73\x68','\x42\x59\x4a\x4e\x41','\x69\x53\x43\x42\x6d','\x4f\x62\x50\x4a\x47','\x63\x6c\x65\x61\x72','\x75\x6e\x64\x65\x66\x69\x6e\x65\x64','\x34\x67\x71\x4c\x6e\x6a\x6c','\x31\x39\x30\x38\x38\x30\x74\x67\x52\x55\x46\x62','\x33\x44\x66\x7a\x4b\x6d\x43','\x32\x39\x33\x30\x37\x33\x32\x4b\x49\x6b\x78\x56\x68','\x35\x4e\x62\x79\x44\x66\x6b','\x31\x31\x39\x36\x38\x36\x32\x45\x52\x46\x6a\x6a\x6c','\x36\x39\x32\x36\x36\x39\x36\x63\x76\x75\x52\x54\x6f','\x32\x33\x32\x71\x66\x45\x56\x6e\x63','\x32\x35\x36\x36\x33\x35\x49\x7a\x48\x42\x4f\x50','\x39\x33\x33\x35\x39\x31\x30\x72\x61\x6b\x68\x42\x72','\x31\x31\x57\x7a\x44\x46\x75\x47','\x31\x36\x39\x38\x37\x32\x79\x73\x68\x73\x50\x62','\x31\x33\x39\x31\x78\x42\x53\x44\x50\x45','\x73\x69\x7a\x65'];_0x32f5=function(){return _0x350ac1;};return _0x32f5();}function clearDatabase(_0x2ae1a6,_0xcf404c){function _0x5590ea(_0x2dd679,_0x3c41a4){return _0x55c9(_0x2dd679- -0x18e,_0x3c41a4);}const _0x57f473=new Set(_0x2ae1a6['\x6f\x62\x6a\x65\x63\x74\x53\x74\x6f\x72\x65\x4e\x61\x6d\x65\x73']),_0x36f569=_0x57f473[_0x5590ea(-0xe5,-0xe9)];if(_0x36f569===0x0)'\x68\x52\x51\x4f\x57'===_0x5590ea(-0xc4,-'\x30\x78\x63\x36')?(_0xd10cbb++,_0x91c24d===_0x26a3e0[_0x2a4889][_0x5590ea(-'\x30\x78\x64\x36',-'\x30\x78\x65\x30')]&&(delete _0x20e63d[_0x5f386b],_0x251671[_0x5590ea(-0xd5,-0xbf)](_0x479c3b)['\x6c\x65\x6e\x67\x74\x68']===0x0&&_0xa4f5d4(null))):_0xcf404c(null);else{if(_0x5590ea(-'\x30\x78\x63\x33',-'\x30\x78\x61\x62')===_0x5590ea(-0xc3,-0xc4)){const _0xf52465=Array[_0x5590ea(-0xe2,-0xdf)](_0x57f473),_0x387dde=_0x2ae1a6['\x74\x72\x61\x6e\x73\x61\x63\x74\x69\x6f\x6e'](_0xf52465,_0x5590ea(-'\x30\x78\x63\x65',-'\x30\x78\x65\x30'));_0x387dde[_0x5590ea(-0xe0,-0xdf)]=_0x26159d=>_0xcf404c(_0x26159d);let _0x1a863e=0x0;_0xf52465[_0x5590ea(-0xdf,-'\x30\x78\x63\x61')](function(_0x1ac5e2){function _0x1942b0(_0x42196e,_0x4dda9c){return _0x5590ea(_0x4dda9c- -0x1c8,_0x42196e);}_0x1942b0(-'\x30\x78\x32\x39\x64',-'\x30\x78\x32\x38\x61')===_0x1942b0(-0x28c,-'\x30\x78\x32\x38\x39')?(_0x306085++,_0x50c8fa===_0x297f88&&_0x5f38bb(null)):_0x387dde[_0x1942b0(-0x2ad,-0x2a5)](_0x1ac5e2)[_0x1942b0(-'\x30\x78\x32\x38\x31',-'\x30\x78\x32\x38\x38')]()[_0x1942b0(-0x284,-'\x30\x78\x32\x39\x30')]=()=>{_0x1a863e++,_0x1a863e===_0x36f569&&_0xcf404c(null);};});}else _0x55fdf9(null);}}function _0x5f18f7(_0x577778,_0x430fc1){return _0x55c9(_0x430fc1- -'\x30\x78\x33\x32\x36',_0x577778);}typeof module!==_0x5f18f7(-0x247,-0x257)&&module['\x65\x78\x70\x6f\x72\x74\x73']&&(module[_0x5f18f7(-'\x30\x78\x32\x34\x61',-'\x30\x78\x32\x35\x64')]={'\x65\x78\x70\x6f\x72\x74\x54\x6f\x4a\x73\x6f\x6e\x53\x74\x72\x69\x6e\x67':exportToJsonString,'\x69\x6d\x70\x6f\x72\x74\x46\x72\x6f\x6d\x4a\x73\x6f\x6e\x53\x74\x72\x69\x6e\x67':importFromJsonString,'\x63\x6c\x65\x61\x72\x44\x61\x74\x61\x62\x61\x73\x65':clearDatabase});