a very easy crackme for beginners. |
==> |
very straightforward & easy crackme for beginners. |
==> |
I see a lot of confusion in these comments, so I thought I'd give my input to be some sort of help. From what I can tell, the goal is to get the program to print "you loose!". When looking at the decompiled C in Ghidra, you can see that in the main function, there is "char local_78 [112];", and a few lines down there's also "scanf("%s",local_78);".
Since scanf doesn't check the length of local_78, if you input a string with 112 A's, and then write "test" with no spaces after the A's, depending on if you use x64dbg or something similar, you can see that when you set a breakpoint at strcmp (when it tests your input), the "test" gets written to RBP, which is outside of the designed pointer that strcmp is designed to check; RCX. |
==> |