Time to Eat
50 points Medium

My friend sent me some Python code, but something tells me he was hungry when he wrote it. Do you think you can put your reverse engineering skills to use and get it to output the flag?

eat.py
Flag
Rating 4.52
5
4
3
2
1

Discussion

get a pen and paper and definitely some snacks, this question gonna make you crazy and hungry

0

get a pen and paper and definitely some snacks, this question gonna make you crazy and hungry

0

get a pen and paper and definitely some snacks, this question gonna make you crazy and hungry

0

Not sure how to proceed. Downloaded eat script, found a line if eateat == "E10a23t9090t9ae0140":

Tried to work out backwards and got to a possible flag, but then i am stuck. Not sure where does the "ae0140" ending comes from above's if statement. How do you people brute force in this case?

0

Thank you very much

0

that was very hard to analyse a lot of eats hhhh it took me 30 min to rename the whole project and 2 hours to debug it

i used pythontutor to visualize the code and its functionality and then take a paper and pen to analyse it, and found the flag :)

0

nice

0

Well, i started by reversing, using "find/replace", then, all these "eat" made me hungry ;). So, i took my dinner and made my PC bruteforcing it (thanks to the hint in the code) ...

1

Really nice challenge to learn debugger and how Python code works

1

Thanks for this one ("find/replace" + a little pen / paper to understand the "mingling" logic was straight forward)

0

This was a little harder on me than the hard binary Reversing challenge I did earlier. Don't RE much python. Renaming some of the variables and function names, once I figured out what they did helped me. Use PyCharm or WingIDE to help with debugging.

0