Jump to content
  • Advertisement
Sign in to follow this  
athena

fetching serial number

This topic is 4862 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm implementing the test-the-serial code in my app. I know some of the basics, like only inline call, embedded checks in various places and in code needed by the game engine, etc. But I have a problem. When I fetch the serial number, I store it in a variable. So the common thing each time I work on serial validation, is that I have to use this variable... and so I suppose an hacker has just to check where the variable is called, to know where I test the serial.

Share this post


Link to post
Share on other sites
Advertisement
I am not much of expert in hacking, but as I know hackers mostly , just change your compare function a bit:

if you have:

Quote:

if ( a == b )
{
goto ok;
}
else
goto error;


They may change it to

Quote:

if ( a == b )
{
goto ok;
}
else
goto ok;


or even
Quote:

goto ok;
if ( a == b )
{
goto ok;
}
else
goto error;


Someone correct me if I am wrong :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!