Doctor

Results 83 comments of Doctor

@Documation12 tamper .. monkey I guess?

This is hackable by Object.defineProperty + Proxy. I hacked the krunker after reading this repo) I simply defined Function, and checked the stack trace to return proxy, only on game...

@hrt @Kepler-11 Hi, Despite the fact that each check can be passed pretty easy, the fastest way to hack current scheme is this: ```js const join = Array.prototype.join; Object.defineProperty(Array.prototype, 'join',...

@hrt yes you right, you can easy avoid this just by calling getter once before checks. But it is pretty difficult to store each class and method separately somewhere and...

That was easy. It took me 15 minutes. ```js const Reflect = { apply: window.Reflect.apply }; const console = {log: window.console.log}; window.console.log = () => {}; const originalJoin = Array.prototype.join;...

Well, I mean yeah, you can add extra checks, but I think it just will took me more time to hack it. I am currently looking into the stack thing....

@hrt Yes that what I meant. Did you know about such behavior? I just figure out this today, playing with primitive prototype redefinition, and figured out that it restores itself...

@hrt but delete returns false in this case, and this how we can check :P

@hrt never mind 😢 ![image](https://github.com/hrt/TamperDetectJS/assets/122802909/d76ba8f8-d752-4486-9436-1f0e4eaeb407)