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.50
5
4
3
2
1

Discussion

this was awful to read through :/ props to the author

0

for anyone struggling on this, it's not actually as hard as it seems. Take a deep breath. Rename the variables and functions to something that makes sense to you. Try to figure out what the code is doing.

0

Sorry to bring slang into this, but you absolutely... ATE. :)

0

mansi sucks ass

1

fk u bishes

3

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

1

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

1

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

-1

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