I'm so dump..... sry for everything 0xf == 15 ... it's just to late... its 5:46AM on my country. |
==> |
(i hope it wont be cutted this time...)
if (0xf < i) { //16 is not less than 16
return 1;
} // so pass[16] will be accessed but is invalid
|
==> |
if (0xf |
==> |
i'm not able to crack it :( ... But i think you have an invalid memory read in function check_password 'if (pass_in[(long)i] != pass[(long)i])'. pass is a array of 16 chars, so pass[0] and pass[15] are legal.
if (0xf |
==> |