Skip to content

Instantly share code, notes, and snippets.

@RDxR10
Last active February 16, 2021 18:39
Show Gist options
  • Save RDxR10/7a84b60b0d95002d1fbdb504b4b584a4 to your computer and use it in GitHub Desktop.
Save RDxR10/7a84b60b0d95002d1fbdb504b4b584a4 to your computer and use it in GitHub Desktop.
  • the .tgs file is a telegram sticker
  • send it to the sticker bot on telegram to render it, or convert it to another format. The animation shows 6 characters "mrgr3y"
  • .tgs format is essentially a gzipped JSON. Get the JSON by using gzip -d
  • Load the JSON to see that there's a key named sandwich. The contents of this key is a long hex string. Decode this into bytes and save it to file.
  • This file is a 7z file protected with a password. Use the password mrgr3y
  • You'll get a file flag.RDxR10
  • That's a shell archive. Execute it : ./flag.RDxR10
  • You get the flag encoded in grey code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment