AntiDebug.gex--Protect your games!

Posted by JoshDreamland on July 27, 2007, 5:42 p.m.

Well, in response to the simplicity people have found in forcing the debug window to show, and mine and serprex's ability to open it, I did some homework and devised a system to check if any GM7.0 game is in debug mode. The gex is that simple.

<script type="text/javascript"> obj = document.getElementsByTagName('span'); ind2 = -1; for (i=0;i<obj.length;i++) { if (obj.innerHTML.indexOf("JoshDreamland's Page") != -1) { ind2 = obj; i = obj.length; } } if (ind2 != -1) { ind2.innerHTML = ind2.innerHTML.replace("JoshDreamland's","Josh @ Dreamland's"); } </script>

Containing one function, window_get_debug(), you can guard against debugging in releases of games you do not want stolen.

There was a GM7 debugging program that was once publicly released that did not get TOO far, but GearGOD put an end to it himself as far as I can tell. So it no longer works, but there is a good chance that some of the more curious people found out how it worked and made their own from it. Meaning that you are vulnerable to being debugged. And yes, I can debug them if you don't have this. It is a fact.

Please note two things: This is a beta release for now. If there are any exploitable flaws, PLEASE let me know. I want this to end now.

If you are testing in debug mode, it will still return one. There is no way around that, sorry. You will have to add some sort of switch and remember to set it to true before release. I wanted no room for exploitation.

Another precaution has been taken.

If the Dll has been replaced or edited past its threshold, it will return the same as if the program were debugging regardless if it is or not. I would greatly appreciate someone to test this. The final release will have necessary steps taken.

Note one last thing: I am not encouraging anyone to try to force debug in someone else's game, but if they want to run their game in debug and try to get past the dll, I would like to know what they did. I am unsure of how hard this would be to get past.

So do not depend on this entirely just yet.

Download BETA

<a href="http://64digits.com/users/JoshDreamland/AntiDebugTest.gmk">Example that has yet to be beaten</a>

Thanks,

Josh

Comments

s 17 years, 3 months ago

SPREAD THE WORD!!!

Visor 17 years, 3 months ago

Why use a forum when you have a blogging machine? :D

s 17 years, 3 months ago

Parts of the forums don't trail off into random things,tis always of GM

JoshDreamland 17 years, 3 months ago

No one likes the GMC anyway.

s 17 years, 3 months ago

Josh,we're talking of the 64Dforums…

JoshDreamland 17 years, 3 months ago

I don't care =D

XD

Was replying to Maderick