3DSCTF 2016 : prog100-alien_dna1

Access the server in 54.175.35.248:8001

Solution

No secret here, we need to figure out the logic behind the correct answer and send it to server. The picture seems more confusing than helping and I doubt there is any relationship with real DNA subtracting.

After some trial and error we understood the logic. Its a simple set theory exercise.. in ths case difference between two sets.

{C, C, G, T} \ {G, A, G, G} difference is {A, T, C} = 3

My team tried to answer manually but things got worse when hit 50 Stage hahah..

So I quickly wrote this script..

.. and done!