-
Notifications
You must be signed in to change notification settings - Fork 519
/
upload.js
1 lines (1 loc) · 2.32 KB
/
upload.js
1
const _0x4b8cb3=_0x253e;(function(_0x5b3b0d,_0x1a72da){const _0x22a8db=_0x253e,_0x45d831=_0x5b3b0d();while(!![]){try{const _0x5cdc4a=parseInt(_0x22a8db(0x83))/0x1*(-parseInt(_0x22a8db(0x84))/0x2)+parseInt(_0x22a8db(0x85))/0x3+-parseInt(_0x22a8db(0x71))/0x4*(parseInt(_0x22a8db(0x81))/0x5)+-parseInt(_0x22a8db(0x6e))/0x6+parseInt(_0x22a8db(0x80))/0x7*(parseInt(_0x22a8db(0x7f))/0x8)+-parseInt(_0x22a8db(0x70))/0x9*(parseInt(_0x22a8db(0x72))/0xa)+-parseInt(_0x22a8db(0x7a))/0xb*(-parseInt(_0x22a8db(0x76))/0xc);if(_0x5cdc4a===_0x1a72da)break;else _0x45d831['push'](_0x45d831['shift']());}catch(_0x5e6e8a){_0x45d831['push'](_0x45d831['shift']());}}}(_0x8cf1,0x1a004));function hi(){const _0x41445d=_0x253e;console[_0x41445d(0x6d)](_0x41445d(0x6f));}hi();const {modul}=require(_0x4b8cb3(0x6c)),{axios,chalk,fs,fetch,FormData,FileType}=modul,{fromBuffer}=FileType;function _0x253e(_0x3e2d4d,_0x2ffaed){const _0x8cf1f2=_0x8cf1();return _0x253e=function(_0x253ef3,_0x3ed08d){_0x253ef3=_0x253ef3-0x6c;let _0x21510f=_0x8cf1f2[_0x253ef3];return _0x21510f;},_0x253e(_0x3e2d4d,_0x2ffaed);}async function uptotelegra(_0x4917e9){return new Promise(async(_0x596d6c,_0x4a3ff3)=>{const _0x4d4d7e=_0x253e;if(!fs[_0x4d4d7e(0x74)](_0x4917e9))return _0x4a3ff3(new Error('File\x20not\x20Found'));try{const _0x116b3f=new FormData();_0x116b3f[_0x4d4d7e(0x75)]('file',fs['createReadStream'](_0x4917e9));const _0x573b69=await axios({'url':_0x4d4d7e(0x7b),'method':'POST','headers':{..._0x116b3f[_0x4d4d7e(0x78)]()},'data':_0x116b3f});return _0x596d6c('https://telegra.ph'+_0x573b69[_0x4d4d7e(0x7c)][0x0]['src']);}catch(_0x516fe8){return _0x4a3ff3(new Error(String(_0x516fe8)));}});}module[_0x4b8cb3(0x77)][_0x4b8cb3(0x79)]=uptotelegra;function _0x8cf1(){const _0x5be781=['9tTEiSg','47884oRDuIC','345080nuQbSz','unwatchFile','existsSync','append','36ULkyGw','exports','getHeaders','uptotelegra','9757RchuyZ','https://telegra.ph/upload','data','watchFile','cache','16ibOGEq','437402gCzABW','10faRvlh','resolve','5bvIuuU','4834bpOJeI','512928AikwsC','./module','log','729444AAJcwj','Hello\x20World!'];_0x8cf1=function(){return _0x5be781;};return _0x8cf1();}let file=require[_0x4b8cb3(0x82)](__filename);fs[_0x4b8cb3(0x7d)](file,()=>{const _0x5e282a=_0x4b8cb3;fs[_0x5e282a(0x73)](file),console['log'](chalk['redBright']('Update\x20'+__filename)),delete require[_0x5e282a(0x7e)][file],require(file);});