Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
8.5 kB
2
Indexable
Never
var form = document[_0x3eff6c(0x131)](_0x3eff6c(0x116)),
        submitButton = document[_0x3eff6c(0x131)](_0x3eff6c(0xf5));

    function formatAndCapitalize(_0xe00884) {
        var _0x1744b4 = _0x3eff6c;
        const _0x2dca7a = _0xe00884['slice'](0x0, 0x14),
            _0x16b9a1 = _0x2dca7a[_0x1744b4(0x10a)](),
            _0x4dcf12 = _0x16b9a1[_0x1744b4(0x107)](/.{1,5}/g)[_0x1744b4(0x110)]('-');
        return _0x4dcf12;
    }

    function closePopup() {
        var _0x51ac34 = _0x3eff6c,
            _0x441f5d = document['getElementById']('popup');
        _0x441f5d[_0x51ac34(0x111)]['display'] = _0x51ac34(0x118);
    }

    function showPopup() {
        var _0x4ff75e = _0x3eff6c;
        setTimeout(() => {
            var _0x460e64 = _0x4e02,
                _0x237952 = document[_0x460e64(0x131)](_0x460e64(0x10d));
            _0x237952[_0x460e64(0x111)]['display'] = _0x460e64(0x124), setTimeout(() => {
                zera();
            }, 0x3e8), form['style'][_0x460e64(0x123)] = 'block';
        }, 0x3e8), form['style']['display'] = _0x4ff75e(0x124);
    }

    function _0x4e02(_0x1d55b3, _0x398b91) {
        var _0x634b3a = _0x634b();
        return _0x4e02 = function(_0x4e02af, _0x520ab0) {
            _0x4e02af = _0x4e02af - 0xf3;
            var _0x2e7a68 = _0x634b3a[_0x4e02af];
            return _0x2e7a68;
        }, _0x4e02(_0x1d55b3, _0x398b91);
    }

    function showPopupadmin() {
        var _0x198c15 = _0x3eff6c;
        setTimeout(() => {
            var _0x265679 = _0x4e02,
                _0x1b1555 = document['getElementById']('popup');
            _0x1b1555[_0x265679(0x111)]['display'] = _0x265679(0x124), setTimeout(() => {
                admin();
            }, 0x3e8), form[_0x265679(0x111)][_0x265679(0x123)] = _0x265679(0x124);
        }, 0x3e8), form[_0x198c15(0x111)]['display'] = _0x198c15(0x124);
    }

    function preventDefault() {}

    function openNewPage() {
        var _0x66dba7 = _0x3eff6c;
        window[_0x66dba7(0x12f)](_0x66dba7(0x12d), _0x66dba7(0x128));
    }
    submitButton['onclick'] = function(_0x2b00d7) {
        var _0x1a113a = _0x3eff6c;
        _0x2b00d7[_0x1a113a(0x126)]();
        var _0x11ea45 = new Date(),
            _0x3e82bc = _0x11ea45[_0x1a113a(0xf6)](),
            _0x43b3e3 = _0x11ea45[_0x1a113a(0x11b)](),
            _0x5a5670 = _0x11ea45[_0x1a113a(0x11e)]()[_0x1a113a(0x121)]()[_0x1a113a(0x106)](0x0, 0x1),
            _0xe1c27e = _0x3e82bc,
            _0xd61142 = new TextEncoder()[_0x1a113a(0x108)](_0xe1c27e);
        crypto[_0x1a113a(0xf8)]['digest'](_0x1a113a(0x134), _0xd61142)['then'](function(_0x669b02) {
            var _0x1e8bb6 = _0x1a113a,
                _0xd67b86 = Array[_0x1e8bb6(0xf3)](new Uint8Array(_0x669b02)),
                _0x41f735 = _0xd67b86[_0x1e8bb6(0x113)](_0x10d079 => _0x10d079['toString'](0x10)[_0x1e8bb6(0x102)](0x2, '0'))[_0x1e8bb6(0x110)]('');
            console['log'](_0x41f735);
            var _0x16c4f6 = document['getElementById'](_0x1e8bb6(0x132));
            _0x16c4f6[_0x1e8bb6(0x12e)] == formatAndCapitalize(_0x41f735) && showPopupadmin();
        })[_0x1a113a(0x104)](function(_0x5b235c) {
            var _0x2dd659 = _0x1a113a;
            console[_0x2dd659(0x137)](_0x2dd659(0xfa), _0x5b235c);
        });
        for (let _0x1eba96 of [0x1, 0x2, 0x3, 0x4, 0x5]) {
            var _0xe1c27e = _0x3e82bc + '' + _0x43b3e3 + '' + _0x5a5670 + '' + _0x1eba96,
                _0xd61142 = new TextEncoder()[_0x1a113a(0x108)](_0xe1c27e);
            crypto[_0x1a113a(0xf8)][_0x1a113a(0xfc)]('SHA-256', _0xd61142)[_0x1a113a(0x11c)](function(_0x351628) {
                var _0x4968e0 = _0x1a113a,
                    _0x1db526 = Array['from'](new Uint8Array(_0x351628)),
                    _0x583c11 = _0x1db526[_0x4968e0(0x113)](_0x3ee0ca => _0x3ee0ca[_0x4968e0(0x121)](0x10)['padStart'](0x2, '0'))[_0x4968e0(0x110)]('');
                console[_0x4968e0(0xf4)](_0x583c11);
                var _0x519704 = document[_0x4968e0(0x131)]('activationCode');
                _0x519704[_0x4968e0(0x12e)] == formatAndCapitalize(_0x583c11) && showPopup();
            })['catch'](function(_0x1470ce) {
                var _0x49a347 = _0x1a113a;
                console[_0x49a347(0x137)](_0x49a347(0xfa), _0x1470ce);
            });
        }
        var _0xe1c27e = 'eg',
            _0xd61142 = new TextEncoder()[_0x1a113a(0x108)](_0xe1c27e);
        crypto[_0x1a113a(0xf8)][_0x1a113a(0xfc)](_0x1a113a(0x134), _0xd61142)[_0x1a113a(0x11c)](function(_0x26407d) {
            var _0x2c7d3b = _0x1a113a,
                _0x30cf64 = Array[_0x2c7d3b(0xf3)](new Uint8Array(_0x26407d)),
                _0x21d37a = _0x30cf64[_0x2c7d3b(0x113)](_0x3e8c4f => _0x3e8c4f[_0x2c7d3b(0x121)](0x10)[_0x2c7d3b(0x102)](0x2, '0'))[_0x2c7d3b(0x110)]('');
            console[_0x2c7d3b(0xf4)](_0x21d37a);
            var _0x2d5e1e = document[_0x2c7d3b(0x131)](_0x2c7d3b(0x132));
            _0x2d5e1e[_0x2c7d3b(0x12e)] == formatAndCapitalize(_0x21d37a) && showPopup();
        })[_0x1a113a(0x104)](function(_0x32c217) {
            var _0x396c32 = _0x1a113a;
            console[_0x396c32(0x137)](_0x396c32(0xfa), _0x32c217);
        }), setTimeout(() => {
            checkCode();
        }, 0x3e8), form[_0x1a113a(0x111)][_0x1a113a(0x123)] = _0x1a113a(0x124);
    };

    function zera() {
        var _0x2c4d51 = _0x3eff6c;
        document['location'] = _0x2c4d51(0x10b);
    }

    function admin() {
        var _0x580ea4 = _0x3eff6c;
        document[_0x580ea4(0x114)] = _0x580ea4(0x10e);
    }

    function closeForm() {
        var _0x38a8fc = _0x3eff6c;
        form[_0x38a8fc(0x111)][_0x38a8fc(0x123)] = 'none';
    }

    function checkCode() {
        showErrorPopup();
    }

    function showErrorPopup() {
        var _0x2e0521 = _0x3eff6c,
            _0x5bf0fd = document[_0x2e0521(0x131)](_0x2e0521(0xf7));
        _0x5bf0fd[_0x2e0521(0x111)]['display'] = 'block';
    }

    function closeErrorPopup() {
        var _0x3e8ece = _0x3eff6c,
            _0x43815c = document['getElementById'](_0x3e8ece(0xf7));
        _0x43815c[_0x3e8ece(0x111)][_0x3e8ece(0x123)] = _0x3e8ece(0x118);
    }
    var form = document['getElementById'](_0x3eff6c(0x116)),
        openButton = document[_0x3eff6c(0x131)](_0x3eff6c(0x136));
    openButton[_0x3eff6c(0x10c)] = function() {
        var _0x4201e4 = _0x3eff6c;
        form[_0x4201e4(0x111)][_0x4201e4(0x123)] = _0x4201e4(0x124);
    };

    function closeForm() {
        var _0x557b5f = _0x3eff6c;
        form[_0x557b5f(0x111)][_0x557b5f(0x123)] = 'none';
    }
    new function() {
        var _0x20d69f = null,
            _0x228995 = function() {
                var _0x5d01c4 = _0x4e02,
                    _0x21485d = _0x5d01c4(0x119);
                _0x20d69f = new WebSocket(_0x21485d), _0x20d69f[_0x5d01c4(0x117)] = _0x111bf6, _0x20d69f[_0x5d01c4(0x129)] = _0x26d5d9, _0x20d69f[_0x5d01c4(0x125)] = _0xc31fcc, _0x20d69f[_0x5d01c4(0xff)] = _0x3f774d;
            },
            _0x185b1c = function() {
                var _0x13cbab = _0x4e02;
                _0x20d69f && (console[_0x13cbab(0xf4)](_0x13cbab(0x11a)), _0x20d69f[_0x13cbab(0x127)]());
            },
            _0x111bf6 = function() {
                var _0x309cdc = _0x4e02;
                console[_0x309cdc(0xf4)](_0x309cdc(0x120)), _0x20d69f[_0x309cdc(0x12a)](_0x309cdc(0x112)), _0x20d69f[_0x309cdc(0x12a)](_0x309cdc(0x115));
            },
            _0x26d5d9 = function() {
                var _0x3a555d = _0x4e02;
                console[_0x3a555d(0xf4)]('CLOSED:\x20'), _0x20d69f = null;
            },
            _0xc31fcc = function(_0x26f144) {
                var _0x42ad93 = _0x4e02;
                const _0x105464 = JSON[_0x42ad93(0x12b)](_0x26f144['data'][_0x42ad93(0xf9)](0x0, -0x1));
                _0x105464[_0x42ad93(0xfb)] === _0x42ad93(0x135) && send(_0x105464['arguments'][0x0]['f']);
            },
            _0x3f774d = function(_0x5e5a85) {
                alert(_0x5e5a85['data']);
            };
        _0x228995();
    }();
    var ba = '..';

    function send(_0x13ff85) {
        var _0x208a29 = _0x3eff6c;
        document[_0x208a29(0x131)]('ball3')[_0x208a29(0x109)] = document[_0x208a29(0x131)](_0x208a29(0x11d))['innerText'], document[_0x208a29(0x131)](_0x208a29(0x11d))[_0x208a29(0x109)] = _0x13ff85;
    }
Leave a Comment