/_tmp/crackme1.c#include <stdio.h>
#include <string.h>
int main()
{
char ref[9];
char pwd[9];
int flg=0;
int DEBUG=0;
printf("\nPassword ? ");
scanf("%s",pwd);
strcpy(ref,"P@ssw0rd");
if( DEBUG )
{
printf("\n[DEBUG] : pwd='%s'\n",pwd);
printf("\n[DEBUG] : ref='%s'\n",ref);
}
if( strcmp(pwd,ref) == 0 )
{
flg=1;
}
if( flg == 1 )
{
printf("\n*** Good bOy ***\n\n");
}
else
{
printf("\n*** b@d b0y ***\n\n");
}
return(0);
}