Generate flag for ctf