forked from Johanlieb34/TojiMd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdl-gitclone.js
1 lines (1 loc) · 2.48 KB
/
dl-gitclone.js
1
const _0x27dab2=_0x4169;function _0x4169(_0x29e412,_0x3e9ad8){const _0x4c97e2=_0x4c97();return _0x4169=function(_0x4169bd,_0x36e943){_0x4169bd=_0x4169bd-0xac;let _0xcdb354=_0x4c97e2[_0x4169bd];return _0xcdb354;},_0x4169(_0x29e412,_0x3e9ad8);}(function(_0x28eb36,_0x15cfe1){const _0x42d693=_0x4169,_0x4232dd=_0x28eb36();while(!![]){try{const _0x58b0a4=-parseInt(_0x42d693(0xb1))/0x1+parseInt(_0x42d693(0xb6))/0x2*(parseInt(_0x42d693(0xc1))/0x3)+parseInt(_0x42d693(0xb2))/0x4*(-parseInt(_0x42d693(0xb8))/0x5)+parseInt(_0x42d693(0xbc))/0x6*(-parseInt(_0x42d693(0xbf))/0x7)+parseInt(_0x42d693(0xba))/0x8*(parseInt(_0x42d693(0xc0))/0x9)+parseInt(_0x42d693(0xae))/0xa*(-parseInt(_0x42d693(0xc6))/0xb)+parseInt(_0x42d693(0xb4))/0xc;if(_0x58b0a4===_0x15cfe1)break;else _0x4232dd['push'](_0x4232dd['shift']());}catch(_0x123f72){_0x4232dd['push'](_0x4232dd['shift']());}}}(_0x4c97,0x8396d));function _0x4c97(){const _0x37fa2b=['✳️\x20*Wait,\x20sending\x20repository..*','chat','722819kcylFH','100HFsYmx','sendFile','31307184TLqwCv','downloader','813536ZEKqEa','gitclone','145060PvKLRR','⚠️\x20link\x20incorrect','1142296kcbbxI','/zipball','756096fKgcxV','tags','replace','42zfCZLx','27wItRGJ','3ANOzxJ','match','reply','https://api.github.com/repos/','help','4257zgjLpL','headers','where\x20is\x20the\x20github\x20link?\x0a\x0a📌\x20Example\x20:\x20','content-disposition','command','credit','\x20https://github.com/Johanlieb34/TojiMd','18110oiSJwZ'];_0x4c97=function(){return _0x37fa2b;};return _0x4c97();}import _0x106493 from'node-fetch';const regex=/(?:https|git)(?::\/\/|@)github\.com[\/:]([^\/:]+)\/(.+)/i;let handler=async(_0x15ac0c,{conn:_0x369848,args:_0xa9f08d,usedPrefix:_0x4011c5,command:_0x1b39b6})=>{const _0x2a472b=_0x4169;if(!_0xa9f08d[0x0])throw _0x2a472b(0xc8)+(_0x4011c5+_0x1b39b6)+_0x2a472b(0xad);if(!regex['test'](_0xa9f08d[0x0]))throw _0x2a472b(0xb9);let [_0x41c93a,_0x2cf5b9,_0x543515]=_0xa9f08d[0x0][_0x2a472b(0xc2)](regex)||[];_0x543515=_0x543515[_0x2a472b(0xbe)](/.git$/,'');let _0x594660=_0x2a472b(0xc4)+_0x2cf5b9+'/'+_0x543515+_0x2a472b(0xbb),_0x11b25f=(await _0x106493(_0x594660,{'method':'HEAD'}))[_0x2a472b(0xc7)]['get'](_0x2a472b(0xc9))[_0x2a472b(0xc2)](/attachment; filename=(.*)/)[0x1];_0x15ac0c[_0x2a472b(0xc3)](_0x2a472b(0xaf)),_0x369848[_0x2a472b(0xb3)](_0x15ac0c[_0x2a472b(0xb0)],_0x594660,_0x11b25f,null,_0x15ac0c);};handler[_0x27dab2(0xc5)]=['gitclone\x20<url>'],handler[_0x27dab2(0xbd)]=[_0x27dab2(0xb5)],handler[_0x27dab2(0xca)]=[_0x27dab2(0xb7)],handler[_0x27dab2(0xac)]=![];export default handler;