# Automate Me (919 pts., 65 solves)

We’re given a binary. Trying to open it in GDB we find that there is a lot of code in the main, so it is almost impossible to read it all by hand. Scrolling the first part we find a recurrent schema: the binary tries to verify a key character by character, and there are basically 2 types of comparisons.

The first one is a plain comparison, like the following one

The second one is a xored comparison, like this one:

So basically I used objdump -d bin > out.txt and parsed the output of the xored ones with python as follows

Having this output i simply reconstructed the flag by hand using the parts in clear (in about 10 minutes).
securinets{automating_everything_is_the_new_future}