forked from Samue-l1/Spider-V6
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
1 lines (1 loc) · 6.77 KB
/
index.js
File metadata and controls
1 lines (1 loc) · 6.77 KB
1
function _0x17dc(_0x27b241,_0x9eda47){const _0x5b1ebf=_0x5b1e();return _0x17dc=function(_0x17dc62,_0x14539a){_0x17dc62=_0x17dc62-0x19b;let _0x293e28=_0x5b1ebf[_0x17dc62];return _0x293e28;},_0x17dc(_0x27b241,_0x9eda47);}function _0x5b1e(){const _0x3d17ba=['notify','key','Chrome','•»»————>\x20𝐷𝐸𝐿𝑇𝐴\x20𝐶𝑅𝐴𝑆𝐻\x20<————««•','2331235VCtRqj','makeWASocket','494235ZEVdhj','remoteJid','connection.update','deeppink','5508FQrkRn','decodeJid','connectionReplaced','startsWith','white','./all/place','length','requestPairingCode','message','child','Connection\x20closed,\x20reconnecting...','INI\x20PAIRING\x20CODENYA\x20BRO:\x20','public','close','red','2608476cXdIml','Restart\x20Required,\x20Restarting...','Connection\x20TimedOut,\x20Reconnecting...','./session','question','timedOut','type','Connection\x20lost,\x20trying\x20to\x20reconnect','log','Ubuntu','contacts.update','exit','12028iEdfdh','output','badSession','silent','ephemeralMessage','./all/global','readMessages','</>\x20Spider\x20v6\x20is\x20Connected...','Hello','[•]\x20Owner\x20:\x20:\x20ˢᵃᵐˢ\x20Tech\x0a[!]\x20PUT\x20YOUR\x20WHATSAPP\x20NUMBER\x20TO\x20GET\x20CODE\x20START\x20254\x2008\x0a','store','status@broadcast','stdout','Bad\x20Session\x20File,\x20Please\x20Delete\x20Session\x20and\x20Scan\x20Again','restartRequired','smsg','[SYSTEM]','connecting','registered','Device\x20Logged\x20Out,\x20Please\x20Scan\x20Again\x20And\x20Run.','contacts','creds','keys','uncaughtException','14248rmYqeh','stdin','logout','Connection\x20Replaced,\x20Another\x20New\x20Session\x20Opened,\x20Please\x20Close\x20Current\x20Session\x20First','385217iKiKig','error','Caught\x20exception:\x20','authState','1573372TAvXXd','240iIowpG','loggedOut','statusCode','sendMessage','Error:\x20Stream\x20Errored\x20(unknown)','readline','bold','connectionLost','fromMe','open'];_0x5b1e=function(){return _0x3d17ba;};return _0x5b1e();}const _0x1fbe1d=_0x17dc;(function(_0xff1a1f,_0x5a99a8){const _0x3eae48=_0x17dc,_0x8c46a5=_0xff1a1f();while(!![]){try{const _0x4ecc6a=-parseInt(_0x3eae48(0x1ea))/0x1+parseInt(_0x3eae48(0x19e))/0x2+-parseInt(_0x3eae48(0x19f))/0x3*(parseInt(_0x3eae48(0x1ce))/0x4)+-parseInt(_0x3eae48(0x1ad))/0x5+-parseInt(_0x3eae48(0x1c2))/0x6+parseInt(_0x3eae48(0x1af))/0x7+-parseInt(_0x3eae48(0x1e6))/0x8*(-parseInt(_0x3eae48(0x1b3))/0x9);if(_0x4ecc6a===_0x5a99a8)break;else _0x8c46a5['push'](_0x8c46a5['shift']());}catch(_0x42b7bf){_0x8c46a5['push'](_0x8c46a5['shift']());}}}(_0x5b1e,0x66a8d),require(_0x1fbe1d(0x1d3)));const func=require(_0x1fbe1d(0x1b8)),readline=require(_0x1fbe1d(0x1a4)),usePairingCode=!![],question=_0xa102ae=>{const _0x4bf41d=_0x1fbe1d,_0x3a0f4c=readline['createInterface']({'input':process[_0x4bf41d(0x1e7)],'output':process[_0x4bf41d(0x1da)]});return new Promise(_0x2ee72a=>{const _0x118dd3=_0x4bf41d;_0x3a0f4c[_0x118dd3(0x1c6)](_0xa102ae,_0x2ee72a);});};async function startSesi(){const _0x58098a=_0x1fbe1d,_0xd1f9af=makeInMemoryStore({'logger':pino()[_0x58098a(0x1bc)]({'level':_0x58098a(0x1d1),'stream':_0x58098a(0x1d8)})}),{state:_0x4b0cd1,saveCreds:_0x54ae6e}=await useMultiFileAuthState(_0x58098a(0x1c5)),{version:_0x1f1305,isLatest:_0x36fc7b}=await fetchLatestBaileysVersion();console[_0x58098a(0x1ca)](chalk[_0x58098a(0x1c1)]['bold'](_0x58098a(0x1ac)));const _0x19d48d={'version':_0x1f1305,'keepAliveIntervalMs':0x7530,'printQRInTerminal':!usePairingCode,'logger':pino({'level':'fatal'}),'auth':_0x4b0cd1,'browser':[_0x58098a(0x1cb),_0x58098a(0x1ab),'20.0.04']},_0x133f3b=func[_0x58098a(0x1ae)](_0x19d48d);if(usePairingCode&&!_0x133f3b[_0x58098a(0x19d)][_0x58098a(0x1e3)][_0x58098a(0x1e0)]){const _0x78f5ec=await question(_0x58098a(0x1d7)),_0x26dbfd=await _0x133f3b[_0x58098a(0x1ba)](_0x78f5ec['trim']());console[_0x58098a(0x1ca)](chalk['red'][_0x58098a(0x1a5)](_0x58098a(0x1be)+_0x26dbfd+'\x20'));}return _0xd1f9af['bind'](_0x133f3b['ev']),_0x133f3b['ev']['on'](_0x58098a(0x1b1),async _0x325014=>{const _0x3fc690=_0x58098a,{connection:_0x116a2a,lastDisconnect:_0x159d13}=_0x325014;if(_0x116a2a===_0x3fc690(0x1c0)){const _0x3b270e=new Boom(_0x159d13?.[_0x3fc690(0x19b)])?.[_0x3fc690(0x1cf)][_0x3fc690(0x1a1)];console[_0x3fc690(0x1ca)](color(_0x159d13[_0x3fc690(0x19b)],_0x3fc690(0x1b2)));if(_0x159d13[_0x3fc690(0x19b)]==_0x3fc690(0x1a3))process['exit']();else{if(_0x3b270e===DisconnectReason[_0x3fc690(0x1d0)])console[_0x3fc690(0x1ca)](color(_0x3fc690(0x1db))),process['exit']();else{if(_0x3b270e===DisconnectReason['connectionClosed'])console[_0x3fc690(0x1ca)](color(_0x3fc690(0x1de),_0x3fc690(0x1b7)),color(_0x3fc690(0x1bd),'deeppink')),process[_0x3fc690(0x1cd)]();else{if(_0x3b270e===DisconnectReason[_0x3fc690(0x1a6)])console[_0x3fc690(0x1ca)](color(_0x3fc690(0x1de),_0x3fc690(0x1b7)),color(_0x3fc690(0x1c9),_0x3fc690(0x1b2))),process[_0x3fc690(0x1cd)]();else{if(_0x3b270e===DisconnectReason[_0x3fc690(0x1b5)])console[_0x3fc690(0x1ca)](color(_0x3fc690(0x1e9))),_0x133f3b[_0x3fc690(0x1e8)]();else{if(_0x3b270e===DisconnectReason[_0x3fc690(0x1a0)])console['log'](color(_0x3fc690(0x1e1))),_0x133f3b[_0x3fc690(0x1e8)]();else{if(_0x3b270e===DisconnectReason[_0x3fc690(0x1dc)])console[_0x3fc690(0x1ca)](color(_0x3fc690(0x1c3))),await startSesi();else _0x3b270e===DisconnectReason[_0x3fc690(0x1c7)]&&(console['log'](color(_0x3fc690(0x1c4))),startSesi());}}}}}}}else{if(_0x116a2a===_0x3fc690(0x1df))start('1','Connecting...');else _0x116a2a===_0x3fc690(0x1a8)&&(success('1',_0x3fc690(0x1d6)),_0x133f3b[_0x3fc690(0x1a2)]('deltaxcrash.user.id',{'text':_0x3fc690(0x1d5)}),autoJoin&&_0x133f3b['groupAcceptInvite'](codeInvite));}}),_0x133f3b['ev']['on']('messages.upsert',async _0x58b7e1=>{const _0x382f8f=_0x58098a;try{m=_0x58b7e1['messages'][0x0];if(!m[_0x382f8f(0x1bb)])return;m[_0x382f8f(0x1bb)]=Object[_0x382f8f(0x1e4)](m[_0x382f8f(0x1bb)])[0x0]===_0x382f8f(0x1d2)?m[_0x382f8f(0x1bb)]['ephemeralMessage'][_0x382f8f(0x1bb)]:m[_0x382f8f(0x1bb)];if(m[_0x382f8f(0x1aa)]&&m[_0x382f8f(0x1aa)][_0x382f8f(0x1b0)]===_0x382f8f(0x1d9))return _0x133f3b[_0x382f8f(0x1d4)]([m[_0x382f8f(0x1aa)]]);if(!_0x133f3b[_0x382f8f(0x1bf)]&&!m[_0x382f8f(0x1aa)][_0x382f8f(0x1a7)]&&_0x58b7e1[_0x382f8f(0x1c8)]===_0x382f8f(0x1a9))return;if(m['key']['id'][_0x382f8f(0x1b6)]('BAE5')&&m['key']['id'][_0x382f8f(0x1b9)]===0x10)return;m=func[_0x382f8f(0x1dd)](_0x133f3b,m,_0xd1f9af),require('./Spiderv6')(_0x133f3b,m,_0xd1f9af);}catch(_0x587231){console['log'](_0x587231);}}),_0x133f3b['ev']['on'](_0x58098a(0x1cc),_0x4170e4=>{const _0x5e2623=_0x58098a;for(let _0x1fec75 of _0x4170e4){let _0x5caa70=_0x133f3b[_0x5e2623(0x1b4)](_0x1fec75['id']);if(_0xd1f9af&&_0xd1f9af[_0x5e2623(0x1e2)])_0xd1f9af[_0x5e2623(0x1e2)][_0x5caa70]={'id':_0x5caa70,'name':_0x1fec75[_0x5e2623(0x1a9)]};}}),_0x133f3b[_0x58098a(0x1bf)]=!![],_0x133f3b['ev']['on']('creds.update',_0x54ae6e),_0x133f3b;}startSesi(),process['on'](_0x1fbe1d(0x1e5),function(_0x52cf23){const _0x25ffd9=_0x1fbe1d;console[_0x25ffd9(0x1ca)](_0x25ffd9(0x19c),_0x52cf23);});