mrnima-temporary-uploader
Version:
Temporary file hosting and temporaray direct link generator unofficial package, by mrnima.
234 lines • 10.9 kB
JavaScript
function _0xeda0() {
const _0x2865ba = [
'471162EcYPpy',
'28058CWQZLi',
'fromBuffer',
'iVQsl',
'901055upxzGq',
'https://tm',
'file-type',
'form-data',
'3750362HMTMNV',
'ZqBty',
'append',
'message',
'44270yBtkPI',
'nfYCK',
'1643912djyBrA',
'qxxaq',
'/api/v1/up',
'result',
'mrnima-tem',
'pfiles.org',
'3rddNjF',
'url',
'MR\x20NIMA',
'fQmcY',
'IXJwx',
'file',
'640164JgvWZn',
'24WyPsGh',
'status',
'porary-upl',
'data',
'oader.',
'json',
'node-fetch',
'moRHj',
'load',
'sQjZq',
'738jyISud',
'creator',
'/dl'
];
_0xeda0 = function () {
return _0x2865ba;
};
return _0xeda0();
}
function _0x4cda(_0x36470a, _0x531014) {
const _0x2b3eed = _0xeda0();
return _0x4cda = function (_0xf56bf8, _0x23a6e1) {
_0xf56bf8 = _0xf56bf8 - (-0x1abf + -0xa9 * 0x3 + 0x1d81);
let _0x1430ce = _0x2b3eed[_0xf56bf8];
return _0x1430ce;
}, _0x4cda(_0x36470a, _0x531014);
}
(function (_0x950ebe, _0x39a958) {
function _0x3d6334(_0x36d2a1, _0x353c30, _0x2a10ec, _0x3f9dbc) {
return _0x4cda(_0x2a10ec - -0x255, _0x3f9dbc);
}
function _0x454937(_0x50af10, _0x5287e7, _0x21660b, _0x526932) {
return _0x4cda(_0x526932 - 0xec, _0x21660b);
}
function _0x421879(_0x585293, _0x2ce7a5, _0x4c4e33, _0x532912) {
return _0x4cda(_0x4c4e33 - -0x211, _0x585293);
}
function _0x15b5f5(_0x50908c, _0x78e8f2, _0x157dc0, _0x275072) {
return _0x4cda(_0x50908c - -0x45, _0x157dc0);
}
const _0x446a91 = _0x950ebe();
function _0x560544(_0x418155, _0x1a6b5a, _0x3858e1, _0x259ae7) {
return _0x4cda(_0x418155 - -0x39f, _0x3858e1);
}
function _0x36a047(_0x1b42a6, _0x33f934, _0x2d5e2b, _0x72d659) {
return _0x4cda(_0x33f934 - 0x10c, _0x1b42a6);
}
function _0x4bebf1(_0x5a29e7, _0x132aa7, _0x10f424, _0x757fd2) {
return _0x4cda(_0x10f424 - -0xb0, _0x5a29e7);
}
function _0x32efef(_0x2a0903, _0x3df3f2, _0x1776ab, _0x4ea278) {
return _0x4cda(_0x2a0903 - -0x2d3, _0x1776ab);
}
function _0x18c9bc(_0x5706ec, _0x43103c, _0x21bfe2, _0x6d5a0a) {
return _0x4cda(_0x43103c - -0x3a5, _0x6d5a0a);
}
function _0x2591e5(_0x3097c1, _0x4360ed, _0x125ccf, _0xd9ca8b) {
return _0x4cda(_0x125ccf - 0x29b, _0xd9ca8b);
}
while (!![]) {
try {
const _0x43345c = parseInt(_0x454937(0x1e5, 0x1c2, 0x1e0, 0x1d2)) / (0x1c0e + -0xf0a + -0xd03) * (parseInt(_0x18c9bc(-0x2c3, -0x2cd, -0x2d9, -0x2da)) / (-0x218e + 0x33a * -0x5 + 0x31b2)) + parseInt(_0x32efef(-0x202, -0x20f, -0x206, -0x20e)) / (0x9d * -0x1a + 0x6d3 + 0x491 * 0x2) * (parseInt(_0x560544(-0x2c8, -0x2ba, -0x2dc, -0x2d3)) / (0x1a6e + 0x13da + -0xfc * 0x2f)) + -parseInt(_0x18c9bc(-0x2bd, -0x2bc, -0x2bd, -0x2c5)) / (0x13c3 * 0x1 + -0x2538 + -0x1 * -0x117a) + -parseInt(_0x454937(0x1df, 0x1c5, 0x1c3, 0x1d1)) / (-0x49b + 0x3 * 0x4b3 + -0x4bc * 0x2) + -parseInt(_0x32efef(-0x1e6, -0x1ef, -0x1e3, -0x1f4)) / (-0xcff + -0xaf1 * 0x3 + 0x2dd9) + parseInt(_0x15b5f5(0x86, 0x7b, 0x7c, 0x85)) / (-0x1 * -0x7cd + -0xddc + -0x617 * -0x1) + -parseInt(_0x15b5f5(0x9d, 0xa5, 0xa8, 0xa6)) / (0x24 * 0x3d + -0x4 * 0x68a + -0xa7 * -0x1b) * (-parseInt(_0x15b5f5(0x84, 0x78, 0x8d, 0x98)) / (0x12ea + 0x18aa + -0x2b8a));
if (_0x43345c === _0x39a958)
break;
else
_0x446a91['push'](_0x446a91['shift']());
} catch (_0x244552) {
_0x446a91['push'](_0x446a91['shift']());
}
}
}(_0xeda0, 0x96 * -0x43f + 0x169 * -0x36f + 0x1 * 0xb7601), module['exports']['tempUpload' + 'er'] = async _0x2ddac3 => {
function _0x215257(_0xe6108b, _0x40bfaf, _0x577c84, _0x282bba) {
return _0x4cda(_0x577c84 - 0xe6, _0xe6108b);
}
function _0x1c6ba0(_0x51a4ac, _0x55ccd0, _0x28d059, _0x1efa1d) {
return _0x4cda(_0x55ccd0 - 0x2aa, _0x1efa1d);
}
const _0x4e73e6 = {
'qxxaq': function (_0x58fb69, _0x2b506e) {
return _0x58fb69(_0x2b506e);
},
'IXJwx': _0x47f47c(0x329, 0x31a, 0x325, 0x30e),
'ZqBty': _0x210a63(-0x2e7, -0x2d3, -0x2db, -0x2d3),
'moRHj': _0x210a63(-0x2dc, -0x2fb, -0x2f0, -0x2fa),
'iVQsl': _0x47f47c(0x2ee, 0x2fd, 0x2eb, 0x2f8) + _0x281c1a(0x467, 0x467, 0x46f, 0x46b) + _0x210a63(-0x2ea, -0x2f8, -0x2ea, -0x2e1),
'AOMjz': function (_0x235660, _0x29d7a3, _0x2983fa) {
return _0x235660(_0x29d7a3, _0x2983fa);
},
'sQjZq': 'https://tm' + _0x2523ac(-0x6c, -0x5a, -0x6f, -0x6e) + _0x1a93e8(-0x2e, -0x1c, -0x1e, -0x2b) + _0x281c1a(0x463, 0x46d, 0x47f, 0x45a),
'nfYCK': 'POST',
'utBDe': _0x23ed6d(0x322, 0x31c, 0x328, 0x325) + 'pfiles.org',
'PqLDr': 'https://tm' + _0x1a93e8(-0x19, -0x24, -0x2b, -0x28) + _0x23ed6d(0x31c, 0x32b, 0x32e, 0x329),
'fQmcY': _0x1c6ba0(0x385, 0x37d, 0x36a, 0x391)
};
function _0x3ee47e(_0xd7932c, _0xdab290, _0x4dea15, _0x39c0dd) {
return _0x4cda(_0xdab290 - -0x87, _0x39c0dd);
}
const _0x2eda52 = _0x4e73e6['qxxaq'](require, _0x4e73e6[_0x287758(-0x2a3, -0x2b1, -0x2ae, -0x299)]);
function _0x116e9e(_0x57a7b1, _0x562023, _0x3faaf9, _0x45e827) {
return _0x4cda(_0x57a7b1 - 0x29e, _0x562023);
}
function _0x4f1f9f(_0xe2dc26, _0x5c5af8, _0x1aa2ff, _0x2288bf) {
return _0x4cda(_0xe2dc26 - 0x165, _0x1aa2ff);
}
function _0x5f3d08(_0x485224, _0x1343e8, _0x3a73ba, _0x4184e9) {
return _0x4cda(_0x3a73ba - 0x112, _0x1343e8);
}
function _0x210a63(_0x3979ff, _0x9de6e8, _0x894cf2, _0x4b66f8) {
return _0x4cda(_0x894cf2 - -0x3c6, _0x9de6e8);
}
function _0x47f47c(_0x167b00, _0x11906d, _0x3bb89f, _0x347636) {
return _0x4cda(_0x11906d - 0x22e, _0x347636);
}
function _0x516326(_0x383f41, _0x3a2998, _0x385a34, _0x3a04d1) {
return _0x4cda(_0x3a04d1 - -0x3c5, _0x3a2998);
}
function _0x424398(_0x1abec5, _0x34ba47, _0x4f18a3, _0x9bbf4b) {
return _0x4cda(_0x4f18a3 - -0x7a, _0x9bbf4b);
}
function _0x1a93e8(_0x323ec6, _0x5c31b3, _0x115825, _0x4a0e8e) {
return _0x4cda(_0x4a0e8e - -0xf8, _0x5c31b3);
}
function _0x1dfd79(_0x59090d, _0x5680d5, _0x1678ac, _0x6987ac) {
return _0x4cda(_0x59090d - -0x388, _0x6987ac);
}
const _0x3ba15a = require(_0x4e73e6[_0x17a20f(0x148, 0x163, 0x15a, 0x16e)]);
function _0x335d10(_0x30efcd, _0x564d70, _0x1ab21c, _0x83cd5c) {
return _0x4cda(_0x564d70 - 0x1d9, _0x83cd5c);
}
function _0x50beac(_0x564f9a, _0x515754, _0x49ca69, _0x4ff927) {
return _0x4cda(_0x515754 - 0x169, _0x49ca69);
}
function _0x57656f(_0x3c9bf8, _0xe33a3e, _0x47161d, _0x246a74) {
return _0x4cda(_0x246a74 - -0x340, _0x47161d);
}
function _0x281c1a(_0x292a6e, _0x3e8ba6, _0xd9bcb7, _0x30a380) {
return _0x4cda(_0x3e8ba6 - 0x38d, _0x292a6e);
}
function _0x44891f(_0x13a517, _0x75e00a, _0x536989, _0x3a6048) {
return _0x4cda(_0x3a6048 - 0x1a0, _0x536989);
}
function _0x287758(_0x4ebe21, _0x5483f7, _0x30e01f, _0x4eb5f) {
return _0x4cda(_0x4ebe21 - -0x378, _0x4eb5f);
}
function _0x17a20f(_0x3e1190, _0x568a02, _0x410c5e, _0xff1dab) {
return _0x4cda(_0x410c5e - 0x6c, _0xff1dab);
}
function _0x428f50(_0x52921c, _0x49d31d, _0x18d0e1, _0x3931b6) {
return _0x4cda(_0x52921c - 0x3e4, _0x3931b6);
}
function _0x589267(_0x5cec36, _0x2283dd, _0xf3c4e0, _0x47cb63) {
return _0x4cda(_0x2283dd - -0x2a0, _0x5cec36);
}
function _0x5049c8(_0x16330d, _0x2b550f, _0x483ad1, _0x711f2f) {
return _0x4cda(_0x2b550f - -0x2f1, _0x483ad1);
}
function _0x2523ac(_0x109143, _0x4a1a42, _0x40b42f, _0x388d38) {
return _0x4cda(_0x388d38 - -0x13e, _0x4a1a42);
}
const _0x2eb266 = _0x4e73e6[_0x2523ac(-0x79, -0x60, -0x83, -0x72)](require, _0x17a20f(0x14a, 0x14a, 0x14a, 0x14d)), {ext: _0x5c61d3} = await _0x3ba15a[_0x615fcd(0x266, 0x25f, 0x25c, 0x25a)](_0x2ddac3);
function _0x42f7ba(_0x18a73f, _0x5bea60, _0x573920, _0x24030d) {
return _0x4cda(_0x18a73f - 0x30b, _0x24030d);
}
function _0x719d80(_0x7e88ce, _0x3d43d9, _0x42acff, _0x4e3762) {
return _0x4cda(_0x7e88ce - 0x332, _0x42acff);
}
function _0x615fcd(_0x5a2c9a, _0x33d26e, _0x3da4df, _0x56b441) {
return _0x4cda(_0x3da4df - 0x175, _0x5a2c9a);
}
function _0x5e3238(_0x3adc6e, _0x2f35be, _0x6e037b, _0x4eeaca) {
return _0x4cda(_0x2f35be - 0x3dc, _0x3adc6e);
}
function _0x49ee6a(_0x24599f, _0x54c9f3, _0x2dd07e, _0x217e47) {
return _0x4cda(_0x54c9f3 - -0x2ba, _0x2dd07e);
}
function _0x182a78(_0x3e6f9f, _0x1ca53f, _0x5c07d2, _0x1c4a78) {
return _0x4cda(_0x5c07d2 - -0x347, _0x1ca53f);
}
function _0x23ed6d(_0x262061, _0x484e40, _0x15278f, _0x32de7a) {
return _0x4cda(_0x262061 - 0x238, _0x32de7a);
}
function _0x46b090(_0x39782e, _0x14bdba, _0x35d670, _0x1cb87f) {
return _0x4cda(_0x1cb87f - -0x24b, _0x39782e);
}
function _0xc1d9b8(_0x2fb714, _0x360dcd, _0x3e4086, _0xb0f1dd) {
return _0x4cda(_0x3e4086 - -0x18c, _0x2fb714);
}
function _0x5f2104(_0x321fd5, _0x1a92f7, _0x1a0329, _0x28c9ea) {
return _0x4cda(_0x1a92f7 - -0xec, _0x321fd5);
}
try {
let _0x1b7c9f = new _0x2eda52();
_0x1b7c9f[_0x50beac(0x21f, 0x230, 0x227, 0x23c)](_0x4e73e6[_0x116e9e(0x37d, 0x36f, 0x37c, 0x372)], _0x2ddac3, { 'filename': _0x4e73e6[_0x47f47c(0x320, 0x316, 0x31f, 0x303)] + _0x5c61d3 });
let _0x2cb948 = await _0x4e73e6['AOMjz'](_0x2eb266, _0x4e73e6[_0x50beac(0x258, 0x24a, 0x24d, 0x258)], {
'method': _0x4e73e6[_0x116e9e(0x368, 0x369, 0x371, 0x359)],
'body': _0x1b7c9f
}), _0x26afd7 = await _0x2cb948[_0x516326(-0x2e5, -0x2e3, -0x2e4, -0x2e8)](), _0x133e59 = _0x26afd7[_0x615fcd(0x250, 0x25e, 0x250, 0x262)][_0x1a93e8(-0x37, -0x14, -0x39, -0x26)] ? _0x26afd7['data']['url']['replace'](_0x4e73e6['utBDe'], _0x4e73e6['PqLDr']) : '';
const _0xf14b46 = {};
return _0xf14b46[_0x57656f(-0x269, -0x25c, -0x256, -0x25d)] = _0x4e73e6['fQmcY'], _0xf14b46[_0x2523ac(-0x6a, -0x56, -0x6f, -0x65)] = !![], _0xf14b46[_0x5f3d08(0x1ef, 0x1d2, 0x1e0, 0x1dc)] = _0x133e59, _0xf14b46;
} catch (_0x1b35a1) {
console['error']('Error:', _0x1b35a1[_0x50beac(0x22c, 0x231, 0x239, 0x23b)]);
const _0x249105 = {};
return _0x249105[_0x3ee47e(0x5d, 0x5c, 0x54, 0x61)] = _0x4e73e6[_0x215257(0x1a7, 0x1b7, 0x1ba, 0x1c9)], _0x249105[_0x5f3d08(0x1fe, 0x1d7, 0x1eb, 0x1e9)] = ![], _0x249105;
}
});