An easy example of format-string vulnerability, wherein elf binary leaks stack objects by inputing format specifiers. We do a brute-force, enumerating all string items on stack
flag{n0t_s0_s3cr3t_f1ag_n0w}
Original writeup (https://github.com/Khanejo/redpwnCTF-secret-flag.git).