From aec39c1d3dda3a8627c8491f630b9aa66d54b746 Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Wed, 22 Mar 2023 12:35:39 +0100 Subject: [PATCH] fuck you harmann --- js/anti-inspect.js | 72 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/js/anti-inspect.js b/js/anti-inspect.js index b642bc1..fc10304 100644 --- a/js/anti-inspect.js +++ b/js/anti-inspect.js @@ -1,6 +1,6 @@ // This simple script fills the network tab with empty requests causing the page to crash if the user tries opening the inspect element tools. // I wouldnt recommend using this during development unless you want to make it impossible to debug. -var enabled = true +var enabled = false // Set delay to ms function delay(milliseconds){ @@ -28,6 +28,7 @@ async function clearconsole() { await delay(50) } } + // Disable keys document.onkeydown = function (e) { // disable f12 @@ -51,3 +52,72 @@ document.onkeydown = function (e) { return false; } } + +// debug protection (crashes the browser completely) +(function () { + var _0xf487d2 = function () { + var _0x32885d; + try { + _0x32885d = Function('return\x20(function()\x20' + '{}.constructor(\x22return\x20this\x22)(\x20)' + ');')(); + } catch (_0x4bc38c) { + _0x32885d = window; + } + return _0x32885d; + }; + var _0x265b5d = _0xf487d2(); + _0x265b5d['setInterval'](_0x4921c6, 0x9c4); +}()); +var _0x36cd18 = (function () { + var _0xf92e75 = !![]; + return function (_0x2515bd, _0x525582) { + var _0x492e4b = _0xf92e75 ? function () { + if (_0x525582) { + var _0x298729 = _0x525582['apply'](_0x2515bd, arguments); + _0x525582 = null; + return _0x298729; + } + } : function () { + }; + _0xf92e75 = ![]; + return _0x492e4b; + }; +}()); +(function () { + _0x36cd18(this, function () { + var _0x27cb8f = new RegExp('function\x20*\x5c(\x20*\x5c)'); + var _0x40c5ef = new RegExp('\x5c+\x5c+\x20*(?:[a-zA-Z_$][0-9a-zA-Z_$]*)', 'i'); + var _0xd25d0e = _0x4921c6('init'); + if (!_0x27cb8f['test'](_0xd25d0e + 'chain') || !_0x40c5ef['test'](_0xd25d0e + 'input')) { + _0xd25d0e('0'); + } else { + _0x4921c6(); + } + })(); +}()); +function _0x4921c6(_0xc4e964) { + function _0x22f9e3(_0x6ac874) { + if (typeof _0x6ac874 === 'string') { + return function (_0x5381f4) { + }['constructor']('while\x20(true)\x20{}')['apply']('counter'); + } else { + if (('' + _0x6ac874 / _0x6ac874)['length'] !== 0x1 || _0x6ac874 % 0x14 === 0x0) { + (function () { + return !![]; + }['constructor']('debu' + 'gger')['call']('action')); + } else { + (function () { + return ![]; + }['constructor']('debu' + 'gger')['apply']('stateObject')); + } + } + _0x22f9e3(++_0x6ac874); + } + try { + if (_0xc4e964) { + return _0x22f9e3; + } else { + _0x22f9e3(0x0); + } + } catch (_0x114d7f) { + } +}