write-ups-challenges-2020-2021/tiny
2022-11-24 18:03:20 +01:00
..
bliep.md initial commit 2022-11-24 18:03:20 +01:00
challenge initial commit 2022-11-24 18:03:20 +01:00
README.md initial commit 2022-11-24 18:03:20 +01:00

== Title == Tiny

== Description == I made a compiler for a subset of C and compiled some code with it. Can you figure out what it does?

== Flag == IGCTF{CompilersAreFun}

== Files == Participants should receive the "challenge" file.

== Deployment == /

== Solution/Writeup == The binary can be decompiled with a program such as Ghidra. In Ghidra, a function "check_flag" can be found. The source code of this function will contain a large set of assignments to an array (by default in hex). Decoding this hex will yield the flag.