You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
1013 B

namespace UplayNameChecker
{
public static class JSCode
{
public const string CharDecrypter = "function decryptChar(d, e, f) { var g = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+/' ['split'](''); var h = g['slice'](0, e); var i = g['slice'](0, f); var j = d['split']('')['reverse']()['reduce'](function(a, b, c) { if (h['indexOf'](b) !== -1) return a += h['indexOf'](b) * (Math['pow'](e, c)) }, 0); var k = ''; while (j > 0) { k = i[j % f] + k; j = (j - (j % f)) / f } return k || '0' }";
public const string StringDecoder = "function decodeFunction(h, u, n, t, e, r) { r = \"\"; for (var i = 0, len = h.length; i < len; i++) { var s = \"\"; while (h[i] !== n[e]) { s += h[i]; i++ } for (var j = 0; j < n.length; j++) s = s.replace(new RegExp(n[j], \"g\"), j); r += String.fromCharCode(decryptChar(s, e, 10) - t) } return decodeURIComponent(escape(r)) }";
public const string UselessBSCode= "\n};\nwindow.dispatchEvent(new Event('authscript'));\n";
}
}