Last active
March 19, 2025 21:02
-
-
Save maxali/ede981021186fb7c98f0e41892704c8d to your computer and use it in GitHub Desktop.
Disable Anti-Debugging
This file contains hidden or 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
function DisableAntiDebugging (){ | |
Object.defineProperty(document, 'hidden', { value: false, configurable: false }); | |
console.clear = function() {}; | |
window.setTimeout = function() { console.log("setTimeout blocked"); }; | |
console.log("Anti-debugging measures disabled!"); | |
location.reload = function() {console.log("Not reloading>>>")} | |
} | |
DisableAntiDebugging() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment