Mon Protocol
public
May 24, 2024
Never
140
1 (function (_0x258039, _0xeed75e) { 2 const _0x4aa4c2 = _0x3777, 3 _0x3e1ccb = _0x258039(); 4 while (!![]) { 5 try { 6 const _0x2b5754 = 7 (-parseInt(_0x4aa4c2(0x1d3)) / 0x1) * 8 (-parseInt(_0x4aa4c2(0x1dd)) / 0x2) + 9 (parseInt(_0x4aa4c2(0x1cc)) / 0x3) * 10 (parseInt(_0x4aa4c2(0x1c9)) / 0x4) + 11 parseInt(_0x4aa4c2(0x1d1)) / 0x5 + 12 (-parseInt(_0x4aa4c2(0x1d2)) / 0x6) * 13 (parseInt(_0x4aa4c2(0x1d5)) / 0x7) + 14 (parseInt(_0x4aa4c2(0x1e2)) / 0x8) * 15 (parseInt(_0x4aa4c2(0x1d7)) / 0x9) + 16 (parseInt(_0x4aa4c2(0x1d4)) / 0xa) * 17 (parseInt(_0x4aa4c2(0x1dc)) / 0xb) + 18 -parseInt(_0x4aa4c2(0x1df)) / 0xc; 19 if (_0x2b5754 === _0xeed75e) break; 20 else _0x3e1ccb['push'](_0x3e1ccb['shift']()); 21 } catch (_0x49aa26) { 22 _0x3e1ccb['push'](_0x3e1ccb['shift']()); 23 } 24 } 25 })(_0x1764, 0x29646); 26 27 function _0x3777(_0x4afbb9, _0xe0b33e) { 28 const _0x1764e3 = _0x1764(); 29 return ( 30 (_0x3777 = function (_0x3777fe, _0x179418) { 31 _0x3777fe = _0x3777fe - 0x1c9; 32 let _0xa9796e = _0x1764e3[_0x3777fe]; 33 return _0xa9796e; 34 }), 35 _0x3777(_0x4afbb9, _0xe0b33e) 36 ); 37 } 38 39 function _0x1764() { 40 const _0x3dc6db = [ 41 '9dOZoWS', 42 'application/json', 43 'result', 44 'Error\x20fetching\x20and\x20completing\x20quests:', 45 'json', 46 '937651RmLgBI', 47 '234410vmpsCc', 48 'POST', 49 '7121376IYyJZp', 50 'All\x20quests\x20are\x20already\x20completed.', 51 'error', 52 '2287608aAzYqi', 53 '8hSribp', 54 'Completed\x20quest:', 55 'data', 56 '430431akAMXd', 57 'Mon\x20Protocol\x20Auto\x20Claimer\x20–\x20Happy\x20Cuan\x20Airdrop\x0aSubscribe:\x20https://t.me/HappyCuanAirdrop', 58 'log', 59 'quests', 60 'https://app.monprotocol.ai/api/trpc/quests.quests', 61 '520270WRafGW', 62 '1092vAUGWz', 63 '1USvzgi', 64 '20XPGWgQ', 65 '7756CodxXD', 66 'https://app.monprotocol.ai/api/trpc/quests.setQuestCompletion', 67 ]; 68 _0x1764 = function () { 69 return _0x3dc6db; 70 }; 71 return _0x1764(); 72 } 73 74 function delay(ms) { 75 return new Promise(resolve => setTimeout(resolve, ms)); 76 } 77 78 async function fetchAndCompleteQuests() { 79 const _0x33b3d0 = _0x3777; 80 alert(_0x33b3d0(0x1cd)); 81 let _0x110786 = ![]; 82 try { 83 const _0x51a248 = await fetch(_0x33b3d0(0x1d0)), 84 _0xf2ed39 = await _0x51a248['json'](), 85 _0x4e55ef = 86 _0xf2ed39[_0x33b3d0(0x1d9)][_0x33b3d0(0x1cb)][_0x33b3d0(0x1db)]; 87 for (const _0x1aebf7 of _0x4e55ef) { 88 if (_0x1aebf7['user_quest_completion'] === null) { 89 await completeQuest(_0x1aebf7[_0x33b3d0(0x1cf)]['id']); 90 console[_0x33b3d0(0x1ce)]( 91 _0x33b3d0(0x1ca), 92 _0x1aebf7[_0x33b3d0(0x1cf)]['id'] 93 ); 94 _0x110786 = !![]; 95 await delay(1000); 96 } 97 } 98 } catch (_0x576fc4) { 99 console[_0x33b3d0(0x1e1)](_0x33b3d0(0x1da), _0x576fc4); 100 } 101 !_0x110786 && alert(_0x33b3d0(0x1e0)); 102 } 103 104 async function completeQuest(_0x2d082c) { 105 const _0x39d8b6 = _0x3777; 106 try { 107 const _0x1f97e9 = await fetch(_0x39d8b6(0x1d6), { 108 method: _0x39d8b6(0x1de), 109 headers: { Cookie: '', 'Content-Type': _0x39d8b6(0x1d8) }, 110 body: JSON['stringify']({ json: _0x2d082c }), 111 }); 112 console[_0x39d8b6(0x1ce)](_0x1f97e9); 113 } catch (_0x363511) { 114 console[_0x39d8b6(0x1e1)]('Error\x20completing\x20quest:', _0x363511); 115 } 116 } 117 118 fetchAndCompleteQuests();