Home >

Cyber Defense CTF > Forensics

Back <> Next

A classic game of Snake, but the developer left the winning flag in the binary a little too exposed.

Here we are given a file ‘snek’ to download. Inspecting the file reveals that it is an ELF 64 executable.

chmod +x snek

we can run the binary now and see that it is, indeed, a small game of snake. If we run the game, and survive for 90 seconds, we get a message with a shortened link:

Nice job getting this far, you're a pro! However, there is a shorter path to victory... https://rb.gy/7i3c9d

snek_1

If we look at the url, it does provide a hint into what the correct step to get the flag is…

strings snek | grep leveleffect

snek_2

Back <> Next