PwnCollege - RE - Animations
Okay, the previous level was embarrassing, but those sorts of bugs happen all the time! We fixed that issue in this level and, because we feel somewhat contrite about the bug, we’re giving you the flag again… in an animated cIMG! Good luck.
/challenge/cimg.c
1 | int main(int argc, char **argv, char **envp) |
generate flag.cimg
1 | raw_flag_lines = subprocess.check_output(["/usr/bin/figlet", "-fascii9"], input=open("/flag", "rb").read()).split(b"\n") |
1 | import re |