Is there a way to pass this without patching? |
==> |
Some random password... Not worth it. |
==> |
Code did not copy over correctly
|
==> |
Key Gen Code:
#include
char password;
char user_letter;
int main(int argc, char *argv[]) {
printf("%s", "KEY GEN \n");
printf("%s", "Enter a letter an get your key. \n");
scanf("%c", &user_letter);
if ((0x80 (user_letter & 0xf));
printf("Letter %c: Password is: %d",user_letter,password);
}
else {
password = user_letter & user_letter |
==> |
leet speak on the flag. Fun little crackme. |
==> |
Thanks for the vid. I actually ended up just using ltrace and watching the calls to rand(). Was able to construct the password from there as well.
|
==> |
I just ended up patching this one. Is there a different way?
xray@ubuntu:~/Desktop$ ./random_guessing_game
[*] Password: test
[*] Checking your password..
[+] Good Job!
|
==> |