1
Reverse Engineering / Re: Crackme 03
« on: January 04, 2014, 01:15:24 am »
Hi.
Another option is to hook fgets function like this:
Then first compare of string length and counter drops us to call of bad() function.
Another option is to hook fgets function like this:
Code: (c) [Select]
char *
fgets(char *s, int size, FILE *stream)
{
*s = '\0';
return s;
}
Then first compare of string length and counter drops us to call of bad() function.