Write some CTF stuff (C)