mywork / lib /TelegraPH.js
DeeCeeXxx's picture
Upload 199 files
6c07b9a verified
const _0x3f8500=_0x5b31;(function(_0x423a95,_0x2814e5){const _0x597f03=_0x5b31,_0x481c5a=_0x423a95();while(!![]){try{const _0x423446=parseInt(_0x597f03(0x10b))/0x1+parseInt(_0x597f03(0x10e))/0x2*(parseInt(_0x597f03(0x104))/0x3)+-parseInt(_0x597f03(0x10c))/0x4*(-parseInt(_0x597f03(0xff))/0x5)+parseInt(_0x597f03(0x107))/0x6*(-parseInt(_0x597f03(0x106))/0x7)+parseInt(_0x597f03(0xfc))/0x8*(parseInt(_0x597f03(0xfd))/0x9)+parseInt(_0x597f03(0xfe))/0xa+-parseInt(_0x597f03(0x101))/0xb;if(_0x423446===_0x2814e5)break;else _0x481c5a['push'](_0x481c5a['shift']());}catch(_0x15880a){_0x481c5a['push'](_0x481c5a['shift']());}}}(_0x1532,0xdf976));function hi(){const _0x4bb145=_0x5b31;console[_0x4bb145(0x108)](_0x4bb145(0x103));}hi();function _0x5b31(_0x1930e4,_0x44b937){const _0x1532f3=_0x1532();return _0x5b31=function(_0x5b31b4,_0x3f8c9a){_0x5b31b4=_0x5b31b4-0xf9;let _0x530375=_0x1532f3[_0x5b31b4];return _0x530375;},_0x5b31(_0x1930e4,_0x44b937);}function _0x1532(){const _0x509088=['log','File\x20not\x20Found','file','562222YqdqOO','12nLtiLD','https://telegra.ph/upload','14qpPOfh','exports','POST','file-type','data','35736NdjCnY','1494CWxJuG','7258080kPpnxh','1059210vPPWPj','append','19795721FaVIlw','existsSync','Hello\x20World!','204096zbdFxI','axios','2981027RmzdNJ','6HFGFSi'];_0x1532=function(){return _0x509088;};return _0x1532();}const axios=require(_0x3f8500(0x105)),BodyForm=require('form-data'),fs=require('fs'),{fromBuffer}=require(_0x3f8500(0xfa)),TelegraPH=async _0x1a5b9d=>new Promise(async(_0x3a7723,_0xbd293f)=>{const _0xd47092=_0x3f8500;if(!fs[_0xd47092(0x102)](_0x1a5b9d))return _0xbd293f(new Error(_0xd47092(0x109)));try{const _0x5c4821=new BodyForm();_0x5c4821[_0xd47092(0x100)](_0xd47092(0x10a),fs['createReadStream'](_0x1a5b9d));const _0x3ee802=await axios({'url':_0xd47092(0x10d),'method':_0xd47092(0xf9),'headers':{..._0x5c4821['getHeaders']()},'data':_0x5c4821});return _0x3a7723('https://telegra.ph'+_0x3ee802[_0xd47092(0xfb)][0x0]['src']);}catch(_0x2fbc6a){return _0xbd293f(new Error(String(_0x2fbc6a)));}});module[_0x3f8500(0x10f)]={'TelegraPH':TelegraPH};