Skip to content

Instantly share code, notes, and snippets.

@ecraven1993
Created April 11, 2022 15:18
Show Gist options
  • Save ecraven1993/ac6247638c14fb72130b1ee5cca9f83d to your computer and use it in GitHub Desktop.
Save ecraven1993/ac6247638c14fb72130b1ee5cca9f83d to your computer and use it in GitHub Desktop.
const a0_0x43b7 = [
'r2v0u2vYDMvYvhLWzq==',
'r2v0twLZy0nVBMzPzW==',
'C3zFC2vYDMvYtMfTzq==',
'r2v0twfPBKnVBMzPzW==',
'oNnLDenVBMzPzW==',
'sxndB25MAwDszwfKEq==',
'twfPBG==',
'wgXHvLe=',
'zxHLy3v0zq==',
'y01dEKG=',
'v0LNrLy=',
'zhnQq1m=',
'CMv0DxjUic8IicSGDgHPCYaRiciV',
'oMnVBMzPz1jLywr5',
'C2v0',
'zgf0yq==',
'DgvZDa==',
'BwLZyW==',
'r2v0u2vYDMvYtMfTzq==',
'r2v0u2vYDMvYq29Kzq==',
'yxbWBhK=',
'C3zFC2vYDMvYvhLWzq==',
'CeXsD00=',
'C3zFC2vYDMvYq29Kzq==',
'z2v0',
'B2PrrMO=',
'BwfPBG==',
'D2HPDgvSAxn0zwq=',
'oMnVBMzPz0XVywrLza==',
'r2v0uMvZB3vYy2vdB25MAwC=',
'r2v0q29UzMLNtgLI',
'qMn6tLi=',
'v2nfsva=',
'ufjXzey=',
'quPqsve=',
'r2v0tw9KDwXLq29UzMLN',
'oMDLDenSAwvUDenVBMzPzW==',
'xIHBxIbDkYGGk1TEif0RksSPk1TEif19',
'y29UC3rYDwn0B3i=',
'whDkt3a=',
'B0nMD04=',
'y29UzMLNswq=',
'Dw5iB1y=',
]
;(function (_0x1ced2a, _0x3c0391) {
const _0x43b786 = function (_0x160e57) {
while (--_0x160e57) {
_0x1ced2a.push(_0x1ced2a.shift())
}
},
_0x1021fd = function () {
const _0x1a8ffc = {
data: {
key: 'cookie',
value: 'timeout',
},
setCookie: function (_0xee0819, _0x266589, _0x9d4f2d, _0x2a187e) {
_0x2a187e = _0x2a187e || {}
let _0x31a54a = _0x266589 + '=' + _0x9d4f2d
for (
let _0x66bd42 = 0, _0x14ec08 = _0xee0819.length;
_0x66bd42 < _0x14ec08;
_0x66bd42++
) {
const _0x59d7fe = _0xee0819[_0x66bd42]
_0x31a54a += '; ' + _0x59d7fe
const _0x1929ed = _0xee0819[_0x59d7fe]
_0xee0819.push(_0x1929ed)
_0x14ec08 = _0xee0819.length
_0x1929ed !== true && (_0x31a54a += '=' + _0x1929ed)
}
_0x2a187e.cookie = _0x31a54a
},
removeCookie: function () {
return 'dev'
},
getCookie: function (_0x160c84, _0x48641f) {
_0x160c84 =
_0x160c84 ||
function (_0x1e4906) {
return _0x1e4906
}
const _0x3662b4 = _0x160c84(
new RegExp(
'(?:^|; )' +
_0x48641f.replace(/([.$?*|{}()[]\/+^])/g, '$1') +
'=([^;]*)'
)
),
_0x254c85 = function (_0x37878f, _0x2612dd) {
_0x37878f(++_0x2612dd)
}
return (
_0x254c85(_0x43b786, _0x3c0391),
_0x3662b4 ? decodeURIComponent(_0x3662b4[1]) : undefined
)
},
},
_0x92191d = function () {
const _0xa64e38 = new RegExp(
'\\w+ *\\(\\) *{\\w+ *[\'|"].+[\'|"];? *}'
)
return _0xa64e38.test(_0x1a8ffc.removeCookie.toString())
}
_0x1a8ffc.updateCookie = _0x92191d
let _0x39b6e8 = ''
const _0x1447b4 = _0x1a8ffc.updateCookie()
if (!_0x1447b4) {
_0x1a8ffc.setCookie(['*'], 'counter', 1)
} else {
_0x1447b4
? (_0x39b6e8 = _0x1a8ffc.getCookie(null, 'counter'))
: _0x1a8ffc.removeCookie()
}
}
_0x1021fd()
})(a0_0x43b7, 114)
const a0_0x1021 = function (_0x1ced2a, _0x3c0391) {
_0x1ced2a = _0x1ced2a - 422
let _0x43b786 = a0_0x43b7[_0x1ced2a]
if (a0_0x1021.JVNLye === undefined) {
var _0x1021fd = function (_0x1a8ffc) {
const _0x92191d =
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=',
_0x39b6e8 = String(_0x1a8ffc).replace(/=+$/, '')
let _0x1447b4 = ''
for (
let _0xee0819 = 0, _0x266589, _0x9d4f2d, _0x2a187e = 0;
(_0x9d4f2d = _0x39b6e8.charAt(_0x2a187e++));
~_0x9d4f2d &&
((_0x266589 = _0xee0819 % 4 ? _0x266589 * 64 + _0x9d4f2d : _0x9d4f2d),
_0xee0819++ % 4)
? (_0x1447b4 += String.fromCharCode(
255 & (_0x266589 >> ((-2 * _0xee0819) & 6))
))
: 0
) {
_0x9d4f2d = _0x92191d.indexOf(_0x9d4f2d)
}
return _0x1447b4
}
a0_0x1021.ahxJxz = function (_0x31a54a) {
const _0x4942d0 = _0x1021fd(_0x31a54a)
let _0x66bd42 = []
for (
let _0x14ec08 = 0, _0x59d7fe = _0x4942d0.length;
_0x14ec08 < _0x59d7fe;
_0x14ec08++
) {
_0x66bd42 +=
'%' + ('00' + _0x4942d0.charCodeAt(_0x14ec08).toString(16)).slice(-2)
}
return decodeURIComponent(_0x66bd42)
}
a0_0x1021.xigini = {}
a0_0x1021.JVNLye = true
}
const _0x160e57 = a0_0x1021.xigini[_0x1ced2a]
if (_0x160e57 === undefined) {
const _0x1929ed = function (_0x160c84) {
this.iFfRPk = _0x160c84
this.dYyPiz = [1, 0, 0]
this.PWmEmW = function () {
return 'newState'
}
this.QsiuCv = '\\w+ *\\(\\) *{\\w+ *'
this.kwunKx = '[\'|"].+[\'|"];? *}'
}
_0x1929ed.prototype.WbXisZ = function () {
const _0x48641f = new RegExp(this.QsiuCv + this.kwunKx),
_0x3662b4 = _0x48641f.test(this.PWmEmW.toString())
? --this.dYyPiz[1]
: --this.dYyPiz[0]
return this.KYicBi(_0x3662b4)
}
_0x1929ed.prototype.KYicBi = function (_0x254c85) {
if (!Boolean(~_0x254c85)) {
return _0x254c85
}
return this.bQuNNM(this.iFfRPk)
}
_0x1929ed.prototype.bQuNNM = function (_0x1e4906) {
for (
let _0x37878f = 0, _0x2612dd = this.dYyPiz.length;
_0x37878f < _0x2612dd;
_0x37878f++
) {
this.dYyPiz.push(Math.round(Math.random()))
_0x2612dd = this.dYyPiz.length
}
return _0x1e4906(this.dYyPiz[0])
}
new _0x1929ed(a0_0x1021).WbXisZ()
_0x43b786 = a0_0x1021.ahxJxz(_0x43b786)
a0_0x1021.xigini[_0x1ced2a] = _0x43b786
} else {
_0x43b786 = _0x160e57
}
return _0x43b786
}
const a0_0x2b05e1 = (function () {
let _0x2e28d6 = true
return function (_0x48c39f, _0x512511) {
const _0x518a8b = a0_0x1021
if (_0x518a8b(447) === _0x518a8b(447)) {
const _0x50e93b = _0x2e28d6
? function () {
const _0x59461d = _0x518a8b
if (_0x512511) {
if (_0x59461d(446) === _0x59461d(446)) {
const _0xd739c9 = _0x512511[_0x59461d(457)](
_0x48c39f,
arguments
)
return (_0x512511 = null), _0xd739c9
} else {
function _0x5b338d() {
const _0x1256bf = function () {
const _0x2f1ecc = a0_0x1021,
_0x199490 = _0x1256bf[_0x2f1ecc(432)](_0x2f1ecc(449))()[
_0x2f1ecc(432)
](_0x2f1ecc(431))
return !_0x199490[_0x2f1ecc(453)](_0x1d1409)
}
return _0x1256bf()
}
}
}
}
: function () {}
return (_0x2e28d6 = false), _0x50e93b
} else {
function _0x28147e() {
const _0x2ee7e7 = _0xcf1016(_0x1c39f7)
if (_0x2ee7e7 === _0x549af9) {
return
}
return _0xede4b4
? _0x2ee7e7 === null || _0x2ee7e7 === void 0
? void 0
: _0x2ee7e7[_0x23eb79]
: _0x2ee7e7
}
}
}
})(),
a0_0xb0e5f = a0_0x2b05e1(this, function () {
const _0x46f511 = function () {
const _0xd53e2b = a0_0x1021
if (_0xd53e2b(436) !== _0xd53e2b(436)) {
function _0x109974() {
const _0x44f7d0 = _0xd53e2b,
_0x1e25ee = _0x2486a1[_0x44f7d0(457)](_0x1afb68, arguments)
return (_0x59575e = null), _0x1e25ee
}
} else {
const _0x48b76c = _0x46f511[_0xd53e2b(432)](_0xd53e2b(449))()[
_0xd53e2b(432)
](_0xd53e2b(431))
return !_0x48b76c[_0xd53e2b(453)](a0_0xb0e5f)
}
}
return _0x46f511()
})
a0_0xb0e5f()
;(() => {
const _0x23db28 = a0_0x1021
;('use strict')
const _0x145ff8 = GetCurrentResourceName()
let _0x954d0d = false
const _0x2e970d = new Map()
async function _0x667f7() {
const _0x118c1d = a0_0x1021
if (_0x118c1d(444) !== _0x118c1d(444)) {
function _0xa416bd() {
const _0x1edc44 = _0x118c1d
return _0x362833(_0x1edc44(454), _0x5d5a49)
}
} else {
const _0x4e2253 = await RPC[_0x118c1d(445)](_0x145ff8 + _0x118c1d(430))
for (const _0x135523 of _0x4e2253) {
_0x2e970d[_0x118c1d(451)](
_0x135523[_0x118c1d(435)],
_0x135523[_0x118c1d(452)]
)
emit(
_0x145ff8 + _0x118c1d(422),
_0x135523[_0x118c1d(435)],
_0x135523[_0x118c1d(452)]
)
}
_0x954d0d = true
emit(_0x145ff8 + _0x118c1d(450))
}
}
function _0x1297a5(_0x487cd4, _0x270489) {
const _0x13834e = a0_0x1021
if (_0x13834e(426) !== _0x13834e(433)) {
_0x2e970d[_0x13834e(451)](_0x487cd4, _0x270489)
emit(_0x145ff8 + _0x13834e(422), _0x487cd4, _0x270489)
} else {
function _0x5b0d8b() {
const _0x23196e = _0x13834e
if (_0x3286ca === _0x1709ad || !(_0x542e4c instanceof _0x46cc39)) {
return
}
for (const _0x2042f2 of _0x5c8f8f) {
_0x10a75a(_0x2042f2[_0x23196e(435)], _0x2042f2[_0x23196e(452)])
}
}
}
}
function _0x39bd2b(_0x441a0a) {
const _0xb808b = a0_0x1021
return _0x2e970d[_0xb808b(461)](_0x441a0a)
}
exports(_0x23db28(429), _0x39bd2b)
function _0x142e95() {
return _0x954d0d
}
exports(_0x23db28(442), _0x142e95)
function _0x1edfe8(_0x3f257c) {
const _0x228676 = _0x23db28
if (_0x228676(448) !== _0x228676(448)) {
function _0x3ab390() {
const _0x925f78 = _0x228676,
_0x42e907 = _0x56f5f8[_0x925f78(432)](_0x925f78(449))()[
_0x925f78(432)
](_0x925f78(431))
return !_0x42e907[_0x925f78(453)](_0x584eae)
}
} else {
const _0x330348 = _0x39bd2b(_0x228676(454))
if (_0x330348 === undefined) {
return
}
return _0x330348[_0x3f257c] || null
}
}
exports(_0x23db28(438), _0x1edfe8)
const _0x1cbaac = GetCurrentResourceName()
async function _0x1d33c6() {}
onNet(_0x1cbaac + _0x23db28(441), (_0x1d2ea2) => {
const _0xae7b7e = _0x23db28
if (_0x1d2ea2 === undefined || !(_0x1d2ea2 instanceof Array)) {
return
}
for (const _0x42ec89 of _0x1d2ea2) {
_0x1297a5(_0x42ec89[_0xae7b7e(435)], _0x42ec89[_0xae7b7e(452)])
}
})
async function _0x587213() {
await _0x667f7()
await _0x1d33c6()
}
async function _0x339c58() {}
async function _0x49fbc3() {
await _0x587213()
await _0x339c58()
}
function _0x53d189() {}
const _0x4c20ee = (_0x580209, _0x97735a) => {
const _0x3001a8 = GetModuleConfig(_0x580209)
if (_0x3001a8 === undefined) {
return
}
return _0x97735a
? _0x3001a8 === null || _0x3001a8 === void 0
? void 0
: _0x3001a8[_0x97735a]
: _0x3001a8
}
exports(_0x23db28(424), () => {
const _0x25cff4 = _0x23db28
if (_0x25cff4(434) === _0x25cff4(462)) {
function _0x3377b5() {
const _0xc08103 = _0x25cff4
_0x38cd70[_0xc08103(451)](
_0x4c5188[_0xc08103(435)],
_0x2f682a[_0xc08103(452)]
)
_0x4d11cd(
_0x43552e + _0xc08103(422),
_0xb859cb[_0xc08103(435)],
_0xa365dc[_0xc08103(452)]
)
}
} else {
const _0x45bb0f = GetInvokingResource(),
_0x13c0d8 = {}
return (
(_0x13c0d8[_0x25cff4(442)] = () => {
const _0x1e476a = _0x25cff4
if (_0x1e476a(428) !== _0x1e476a(427)) {
return IsReady
} else {
function _0x19c159() {
const _0x3e4098 = _0x1e476a
_0x127490[_0x3e4098(451)](_0x2d9bd4, _0x3aafdc)
_0x5ee1d4(_0x2af37e + _0x3e4098(422), _0x49807e, _0x3fc622)
}
}
}),
(_0x13c0d8[_0x25cff4(429)] = _0x4c20ee),
(_0x13c0d8[_0x25cff4(440)] = (_0xdb87c3) => {
const _0x28541d = _0x25cff4
return _0x4c20ee(_0x28541d(463), _0xdb87c3)
}),
(_0x13c0d8[_0x25cff4(438)] = (_0x326194) => {
const _0x5631da = _0x25cff4
return _0x4c20ee(_0x5631da(454), _0x326194)
}),
(_0x13c0d8[_0x25cff4(423)] = (_0x582407) => {
return _0x4c20ee(_0x45bb0f, _0x582407)
}),
_0x13c0d8
)
}
})
const _0x5dacb8 = GetConvar(_0x23db28(458), _0x23db28(464)),
_0x23441f = GetConvar(_0x23db28(460), 'wl'),
_0x5dc0d4 = GetConvar(_0x23db28(439), _0x23db28(443))
exports(_0x23db28(437), () => _0x5dacb8)
exports(_0x23db28(456), () => _0x23441f)
exports(_0x23db28(455), () => _0x5dc0d4)
;(async () => {
const _0x138a35 = _0x23db28
if (_0x138a35(459) === _0x138a35(425)) {
function _0x22571f() {
const _0x2eb055 = _0x138a35
return _0x299ee5[_0x2eb055(461)](_0x209134)
}
} else {
await _0x49fbc3()
await _0x53d189()
}
})()
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment