-
Notifications
You must be signed in to change notification settings - Fork 27
/
main.js
2 lines (2 loc) · 6.13 KB
/
main.js
1
2
// kalo mau yang no enc beli kentod
const _0x31767a=_0x449c;(function(_0x44b731,_0x14a5dc){const _0x53530c=_0x449c,_0x361a93=_0x44b731();while(!![]){try{const _0x48a042=-parseInt(_0x53530c(0x19e))/0x1*(parseInt(_0x53530c(0x195))/0x2)+-parseInt(_0x53530c(0x171))/0x3+-parseInt(_0x53530c(0x172))/0x4*(parseInt(_0x53530c(0x176))/0x5)+-parseInt(_0x53530c(0x19d))/0x6*(parseInt(_0x53530c(0x18b))/0x7)+parseInt(_0x53530c(0x16c))/0x8+parseInt(_0x53530c(0x196))/0x9+parseInt(_0x53530c(0x16b))/0xa*(parseInt(_0x53530c(0x170))/0xb);if(_0x48a042===_0x14a5dc)break;else _0x361a93['push'](_0x361a93['shift']());}catch(_0x1dd86c){_0x361a93['push'](_0x361a93['shift']());}}}(_0x1a15,0x5d96e));const fs=require('fs');let {WAConnection:_WAConnection}=require(_0x31767a(0x18a)),{MessageType}=require('@adiwajshing/baileys');const figlet=require(_0x31767a(0x159)),qrcode=require('qrcode-terminal'),setting=JSON[_0x31767a(0x161)](fs[_0x31767a(0x169)](_0x31767a(0x15d))),{color,FazdLog}=require(_0x31767a(0x1aa)),{banner}=require(_0x31767a(0x188));function _0x449c(_0x49d76a,_0x52846d){const _0x1a1546=_0x1a15();return _0x449c=function(_0x449c01,_0x29b33a){_0x449c01=_0x449c01-0x159;let _0x115324=_0x1a1546[_0x449c01];return _0x115324;},_0x449c(_0x49d76a,_0x52846d);}let simpel=require(_0x31767a(0x15a)),{smsg}=require(_0x31767a(0x15a)),WAConnection=simpel[_0x31767a(0x18d)](_WAConnection);blocked=[],global[_0x31767a(0x1a1)]=new WAConnection(),fazd['baterai']={'baterai':0x0,'cas':![]},require(_0x31767a(0x179)),nocache(_0x31767a(0x179),_0x2af5b5=>console[_0x31767a(0x17d)](color('\x27'+_0x2af5b5+_0x31767a(0x18e)))),require(_0x31767a(0x160)),nocache('./connect/help',_0x332dac=>console[_0x31767a(0x17d)](color('\x27'+_0x332dac+_0x31767a(0x18e))));const start=async _0x10dade=>{const _0x23238b=_0x31767a;fazd['version']=[0x2,0x85f,0x3],fazd[_0x23238b(0x15f)][_0x23238b(0x1a8)]=_0x23238b(0x168),fazd['browserDescription']=[_0x23238b(0x16e),_0x23238b(0x17b),'3.0'],console[_0x23238b(0x17d)](color(figlet[_0x23238b(0x199)](_0x23238b(0x1a9),{'font':_0x23238b(0x164),'horizontalLayout':_0x23238b(0x17a),'vertivalLayout':_0x23238b(0x17a),'whitespaceBreak':![]}),_0x23238b(0x190))),fazd['on']('qr',_0x243bb0=>{const _0x52016c=_0x23238b;qrcode[_0x52016c(0x173)](_0x243bb0,{'small':!![]}),console[_0x52016c(0x17d)](FazdLog(_0x52016c(0x15c)));}),fs[_0x23238b(0x167)](_0x10dade)&&fazd[_0x23238b(0x18c)](_0x10dade),fazd['on'](_0x23238b(0x1a3),()=>{const _0x589e50=_0x23238b;console[_0x589e50(0x17d)](FazdLog(_0x589e50(0x19f)));}),fazd['on']('open',_0x3768df=>{const _0x1a6dc3=_0x23238b;console[_0x1a6dc3(0x17d)](FazdLog(_0x1a6dc3(0x19c))),console[_0x1a6dc3(0x17d)](FazdLog(_0x1a6dc3(0x177)+fazd[_0x1a6dc3(0x165)][_0x1a6dc3(0x17e)][_0x1a6dc3(0x163)]('@')[0x0]));}),await fazd[_0x23238b(0x17f)]({'timeoutMs':0x1e*0x3e8}),fs[_0x23238b(0x185)](_0x10dade,JSON[_0x23238b(0x162)](fazd[_0x23238b(0x18f)](),null,'\x09')),fazd['on'](_0x23238b(0x183),()=>{const _0xe347e5=_0x23238b;console[_0xe347e5(0x17d)](FazdLog(_0xe347e5(0x198)));}),fazd['on'](_0x23238b(0x1a4),async({reason:_0x30a9ec,isReconnecting:_0x24a4cd})=>{const _0x4b4c03=_0x23238b;console[_0x4b4c03(0x17d)](FazdLog(_0x4b4c03(0x1a0)+_0x30a9ec+_0x4b4c03(0x181)+_0x24a4cd)),!_0x24a4cd&&console['log'](FazdLog(_0x4b4c03(0x19a)));}),fazd['on'](_0x23238b(0x180),_0x176f02=>{const _0x54c076=_0x23238b,_0x38583e=_0x176f02[0x2][0x0][0x1][_0x54c076(0x197)],_0x429c13=_0x176f02[0x2][0x0][0x1][_0x54c076(0x166)];fazd[_0x54c076(0x1a2)][_0x54c076(0x1a2)]=_0x38583e,fazd[_0x54c076(0x1a2)][_0x54c076(0x175)]=_0x429c13;}),fazd['on'](_0x23238b(0x16d),async _0x168500=>{const _0x47d893=_0x23238b;require(_0x47d893(0x184))(fazd,_0x168500);}),fazd['on'](_0x23238b(0x182),async _0x561af8=>{const _0xf45b74=_0x23238b;require(_0xf45b74(0x1a5))(fazd,_0x561af8);}),fazd['on'](_0x23238b(0x1a7),async _0x172e97=>{require('./connect/welcome')(fazd,_0x172e97);}),fazd['on'](_0x23238b(0x19b),async _0x231a4b=>{const _0x588ad4=_0x23238b;if(!_0x231a4b[_0x588ad4(0x193)])return;_0x231a4b=_0x231a4b[_0x588ad4(0x191)][_0x588ad4(0x189)]()[0x0];if(!_0x231a4b[_0x588ad4(0x187)])return;if(_0x231a4b[_0x588ad4(0x186)]&&_0x231a4b['key'][_0x588ad4(0x174)]==_0x588ad4(0x15b))return;let _0x284227=smsg(fazd,_0x231a4b);require(_0x588ad4(0x179))(fazd,_0x231a4b,blocked);});};function _0x1a15(){const _0x46933e=['loadAuthInfo','WAConnection','\x27\x20Telah\x20berubah!','base64EncodedAuthInfo','cyan','messages','catch','hasNewMessage','resolve','2oJTXNS','818487bEQzWA','value','Koneksi\x20terputus,\x20mencoba\x20menghubungkan\x20kembali..','textSync','Connect\x20To\x20Phone\x20Rejected\x20and\x20Shutting\x20Down.','chat-update','Connected','6glSkcl','52305lmxvyA','Connecting...','Terputus,\x20Alasan\x20:','fazd','baterai','connecting','close','./connect/group','watchFile','group-participants-update','level','Fazd\x20Team','./lib/color','figlet','./lib/simple','status@broadcast','Scan\x20QR~~','./setting.json','cache','logger','./connect/help','parse','stringify','split','Standard','user','live','existsSync','warn','readFileSync','Module\x20\x27','416590rQcKqw','3998720glnaHn','message-delete','MacOs','Dipantau\x20oleh\x20XFazd\x20Team','176WaoKaA','164805EWfGwJ','4mQJWJp','generate','remoteJid','cas','398210ZrXiqV','Tersambung\x20Dengan\x20Nomor\x20:\x20','.json','./connect/fazd','default','Desktop','sesionName','log','jid','connect','CB:action,,battery','\x0aMencoba\x20mengkoneksi\x20ulang\x20:','group-update','ws-close','./connect/antidelete','writeFileSync','key','message','./lib/functions','all','@adiwajshing/baileys','4809721StBfKd'];_0x1a15=function(){return _0x46933e;};return _0x1a15();}function nocache(_0x4d576b,_0x58c6a1=()=>{}){const _0xf84096=_0x31767a;console[_0xf84096(0x17d)](color(_0xf84096(0x16a)+_0x4d576b+'\x27'),color(_0xf84096(0x16f),_0xf84096(0x190))),fs[_0xf84096(0x1a6)](require['resolve'](_0x4d576b),async()=>{const _0x1f3bfb=_0xf84096;await uncache(require[_0x1f3bfb(0x194)](_0x4d576b)),_0x58c6a1(_0x4d576b);});}function uncache(_0x24827f='.'){return new Promise((_0x494fc8,_0x2a1aa7)=>{const _0x26f595=_0x449c;try{delete require[_0x26f595(0x15e)][require[_0x26f595(0x194)](_0x24827f)],_0x494fc8();}catch(_0x2534ef){_0x2a1aa7(_0x2534ef);}});}start(setting[_0x31767a(0x17c)]+_0x31767a(0x178))[_0x31767a(0x192)](_0x50a75a=>console[_0x31767a(0x17d)](_0x50a75a));