@necrotry/necrotry-js
Version:
Simplicity WhatsApp Bot (Baileys)
1 lines • 7.86 kB
JavaScript
const _0x51e51b=_0x1c13;(function(_0x399576,_0x2b0ade){const _0x1ae832=_0x1c13,_0x56cde5=_0x399576();while(!![]){try{const _0x3ad822=parseInt(_0x1ae832(0x1a8))/(-0x22cb*-0x1+0xaac*-0x3+0xa*-0x47)+-parseInt(_0x1ae832(0x175))/(-0x79*0x29+-0x23f6+0x3759)+-parseInt(_0x1ae832(0x17d))/(-0x18d4+-0x6e+0x1945)*(parseInt(_0x1ae832(0x1a3))/(0x10*0x1ee+0x2*0x205+-0x22e6))+-parseInt(_0x1ae832(0x1a7))/(-0x1771*0x1+0x1*0x647+0x112f*0x1)+parseInt(_0x1ae832(0x18a))/(0x1*-0x16a3+-0x11c8*0x1+0x2871)*(parseInt(_0x1ae832(0x1bb))/(-0x1428+-0x2a*0x89+0x2aa9))+parseInt(_0x1ae832(0x16f))/(-0x18*-0x77+-0x1e6a+0x134a)+parseInt(_0x1ae832(0x170))/(0x2b*-0x53+-0x3*0x21b+0x144b*0x1);if(_0x3ad822===_0x2b0ade)break;else _0x56cde5['push'](_0x56cde5['shift']());}catch(_0x1cc304){_0x56cde5['push'](_0x56cde5['shift']());}}}(_0x3614,-0x7*-0x9ddb+-0x5706b+-0x1*-0x4ebdb));import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';import{readdirSync,readFileSync,watch}from'node:fs';import{importFromString}from'import-from-string';import{Logs}from'./Logs.js';import _0x3b66e9 from'path';import{UserDatabase,GroupDatabase,SettingsDatabase,Plugins}from'../../../../System/Database.js';class Scandir{constructor(){const _0x287bd9=_0x1c13,_0x25fc02={'dotER':function(_0x51db01,_0x3080de){return _0x51db01(_0x3080de);},'dhUMK':function(_0x40ae7f,_0x18f579){return _0x40ae7f(_0x18f579);},'ZebYG':function(_0x421cde,_0x4e50fe,_0x513a25,_0x485a94){return _0x421cde(_0x4e50fe,_0x513a25,_0x485a94);},'joOEv':_0x287bd9(0x19c)+_0x287bd9(0x1b1)};this[_0x287bd9(0x1aa)]=![],this[_0x287bd9(0x19a)]=_0x25fc02[_0x287bd9(0x198)](dirname,_0x25fc02[_0x287bd9(0x1b5)](fileURLToPath,import.meta[_0x287bd9(0x183)])),this[_0x287bd9(0x193)]=_0x25fc02[_0x287bd9(0x1bd)](join,this[_0x287bd9(0x19a)],'..',_0x25fc02[_0x287bd9(0x1a2)]),this[_0x287bd9(0x1be)]={};}async[_0x51e51b(0x169)](){const _0x2d8b1c=_0x51e51b;if(this[_0x2d8b1c(0x1aa)])return;const _0x131b58=this[_0x2d8b1c(0x17e)+_0x2d8b1c(0x174)](this[_0x2d8b1c(0x193)]);for(const _0x2c9204 of _0x131b58){await this[_0x2d8b1c(0x17c)](_0x2c9204);}this[_0x2d8b1c(0x197)](),this[_0x2d8b1c(0x1aa)]=!![];const _0x2da9ec=Object[_0x2d8b1c(0x1b2)](this[_0x2d8b1c(0x1be)])[_0x2d8b1c(0x19d)](_0x254c1a=>_0x3b66e9[_0x2d8b1c(0x1b6)](this[_0x2d8b1c(0x193)],_0x254c1a));Logs[_0x2d8b1c(0x1b0)](_0x2da9ec);}[_0x51e51b(0x17e)+_0x51e51b(0x174)](_0x25a546){const _0x3f5432=_0x51e51b,_0x147cb0={'YBWcK':function(_0x4e2a36,_0x391bff,_0x21514d){return _0x4e2a36(_0x391bff,_0x21514d);},'CbraZ':_0x3f5432(0x195),'bBVcZ':function(_0x36644e,_0x11a257,_0x197197){return _0x36644e(_0x11a257,_0x197197);}};let _0x221c75=[];const _0x237e06=_0x147cb0[_0x3f5432(0x1ab)](readdirSync,_0x25a546,{'withFileTypes':!![]});return _0x237e06[_0x3f5432(0x1ae)](_0x5284f4=>{const _0x2c97a7=_0x3f5432,_0x1f9507=_0x147cb0[_0x2c97a7(0x1a5)](join,_0x25a546,_0x5284f4[_0x2c97a7(0x196)]);if(_0x5284f4[_0x2c97a7(0x1a0)+'y']())_0x221c75=_0x221c75[_0x2c97a7(0x1a4)](this[_0x2c97a7(0x17e)+_0x2c97a7(0x174)](_0x1f9507));else _0x5284f4[_0x2c97a7(0x186)]()&&_0x5284f4[_0x2c97a7(0x196)][_0x2c97a7(0x1a6)](_0x147cb0[_0x2c97a7(0x180)])&&_0x221c75[_0x2c97a7(0x1b4)](_0x1f9507);}),_0x221c75;}async[_0x51e51b(0x17c)](_0xda3119){const _0x30ef9c=_0x51e51b,_0x50ded9={'REkzm':function(_0x2f474a,_0x3d4138){return _0x2f474a===_0x3d4138;},'XVqWt':_0x30ef9c(0x171)},_0x18e04d=_0x50ded9[_0x30ef9c(0x178)](process[_0x30ef9c(0x194)],_0x50ded9[_0x30ef9c(0x192)]),_0x5722d4=Date[_0x30ef9c(0x173)](),_0xac27fc=_0x18e04d?_0x30ef9c(0x17a)+_0xda3119:_0x30ef9c(0x16c)+_0xda3119;this[_0x30ef9c(0x1be)][_0xda3119]&&(Logs[_0x30ef9c(0x18c)](_0x30ef9c(0x19e)+_0x3b66e9[_0x30ef9c(0x1b6)](this[_0x30ef9c(0x193)],_0xda3119)+(_0x30ef9c(0x16b)+_0x30ef9c(0x16d)+_0x30ef9c(0x185))),delete this[_0x30ef9c(0x1be)][_0xda3119]);try{const _0x4a6096=(await import(_0xac27fc))[_0x30ef9c(0x1ad)];this[_0x30ef9c(0x1be)][_0xda3119]=await this[_0x30ef9c(0x176)](_0x4a6096,_0xda3119),this[_0x30ef9c(0x1be)][_0xda3119][_0x30ef9c(0x18e)]=_0xda3119;}catch(_0x355df9){Logs[_0x30ef9c(0x1b7)](_0x30ef9c(0x172)+_0x30ef9c(0x19b)+_0x3b66e9[_0x30ef9c(0x1b6)](this[_0x30ef9c(0x193)],_0xda3119)),console[_0x30ef9c(0x1b7)](_0x355df9);}}async[_0x51e51b(0x176)](_0x2ec0cf,_0x1f6657){const _0x3dbab7=_0x51e51b,_0x989349={'iWCIF':_0x3dbab7(0x188),'CaiCA':function(_0xb368ca,_0x27904f){return _0xb368ca-_0x27904f;},'hgNCi':function(_0x12305d,_0x389966,_0x121085){return _0x12305d(_0x389966,_0x121085);},'bnodd':function(_0x40f743,_0x17b69a,_0x447c8f){return _0x40f743(_0x17b69a,_0x447c8f);},'RKGfW':function(_0x3ca79b,_0x37ae8f){return _0x3ca79b(_0x37ae8f);}},_0x5551a3=_0x2ec0cf[_0x3dbab7(0x191)][_0x3dbab7(0x16a)](_0x989349[_0x3dbab7(0x18f)]),_0x144fea=_0x5551a3[_0x3dbab7(0x1b8)](0x2b*-0x1d+0xdce+-0x8ef,_0x989349[_0x3dbab7(0x1ba)](_0x5551a3[_0x3dbab7(0x17b)],0x1b2b*0x1+0x22f4+-0x3e1e))+(_0x3dbab7(0x181)+_0x3dbab7(0x179)+_0x3dbab7(0x184)+_0x3dbab7(0x19f)),_0x268c42=_0x989349[_0x3dbab7(0x182)](readFileSync,_0x1f6657,_0x989349[_0x3dbab7(0x18f)])[_0x3dbab7(0x189)](_0x5551a3,_0x144fea),_0x2d3e4f=(await _0x989349[_0x3dbab7(0x1bc)](importFromString,_0x268c42,{'dirname':_0x989349[_0x3dbab7(0x199)](dirname,_0x1f6657)}))[_0x3dbab7(0x1ad)];return _0x2d3e4f;}[_0x51e51b(0x197)](){const _0x3eb8b3=_0x51e51b,_0x5c931e={'MODtN':function(_0x3f36e2,_0x327122,_0x18cd8f){return _0x3f36e2(_0x327122,_0x18cd8f);},'pNBJD':function(_0x1bacd5,_0x55aa8f){return _0x1bacd5===_0x55aa8f;},'lxKfA':_0x3eb8b3(0x190),'Cmoky':_0x3eb8b3(0x195),'zQbVG':function(_0x4cb002,_0x5acb15){return _0x4cb002===_0x5acb15;},'bdESt':_0x3eb8b3(0x18b),'gRTIZ':function(_0x5610ec,_0x19a780,_0x5142af,_0x371112){return _0x5610ec(_0x19a780,_0x5142af,_0x371112);}};_0x5c931e[_0x3eb8b3(0x1b3)](watch,this[_0x3eb8b3(0x193)],{'recursive':!![]},(_0x26a445,_0xf4ddf9)=>{const _0x56d9e9=_0x3eb8b3,_0x54db25=_0x5c931e[_0x56d9e9(0x1b9)](join,this[_0x56d9e9(0x193)],_0xf4ddf9);if(_0x5c931e[_0x56d9e9(0x1af)](_0x26a445,_0x5c931e[_0x56d9e9(0x177)])&&_0xf4ddf9[_0x56d9e9(0x1a6)](_0x5c931e[_0x56d9e9(0x1a9)]))Logs[_0x56d9e9(0x18c)](_0x56d9e9(0x19e)+_0x3b66e9[_0x56d9e9(0x1b6)](this[_0x56d9e9(0x193)],_0x54db25)+(_0x56d9e9(0x16b)+_0x56d9e9(0x16d)+_0x56d9e9(0x185))),this[_0x56d9e9(0x17c)](_0x54db25);else{if(_0x5c931e[_0x56d9e9(0x187)](_0x26a445,_0x5c931e[_0x56d9e9(0x1a1)])&&!_0xf4ddf9){const _0x5e5712=Object[_0x56d9e9(0x1b2)](this[_0x56d9e9(0x1be)])[_0x56d9e9(0x16e)](_0x392bcc=>this[_0x56d9e9(0x1be)][_0x392bcc][_0x56d9e9(0x18e)]===_0x54db25);_0x5e5712&&(Logs[_0x56d9e9(0x18c)](_0x56d9e9(0x19e)+_0x3b66e9[_0x56d9e9(0x1b6)](this[_0x56d9e9(0x193)],_0x54db25)+(_0x56d9e9(0x18d)+_0x56d9e9(0x17f)+_0x56d9e9(0x1ac))),delete this[_0x56d9e9(0x1be)][_0x5e5712]);}}});}}function _0x1c13(_0x4ec0f4,_0x15b294){const _0xdc83a8=_0x3614();return _0x1c13=function(_0x1c298d,_0x23de62){_0x1c298d=_0x1c298d-(-0x799*0x1+0xf8c+-0x68a);let _0x33de8b=_0xdc83a8[_0x1c298d];return _0x33de8b;},_0x1c13(_0x4ec0f4,_0x15b294);}function _0x3614(){const _0x584c2e=['isInit','bBVcZ','eleting...','default','forEach','pNBJD','success','lugins','keys','gRTIZ','push','dhUMK','relative','error','slice','MODtN','CaiCA','7PklDQo','bnodd','ZebYG','plugins','init','toString','\x20has\x20chang','file://','ed.\x20Re-imp','find','1652920KIegXG','6404508JuifVX','win32','Failed\x20to\x20','now','ive','883180avXuSj','parser','lxKfA','REkzm','.callback(','file:///','length','importFile','9duzPjt','readRecurs','removed.\x20D','CbraZ','try\x20{\x20this','hgNCi','url',')\x20}\x20catch\x20','orting...','isFile','zQbVG','utf-8','replace','622194CbqBNt','rename','info','\x20has\x20been\x20','filePath','iWCIF','change','necrotry','XVqWt','folder','platform','.js','name','watch','dotER','RKGfW','__dirname','import\x20','../../../P','map','File\x20','{\x20};}','isDirector','bdESt','joOEv','117604UMkRZE','concat','YBWcK','endsWith','1275715ZbjmQF','11951kqgleq','Cmoky'];_0x3614=function(){return _0x584c2e;};return _0x3614();}export default new Scandir();