D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
proc
/
self
/
root
/
home
/
etb1lp46s9ed
/
wacloud.digitalizer.in
/
server
/
service
/
Filename :
webhook.js
back
Copy
function _0x41b3() { const _0x101f41 = [ "688690eMIuaL", "3JwsqbG", "35qfzCKz", "forward\x20to", "log", "508808jRypQg", "2271380raAorj", "1203352BEhZHJ", "14334cElRgI", "5TXcgUh", "post", "143636ZQczbh", "1852290vDYcfr", ]; _0x41b3 = function () { return _0x101f41; }; return _0x41b3(); } (function (_0x120680, _0xa7425) { const _0x313176 = _0x5a0f, _0x3dfa90 = _0x120680(); while (!![]) { try { const _0x486e2d = -parseInt(_0x313176(0xf3)) / 0x1 + parseInt(_0x313176(0xf5)) / 0x2 + (-parseInt(_0x313176(0xf6)) / 0x3) * (parseInt(_0x313176(0xef)) / 0x4) + (parseInt(_0x313176(0xf1)) / 0x5) * (-parseInt(_0x313176(0xf0)) / 0x6) + (-parseInt(_0x313176(0xea)) / 0x7) * (-parseInt(_0x313176(0xed)) / 0x8) + parseInt(_0x313176(0xf4)) / 0x9 + -parseInt(_0x313176(0xee)) / 0xa; if (_0x486e2d === _0xa7425) break; else _0x3dfa90["push"](_0x3dfa90["shift"]()); } catch (_0x34fe9d) { _0x3dfa90["push"](_0x3dfa90["shift"]()); } } })(_0x41b3, 0x2f66f); function _0x5a0f(_0x1fb2ca, _0xf3dbd1) { _0x1fb2ca = _0x1fb2ca - 0xea; const _0x41b306 = _0x41b3(); let _0x5a0f24 = _0x41b306[_0x1fb2ca]; return _0x5a0f24; } import _0x582f16 from "axios"; export const sendWebhook = async ({ device: _0x4c0d8b, command: _0x1748a6, media: _0x4434fa, from: _0x1fd01e, name: _0x19041f, url: _0x2b1869, participant: _0x491e75, ppUrl: _0x546526, }) => { const _0x32afa9 = _0x5a0f; try { const _0x50c76f = { device: _0x4c0d8b, message: _0x1748a6, media: _0x4434fa, from: _0x1fd01e, name: _0x19041f, participant: _0x491e75, ppUrl: _0x546526, }; console["log"](_0x32afa9(0xeb), _0x2b1869); const _0x1bbeba = await _0x582f16[_0x32afa9(0xf2)](_0x2b1869, _0x50c76f, { headers: { "Content-Type": "application/json" }, maxContentLength: 0x64 * 0x13a0 * 0x400, maxBodyLength: 0x64 * 0x400 * 0x400, }); return _0x1bbeba["data"]; } catch (_0x3a9884) { return console[_0x32afa9(0xec)]("Webhook\x20error:", _0x3a9884), ![]; } };