Photo by fer gomez on Unsplash

This time I’m tackling this crackme called Mexican. In order to solve this, we will use radare2’s to analyze the binary and find the flag. Then we’ll have to patch the binary in order for it to output the flag. Let’s jump right in!

If we open the binary using radare2 and go to the main function we see a call to the flag function… but something is odd 🤔