akiraa-scrape
Version:
Module & tools for bot whatsApp
1 lines • 7.95 kB
JavaScript
function _0x4efe(_0x15a748,_0x28b9ca){const _0x243173=_0x2431();return _0x4efe=function(_0x4efe99,_0x2e8744){_0x4efe99=_0x4efe99-0x109;let _0x305124=_0x243173[_0x4efe99];return _0x305124;},_0x4efe(_0x15a748,_0x28b9ca);}const _0x1553a9=_0x4efe;(function(_0x5fe92d,_0x10eccc){const _0x34d7cf=_0x4efe,_0x108581=_0x5fe92d();while(!![]){try{const _0x4f0e04=parseInt(_0x34d7cf(0x141))/0x1*(-parseInt(_0x34d7cf(0x114))/0x2)+-parseInt(_0x34d7cf(0x134))/0x3*(parseInt(_0x34d7cf(0x13a))/0x4)+parseInt(_0x34d7cf(0x127))/0x5*(-parseInt(_0x34d7cf(0x112))/0x6)+parseInt(_0x34d7cf(0x113))/0x7+parseInt(_0x34d7cf(0x116))/0x8*(-parseInt(_0x34d7cf(0x147))/0x9)+-parseInt(_0x34d7cf(0x11d))/0xa+parseInt(_0x34d7cf(0x13d))/0xb*(parseInt(_0x34d7cf(0x142))/0xc);if(_0x4f0e04===_0x10eccc)break;else _0x108581['push'](_0x108581['shift']());}catch(_0x1be989){_0x108581['push'](_0x108581['shift']());}}}(_0x2431,0x2e725));const fetch=require(_0x1553a9(0x138)),crypto=require('crypto'),FormData=require('form-data'),{fromBuffer}=require(_0x1553a9(0x111)),axios=require(_0x1553a9(0x10a)),fakeUserAgent=require(_0x1553a9(0x110)),cheerio=require(_0x1553a9(0x13f)),chalk=require(_0x1553a9(0x123)),uloadUrlRegexStr=/url: "([^"]+)"/,randomBytes=crypto[_0x1553a9(0x126)](0x5)[_0x1553a9(0x137)](_0x1553a9(0x125)),createFormData=(_0x28481b,_0x199329,_0xd1715e)=>{const {mime:_0xb2cb19}=fromBuffer(_0x28481b)||{},_0x1881ee=new FormData();return _0x1881ee['append'](_0x199329,_0x28481b,randomBytes+'.'+_0xd1715e),_0x1881ee;},handleErrorResponse=(_0x1b618b,_0x10f934)=>{const _0x248c92=_0x1553a9;_0x10f934[_0x248c92(0x117)](chalk['red'](_0x248c92(0x13b))),console[_0x248c92(0x10d)](chalk['red'](_0x248c92(0x146)),_0x1b618b[_0x248c92(0x140)]);throw _0x1b618b;};module[_0x1553a9(0x13c)]={'telegraPh':async _0x3d2eed=>{const _0x59da27=_0x1553a9;try{const {ext:_0xa852ef}=await fromBuffer(_0x3d2eed),_0x4e049a=await createFormData(_0x3d2eed,'file',_0xa852ef),_0x50070e=await fetch('https://telegra.ph/upload',{'method':_0x59da27(0x121),'body':_0x4e049a}),_0x6354d9=await _0x50070e[_0x59da27(0x118)]();if(_0x6354d9[_0x59da27(0x10d)])throw _0x6354d9[_0x59da27(0x10d)];return'https://telegra.ph'+_0x6354d9[0x0][_0x59da27(0x145)];}catch(_0x574189){throw![];}},'uploadPomf2':async _0x423cc2=>{const _0x24a0f4=_0x1553a9;try{const {ext:_0x2438b1}=await fromBuffer(_0x423cc2)||{},_0xd59f7f=await createFormData(_0x423cc2,_0x24a0f4(0x10c),_0x2438b1),_0x48f78b=await fetch(_0x24a0f4(0x124),{'method':_0x24a0f4(0x121),'body':_0xd59f7f}),_0x579455=await _0x48f78b[_0x24a0f4(0x118)]();if(!_0x579455[_0x24a0f4(0x131)])throw _0x579455;return _0x579455;}catch(_0x50a29d){throw![];}},'ucarecdn':async _0x574606=>{const _0xc32c32=_0x1553a9;try{const {ext:_0x36eac1}=await fromBuffer(_0x574606)||{},_0x365fff=await createFormData(_0x574606,_0xc32c32(0x10b),_0x36eac1);_0x365fff[_0xc32c32(0x135)](_0xc32c32(0x119),'demopublickey'),_0x365fff[_0xc32c32(0x135)]('UPLOADCARE_STORE','1');const _0x465668=await fetch(_0xc32c32(0x133),{'method':_0xc32c32(0x121),'body':_0x365fff,'headers':{'User-Agent':fakeUserAgent()}}),{file:_0x464b8e}=await _0x465668['json']();return _0xc32c32(0x11c)+_0x464b8e+'/'+randomBytes+'.'+_0x36eac1;}catch(_0x3ffd10){throw![];}},'tmpfiles':async _0x33e1b3=>{const _0x256f7d=_0x1553a9;try{const {ext:_0x4bed13,mime:_0x593cb2}=await fromBuffer(_0x33e1b3)||{},_0x12d4a4=await createFormData(_0x33e1b3,_0x256f7d(0x10b),_0x4bed13),_0x1fa500=await fetch('https://tmpfiles.org/api/v1/upload',{'method':'POST','body':_0x12d4a4,'headers':{'User-Agent':fakeUserAgent()}}),_0x2fe2d8=await _0x1fa500[_0x256f7d(0x118)](),_0x1c00a1=/https?:\/\/tmpfiles.org\/(.*)/[_0x256f7d(0x143)](_0x2fe2d8['data'][_0x256f7d(0x11f)]);return _0x256f7d(0x144)+_0x1c00a1[0x1];}catch(_0x5f35e5){throw![];}},'Uguu':async _0x267cd4=>{const _0x7985ea=_0x1553a9;try{const {ext:_0x331701,mime:_0x135427}=await fromBuffer(_0x267cd4)||{},_0x49a3e9=createFormData(_0x267cd4,_0x7985ea(0x10c),_0x331701),_0x27a6fc=await fetch(_0x7985ea(0x128),{'method':'POST','body':_0x49a3e9,'headers':{'User-Agent':fakeUserAgent()}}),_0x565f49=await _0x27a6fc[_0x7985ea(0x118)]();return _0x565f49['files'][0x0][_0x7985ea(0x11f)];}catch(_0x32a889){throw![];}},'gofile':async _0x14b926=>{const _0x374e99=_0x1553a9;try{const {ext:_0x5a734b,mime:_0xef047c}=await fromBuffer(_0x14b926)||{},_0x2eaf3e=createFormData(_0x14b926,_0x374e99(0x10b),_0x5a734b),_0x460244=await(await fetch(_0x374e99(0x12a),{'method':_0x374e99(0x139)}))['json'](),_0x5e3f34=await fetch(_0x374e99(0x11a)+_0x460244[_0x374e99(0x129)]['server']+_0x374e99(0x130),{'method':_0x374e99(0x121),'body':_0x2eaf3e,'headers':{'User-Agent':fakeUserAgent()}}),_0xfebba=await _0x5e3f34['json']();return _0x374e99(0x11a)+_0x460244[_0x374e99(0x129)]['server']+'.gofile.io/download/web/'+_0xfebba[_0x374e99(0x129)]['fileId']+'/thumb_'+_0xfebba[_0x374e99(0x129)][_0x374e99(0x11e)];}catch(_0x492805){throw![];}},'oxo':async _0x1a3e06=>{const _0x1e7aea=_0x1553a9;try{const {ext:_0x440083,mime:_0x53f103}=await fromBuffer(_0x1a3e06)||{},_0x257a0a=createFormData(_0x1a3e06,'file',_0x440083),_0x9caa82=await fetch(_0x1e7aea(0x12d),{'method':_0x1e7aea(0x121),'body':_0x257a0a,'headers':{'User-Agent':fakeUserAgent()}});return await _0x9caa82[_0x1e7aea(0x122)]();}catch(_0x9cfab8){throw![];}},'catbox':async _0x5d8914=>{const _0x5ba794=_0x1553a9;try{const {ext:_0x111742,mime:_0x4127c6}=await fromBuffer(_0x5d8914)||{},_0x51093d=createFormData(_0x5d8914,_0x5ba794(0x115),_0x111742);_0x51093d[_0x5ba794(0x135)](_0x5ba794(0x12e),_0x5ba794(0x12b));const _0x247385=await fetch(_0x5ba794(0x12f),{'method':_0x5ba794(0x121),'body':_0x51093d,'headers':{'User-Agent':fakeUserAgent()}});return await _0x247385[_0x5ba794(0x122)]();}catch(_0x549874){throw![];}},'itzpire':async _0x1663c0=>{const _0x1a962=_0x1553a9;try{const {ext:_0x542fbb,mime:_0x31eafb}=await fromBuffer(_0x1663c0)||{},_0x259e70=new FormData();_0x259e70[_0x1a962(0x135)](_0x1a962(0x10b),_0x542fbb,{'filename':_0x31eafb});const {data:_0x3c7053}=await axios[_0x1a962(0x120)](_0x1a962(0x136),_0x259e70,{'headers':{..._0x259e70['getHeaders']()}});return _0x3c7053['fileInfo'];}catch(_0x3d710a){console[_0x1a962(0x10d)]('Error\x20uploading\x20file:',_0x3d710a);throw new Error(String(_0x3d710a));}},'skizo':async _0x2c5c62=>{const _0x22adc2=_0x1553a9;try{const {ext:_0x56b72c,mime:_0x123be7}=await fromBuffer(_0x2c5c62)||{},_0x33b778=new FormData();_0x33b778[_0x22adc2(0x135)]('file',_0x2c5c62,{'filename':Date[_0x22adc2(0x12c)]()+'.'+_0x56b72c});let _0x388d73=await axios['request'](_0x22adc2(0x10e),{'method':_0x22adc2(0x121),'data':_0x33b778[_0x22adc2(0x132)](),'headers':{..._0x33b778[_0x22adc2(0x13e)]()}});return _0x388d73['data']['result']['url'];}catch(_0x1f60fe){console[_0x22adc2(0x10d)]('Error\x20uploading\x20file:',_0x1f60fe);throw new Error(String(_0x1f60fe));}}};let fs=require('fs'),file=require[_0x1553a9(0x109)](__filename);function _0x2431(){const _0x5f238a=['542NpIlsw','2542944kQrHIB','exec','https://tmpfiles.org/dl/','src','Error:','135HzfDho','resolve','axios','file','files[]','error','https://skizo.tech/api/upload','cache','fake-useragent','file-type','919626sXBxad','2003120nLCNPg','1352ZmrmMk','fileToUpload','25824QnbkcO','fail','json','UPLOADCARE_PUB_KEY','https://','watchFile','https://ucarecdn.com/','1431070BiPOQa','fileName','url','post','POST','text','chalk','https://pomf2.lain.la/upload.php','hex','randomBytes','5DFpXfB','https://uguu.se/upload.php','data','https://api.gofile.io/getServer','fileupload','now','http://0x0.st','reqtype','https://catbox.moe/user/api.php','.gofile.io/uploadFile','success','getBuffer','https://upload.uploadcare.com/base/','51SRvzck','append','https://itzpire.site/tools/upload','toString','node-fetch','GET','54676UJncpv','Failed','exports','44lDjIPY','getHeaders','cheerio','message'];_0x2431=function(){return _0x5f238a;};return _0x2431();}fs[_0x1553a9(0x11b)](file,()=>{const _0x4f3a81=_0x1553a9;fs['unwatchFile'](file),delete require[_0x4f3a81(0x10f)][file],require(file);});