We use a buffer overflow to overwrite the instruction pointer with the address of a function called `secret_recipe`, which prints the flag.
Take a look at the original writeup for a detailed explanation.