ASIS CTF Finals 2014 - Match the pairs
In this task a memory game is shown.The cards are 16 and there is a circle filled with a color in each cards. Our aim is, obviously, to catch 2 cards which have the circle filled with the same color. The validation is performed with a POST request on /send with “first” and “second” as variables that are a numbers from 0 to 14. The response is “ok” if they are equal, “slow” if you were too slow, “done” if you finish the level, “e” if they aren’t equal. The trick here is to submit the same number for “first” and “second” so it will always return “ok”. In the following script I used Session() so the connection will be persistent else with normal requests the script will be too slow.