Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


// SC BY © VYNAA CHAN
// RECODE WAJIB KASI CREDITS 
// WA: https://s.id/Vynaa
// TOKO KEBUTUHAN BOT TERPERCAYA
// HANYA DI SINI
// https://linkbio.co/VLShop
// https://t.me/VynaaMD
const _0x58a62f=_0x2a9c;(function(_0x29874d,_0x256827){const _0x188bd4=_0x2a9c,_0x5cdd5b=_0x29874d();while(!![]){try{const _0x178f83=-parseInt(_0x188bd4(0x1a5))/0x1*(parseInt(_0x188bd4(0x1c3))/0x2)+-parseInt(_0x188bd4(0x189))/0x3+parseInt(_0x188bd4(0x1cc))/0x4+parseInt(_0x188bd4(0x197))/0x5+-parseInt(_0x188bd4(0x17f))/0x6+-parseInt(_0x188bd4(0x190))/0x7+parseInt(_0x188bd4(0x1e3))/0x8;if(_0x178f83===_0x256827)break;else _0x5cdd5b['push'](_0x5cdd5b['shift']());}catch(_0x2322fd){_0x5cdd5b['push'](_0x5cdd5b['shift']());}}}(_0x4249,0xc4281));import'./config.js';import _0x21ae6c,{join}from'path';import{platform}from'process';import _0x21b1ea from'chalk';import{fileURLToPath,pathToFileURL}from'url';import{createRequire}from'module';global[_0x58a62f(0x1cf)]=function filename(_0x513482=import.meta['url'],_0x5872a4=platform!==_0x58a62f(0x15e)){const _0x43b2f7=_0x58a62f;return _0x5872a4?/file:\/\/\//[_0x43b2f7(0x1db)](_0x513482)?fileURLToPath(_0x513482):_0x513482:pathToFileURL(_0x513482)[_0x43b2f7(0x162)]();},global['__dirname']=function dirname(_0x107bb5){const _0x5242f6=_0x58a62f;return _0x21ae6c[_0x5242f6(0x16f)](global[_0x5242f6(0x1cf)](_0x107bb5,!![]));},global['__require']=function require(_0x579202=import.meta['url']){return createRequire(_0x579202);};function _0x4249(){const _0x4fd511=['fixFileName','
   ✓ Day: ','welcome','then','loadDatabase','8565624ELtOLx','reloadHandler','messages.upsert','APIs','module','length','message.delete','message','resolve','user','3037284OkPpsR','SERVER_PORT','--version','
   ✓ Speed ping: ','info','sessions','creds.update','2760989ZiSLur','./handler.js?update=','open','yellow','read','Clara-MD','output','6593035sadIZM','join','mtimeMs','CONNECTING','ms
   ✓ Date: ','group-participants.update','statusCode','filter','authFolder','plugins','error require plugin '','isChats','error','│  Storage Setting Successful ✓
│
','4RCcImX','reload','
   ✓ Hours: ','race','parse','off','\$&','all','participantsUpdate','catch','APIKeys','isFile','bind',' Updated Plugin - '','DATABASE',' Minutes ','endsWith','connect','./sessions','timestamp','support',' by Zeltoria*.
        ','isInit','Hai, @user!
Selamat Datang

@desc','toLocaleDateString','ffprobe','sort','en-US','keys','@s.whatsapp.net','291794fBfanS','__dirname','connectionUpdate','exitProcess','READ','floor','log','write','forEach','5632268QRNeLx','R E A D Y','url','__filename','argv','makeInMemoryStore',' hours ','webp','conn','uncaughtException','@user Menjadi Admin!','find','close','default','New Plugin - '','test','toLocaleTimeString','spromote','env','freeze','long','templateMessage','listMessage','11958640xKqiLk','API','logger','push','buttonsMessage','deleteUpdate','bye','-frames:v','loggedOut','ffmpeg','win32','entries','connection.update','./handler.js','toString','now','-hide_banner','loadMessage','onDelete','‎xzXZ/i!#$%+£¢€¥^°=¶∆×÷π√✓©®:;?&.\-','?update=',' Second ','
   *Bot Info:*
   
   ✓ Name: ','color','convert','handler','fromEntries','dirname','credsUpdate','
   ✓ Description: *Bot ','chats','data','-loglevel','./tmp','prefix','map','./plugins/index','split'];_0x4249=function(){return _0x4fd511;};return _0x4249();}import*as _0x5e3abb from'ws';import{readdirSync,statSync,unlinkSync,existsSync,readFileSync,watch}from'fs';import _0x34f6da from'yargs';import{spawn}from'child_process';import _0x25dc2b from'lodash';import _0x5de7ac from'syntax-error';import{tmpdir}from'os';import{format}from'util';import{makeWASocket,protoType,serialize}from'./lib/simple.js';import{Low}from'lowdb';import{JSONFile}from'lowdb/node';import _0x3674bf from'./lib/store2.js';const store=_0x3674bf[_0x58a62f(0x1d1)](),{useMultiFileAuthState,DisconnectReason}=await import('@adiwajshing/baileys'),{CONNECTING}=_0x5e3abb,{chain}=_0x25dc2b,PORT=process[_0x58a62f(0x1de)]['PORT']||process[_0x58a62f(0x1de)][_0x58a62f(0x18a)]||0xbb8;protoType(),serialize(),global[_0x58a62f(0x1e4)]=(_0x458a9d,_0x12a8d4='/',_0x55c800={},_0x1e2243)=>(_0x458a9d in global[_0x58a62f(0x182)]?global['APIs'][_0x458a9d]:_0x458a9d)+_0x12a8d4+(_0x55c800||_0x1e2243?'?'+new URLSearchParams(Object[_0x58a62f(0x15f)]({..._0x55c800,..._0x1e2243?{[_0x1e2243]:global[_0x58a62f(0x1af)][_0x458a9d in global[_0x58a62f(0x182)]?global['APIs'][_0x458a9d]:_0x458a9d]}:{}})):''),global['timestamp']={'start':new Date()};const __dirname=global[_0x58a62f(0x1c4)](import.meta[_0x58a62f(0x1ce)]);global['opts']=new Object(_0x34f6da(process[_0x58a62f(0x1d0)]['slice'](0x2))[_0x58a62f(0x1c6)](![])[_0x58a62f(0x1a9)]()),global['prefix']=new RegExp('^['+(opts[_0x58a62f(0x176)]||_0x58a62f(0x167))['replace'](/[|\\{}()[\]^$+*?.\-\^]/g,_0x58a62f(0x1ab))+']'),global['db']=new Low(/https?:\/\//[_0x58a62f(0x1db)](opts['db']||'')?new cloudDBAdapter(opts['db']):new JSONFile((opts['_'][0x0]?opts['_'][0x0]+'_':'')+'database.json')),global[_0x58a62f(0x1b3)]=global['db'],global['loadDatabase']=async function loadDatabase(){const _0x593376=_0x58a62f;if(global['db'][_0x593376(0x1c7)])return new Promise(_0x2802fa=>setInterval(async function(){const _0x1549df=_0x593376;!global['db'][_0x1549df(0x1c7)]&&(clearInterval(this),_0x2802fa(global['db'][_0x1549df(0x173)]==null?await global[_0x1549df(0x17e)]():global['db']['data']));},0x1*0x3e8));if(global['db'][_0x593376(0x173)]!==null)return;global['db'][_0x593376(0x1c7)]=!![],await global['db'][_0x593376(0x194)]()[_0x593376(0x1ae)](console['error']),global['db'][_0x593376(0x1c7)]=null,global['db'][_0x593376(0x173)]={'users':{},'chats':{},'stats':{},'msgs':{},'sticker':{},'settings':{},...global['db'][_0x593376(0x173)]||{}},global['db']['chain']=chain(global['db'][_0x593376(0x173)]);},loadDatabase(),global[_0x58a62f(0x19f)]=_0x3674bf[_0x58a62f(0x17a)]((opts['_'][0x0]||'')+_0x58a62f(0x18e));function _0x2a9c(_0x5af810,_0x4bac83){const _0x42496=_0x4249();return _0x2a9c=function(_0x2a9c45,_0x5ed7b9){_0x2a9c45=_0x2a9c45-0x159;let _0x48cd72=_0x42496[_0x2a9c45];return _0x48cd72;},_0x2a9c(_0x5af810,_0x4bac83);}let {state,saveCreds}=await useMultiFileAuthState(_0x21ae6c[_0x58a62f(0x187)](_0x58a62f(0x1b7)));const connectionOptions={'printQRInTerminal':!![],'auth':state,'defaultQueryTimeoutMs':undefined,'downloadHistory':![],'version':[0x2,0x90e,0xb],'getMessage':async _0x1891b3=>(store[_0x58a62f(0x165)](_0x1891b3['remoteJid'],_0x1891b3['id'])||store['loadMessage'](_0x1891b3['id'])||{})[_0x58a62f(0x186)],'patchMessageBeforeSending':_0x5e5f31=>{const _0x464151=_0x58a62f,_0x3b61a=!!(_0x5e5f31[_0x464151(0x1e7)]||_0x5e5f31[_0x464151(0x1e1)]||_0x5e5f31[_0x464151(0x1e2)]);return _0x3b61a&&(_0x5e5f31={'viewOnceMessage':{'message':{'messageContextInfo':{'deviceListMetadataVersion':0x2,'deviceListMetadata':{}},..._0x5e5f31}}}),_0x5e5f31;},'defaultQueryTimeoutMs':undefined};global[_0x58a62f(0x1d4)]=makeWASocket(connectionOptions),conn[_0x58a62f(0x1bb)]=![];!opts[_0x58a62f(0x1db)]&&(global['db']&&setInterval(async()=>{const _0x37416e=_0x58a62f;if(global['db'][_0x37416e(0x173)])await global['db'][_0x37416e(0x1ca)]()[_0x37416e(0x1ae)](console[_0x37416e(0x1a3)]);clearTmp();},0x1e*0x3e8));if(opts['server'])(await import('./server.js'))[_0x58a62f(0x1d9)](global[_0x58a62f(0x1d4)],PORT);function clearTmp(){const _0x43a7c6=_0x58a62f,_0x3f5997=[tmpdir(),join(__dirname,_0x43a7c6(0x175))],_0x190eec=[];return _0x3f5997[_0x43a7c6(0x1cb)](_0x33b5a3=>readdirSync(_0x33b5a3)[_0x43a7c6(0x1cb)](_0x45994=>_0x190eec[_0x43a7c6(0x1e6)](join(_0x33b5a3,_0x45994)))),_0x190eec[_0x43a7c6(0x177)](_0x56f12b=>{const _0x1faf3e=_0x43a7c6,_0x1930e3=statSync(_0x56f12b);if(_0x1930e3[_0x1faf3e(0x1b0)]()&&Date[_0x1faf3e(0x163)]()-_0x1930e3[_0x1faf3e(0x199)]>=0x5*0x3c*0x3e8)return unlinkSync(_0x56f12b);return![];});}async function connectionUpdate(_0x47f376){const _0x321ec8=_0x58a62f,{connection:_0x14a24b,lastDisconnect:_0x21da87,isNewLogin:_0x178fed}=_0x47f376;if(_0x178fed)conn[_0x321ec8(0x1bb)]=!![];const _0x42f2b2=_0x21da87?.[_0x321ec8(0x1a3)]?.[_0x321ec8(0x196)]?.[_0x321ec8(0x19d)]||_0x21da87?.[_0x321ec8(0x1a3)]?.['output']?.['payload']?.[_0x321ec8(0x19d)];_0x42f2b2&&_0x42f2b2!==DisconnectReason[_0x321ec8(0x15c)]&&conn?.['ws']['readyState']!==_0x5e3abb[_0x321ec8(0x1d9)][_0x321ec8(0x19a)]&&(console[_0x321ec8(0x1c9)](await global[_0x321ec8(0x180)](!![])[_0x321ec8(0x1ae)](console[_0x321ec8(0x1a3)])),global[_0x321ec8(0x1b8)][_0x321ec8(0x1b6)]=new Date());if(global['db'][_0x321ec8(0x173)]==null)loadDatabase();if(_0x14a24b===_0x321ec8(0x192)){const {jid:_0xfaefb6,name:_0x3aad96}=conn[_0x321ec8(0x188)],_0x55d9ac=new Date(),_0x313ffc=new Date(),_0x2ad652=_0x321ec8(0x16a)+(_0x3aad96||_0x321ec8(0x195))+'
   ✓ Tag: @'+_0xfaefb6[_0x321ec8(0x179)]('@')[0x0]+_0x321ec8(0x18c)+(_0x313ffc-new Date())+_0x321ec8(0x19b)+_0x55d9ac['toDateString']()+_0x321ec8(0x1a7)+_0x55d9ac[_0x321ec8(0x1dc)]()+_0x321ec8(0x17b)+_0x55d9ac[_0x321ec8(0x1bd)](_0x321ec8(0x1c0),{'weekday':_0x321ec8(0x1e0)})+_0x321ec8(0x171)+(_0x3aad96||_0x321ec8(0x195))+_0x321ec8(0x1ba);conn['sendMessage'](nomorwa+_0x321ec8(0x1c2),{'text':_0x2ad652,'mentions':[nomorwa+_0x321ec8(0x1c2),_0xfaefb6]},{'quoted':null}),_0x21b1ea[_0x321ec8(0x193)](_0x321ec8(0x1cd));}_0x14a24b==_0x321ec8(0x1d8)&&console[_0x321ec8(0x1c9)](_0x21b1ea[_0x321ec8(0x193)]('🚩ㅤConnection closed, please delete the folder sessions and rescan the QR code'));}process['on'](_0x58a62f(0x1d5),console['error']);let isInit=!![],handler=await import(_0x58a62f(0x161));global['reloadHandler']=async function(_0x364a5b){const _0x5eaa21=_0x58a62f;try{const _0x266e8d=await import(_0x5eaa21(0x191)+Date[_0x5eaa21(0x163)]())['catch'](console['error']);if(Object[_0x5eaa21(0x1c1)](_0x266e8d||{})[_0x5eaa21(0x184)])handler=_0x266e8d;}catch(_0x184cc3){console[_0x5eaa21(0x1a3)];}if(_0x364a5b){const _0x59f365=global[_0x5eaa21(0x1d4)]['chats'];try{global['conn']['ws']['close']();}catch{}conn['ev']['removeAllListeners'](),global[_0x5eaa21(0x1d4)]=makeWASocket(connectionOptions,{'chats':_0x59f365}),isInit=!![];}!isInit&&(conn['ev'][_0x5eaa21(0x1aa)](_0x5eaa21(0x181),conn[_0x5eaa21(0x16d)]),conn['ev'][_0x5eaa21(0x1aa)](_0x5eaa21(0x19c),conn[_0x5eaa21(0x1ad)]),conn['ev'][_0x5eaa21(0x1aa)](_0x5eaa21(0x185),conn[_0x5eaa21(0x166)]),conn['ev'][_0x5eaa21(0x1aa)](_0x5eaa21(0x160),conn[_0x5eaa21(0x1c5)]),conn['ev'][_0x5eaa21(0x1aa)](_0x5eaa21(0x18f),conn[_0x5eaa21(0x170)]));conn[_0x5eaa21(0x17c)]=_0x5eaa21(0x1bc),conn[_0x5eaa21(0x15a)]='Selamat Tinggal, @user!',conn[_0x5eaa21(0x1dd)]=_0x5eaa21(0x1d6),conn['sdemote']='@user Bukan Admin Lagi',conn['handler']=handler['handler'][_0x5eaa21(0x1b1)](global[_0x5eaa21(0x1d4)]),conn['participantsUpdate']=handler['participantsUpdate'][_0x5eaa21(0x1b1)](global[_0x5eaa21(0x1d4)]),conn[_0x5eaa21(0x166)]=handler[_0x5eaa21(0x159)][_0x5eaa21(0x1b1)](global['conn']),conn[_0x5eaa21(0x1c5)]=connectionUpdate[_0x5eaa21(0x1b1)](global[_0x5eaa21(0x1d4)]),conn[_0x5eaa21(0x170)]=saveCreds[_0x5eaa21(0x1b1)](global[_0x5eaa21(0x1d4)]);const _0x26bc8a=new Date(),_0x2857d7=new Date(conn['ev']);if(_0x26bc8a>=_0x2857d7){const _0x36072a=Object[_0x5eaa21(0x15f)](conn[_0x5eaa21(0x172)])[_0x5eaa21(0x19e)](([_0x4e0a9a,_0x31a3c8])=>!_0x4e0a9a[_0x5eaa21(0x1b5)]('@g.us')&&_0x31a3c8[_0x5eaa21(0x1a2)])[_0x5eaa21(0x177)](_0x2332cc=>_0x2332cc[0x0]);}else{const _0x3699bc=Object['entries'](conn[_0x5eaa21(0x172)])[_0x5eaa21(0x19e)](([_0x53e829,_0xb86948])=>!_0x53e829[_0x5eaa21(0x1b5)]('@g.us')&&_0xb86948[_0x5eaa21(0x1a2)])[_0x5eaa21(0x177)](_0x4dd251=>_0x4dd251[0x0]);}return conn['ev']['on'](_0x5eaa21(0x181),conn[_0x5eaa21(0x16d)]),conn['ev']['on'](_0x5eaa21(0x19c),conn[_0x5eaa21(0x1ad)]),conn['ev']['on']('message.delete',conn[_0x5eaa21(0x166)]),conn['ev']['on'](_0x5eaa21(0x160),conn[_0x5eaa21(0x1c5)]),conn['ev']['on']('creds.update',conn[_0x5eaa21(0x170)]),isInit=![],!![];};const pluginFolder=global[_0x58a62f(0x1c4)](join(__dirname,_0x58a62f(0x178))),pluginFilter=_0x51de24=>/\.js$/[_0x58a62f(0x1db)](_0x51de24);global[_0x58a62f(0x1a0)]={};async function filesInit(){const _0x4014e8=_0x58a62f;for(const _0x26869b of readdirSync(pluginFolder)[_0x4014e8(0x19e)](pluginFilter)){try{const _0x515b97=global['__filename'](join(pluginFolder,_0x26869b)),_0x57a9a8=await import(_0x515b97);global[_0x4014e8(0x1a0)][_0x26869b]=_0x57a9a8[_0x4014e8(0x1d9)]||_0x57a9a8;}catch(_0x4f9a50){conn[_0x4014e8(0x1e5)]['error'](_0x4f9a50),delete global[_0x4014e8(0x1a0)][_0x26869b];}}}filesInit()[_0x58a62f(0x17d)](_0x452f11=>Object[_0x58a62f(0x1c1)](global[_0x58a62f(0x1a0)]))[_0x58a62f(0x1ae)](console[_0x58a62f(0x1a3)]),global[_0x58a62f(0x1a6)]=async(_0x306512,_0xbbe9b6)=>{const _0x4f4446=_0x58a62f;if(pluginFilter(_0xbbe9b6)){const _0x5774da=global[_0x4f4446(0x1cf)](join(pluginFolder,_0xbbe9b6),!![]);if(_0xbbe9b6 in global['plugins']){if(existsSync(_0x5774da))conn['logger']['info'](_0x4f4446(0x1b2)+_0xbbe9b6+''');else return conn[_0x4f4446(0x1e5)]['warn']('Deleted Plugin - ''+_0xbbe9b6+'''),delete global[_0x4f4446(0x1a0)][_0xbbe9b6];}else conn['logger'][_0x4f4446(0x18d)](_0x4f4446(0x1da)+_0xbbe9b6+''');const _0x2e9e3f=_0x5de7ac(readFileSync(_0x5774da),_0xbbe9b6,{'sourceType':_0x4f4446(0x183),'allowAwaitOutsideFunction':!![]});if(_0x2e9e3f)conn[_0x4f4446(0x1e5)][_0x4f4446(0x1a3)]('syntax error while loading ''+_0xbbe9b6+''
'+format(_0x2e9e3f));else try{const _0x46ff92=await import(global[_0x4f4446(0x1cf)](_0x5774da)+_0x4f4446(0x168)+Date[_0x4f4446(0x163)]());global[_0x4f4446(0x1a0)][_0xbbe9b6]=_0x46ff92[_0x4f4446(0x1d9)]||_0x46ff92;}catch(_0x33d4e5){conn[_0x4f4446(0x1e5)]['error'](_0x4f4446(0x1a1)+_0xbbe9b6+'
'+format(_0x33d4e5)+''');}finally{global[_0x4f4446(0x1a0)]=Object[_0x4f4446(0x16e)](Object[_0x4f4446(0x15f)](global[_0x4f4446(0x1a0)])[_0x4f4446(0x1bf)](([_0x429fef],[_0xd567d7])=>_0x429fef['localeCompare'](_0xd567d7)));}}},Object[_0x58a62f(0x1df)](global[_0x58a62f(0x1a6)]),watch(pluginFolder,global[_0x58a62f(0x1a6)]),await global[_0x58a62f(0x180)]();async function _quickTest(){const _0x5987f9=_0x58a62f,_0x5da045=await Promise[_0x5987f9(0x1ac)]([spawn('ffmpeg'),spawn(_0x5987f9(0x1be)),spawn(_0x5987f9(0x15d),[_0x5987f9(0x164),_0x5987f9(0x174),'error','-filter_complex',_0x5987f9(0x16b),_0x5987f9(0x15b),'1','-f',_0x5987f9(0x1d3),'-']),spawn(_0x5987f9(0x16c)),spawn('magick'),spawn('gm'),spawn(_0x5987f9(0x1d7),[_0x5987f9(0x18b)])][_0x5987f9(0x177)](_0x1b7eb1=>{const _0x16a8bd=_0x5987f9;return Promise[_0x16a8bd(0x1a8)]([new Promise(_0x6ac88d=>{const _0xf1d6e9=_0x16a8bd;_0x1b7eb1['on'](_0xf1d6e9(0x1d8),_0x9fea2d=>{_0x6ac88d(_0x9fea2d!==0x7f);});}),new Promise(_0x2cede1=>{const _0x510319=_0x16a8bd;_0x1b7eb1['on'](_0x510319(0x1a3),_0x21dc98=>_0x2cede1(![]));})]);})),[_0x4d8cae,_0x1593aa,_0x343d09,_0x141fa0,_0x4f0973,_0x3d0e22,_0x50c8aa]=_0x5da045,_0xf3b680=global[_0x5987f9(0x1b9)]={'ffmpeg':_0x4d8cae,'ffprobe':_0x1593aa,'ffmpegWebp':_0x343d09,'convert':_0x141fa0,'magick':_0x4f0973,'gm':_0x3d0e22,'find':_0x50c8aa};Object[_0x5987f9(0x1df)](global['support']);}setInterval(async()=>{const _0x4367d1=_0x58a62f;if(stopped===_0x4367d1(0x1d8)||!conn||!conn[_0x4367d1(0x188)])return;await clearTmp(),console[_0x4367d1(0x1c9)](_0x21b1ea['cyanBright']('
╭───────────────────────────────────···
│
'+_0x4367d1(0x1a4)+'╰──────────────────────────────────────···
'));},0x3c*0x3c*0x3e8);function clockString(_0x1a3147){const _0x2b9c64=_0x58a62f,_0xa2a0a1=isNaN(_0x1a3147)?'--':Math[_0x2b9c64(0x1c8)](_0x1a3147/0x5265c00),_0x1dba96=isNaN(_0x1a3147)?'--':Math[_0x2b9c64(0x1c8)](_0x1a3147/0x36ee80)%0x18,_0xaf32af=isNaN(_0x1a3147)?'--':Math[_0x2b9c64(0x1c8)](_0x1a3147/0xea60)%0x3c,_0x4b5126=isNaN(_0x1a3147)?'--':Math[_0x2b9c64(0x1c8)](_0x1a3147/0x3e8)%0x3c;return[_0xa2a0a1,' Day ',_0x1dba96,_0x2b9c64(0x1d2),_0xaf32af,_0x2b9c64(0x1b4),_0x4b5126,_0x2b9c64(0x169)]['map'](_0xf6057a=>_0xf6057a[_0x2b9c64(0x162)]()['padStart'](0x2,'0'))[_0x2b9c64(0x198)]('');}_quickTest()[_0x58a62f(0x1ae)](console[_0x58a62f(0x1a3)]);



© 2023 Quttera Ltd. All rights reserved.