This repo contains the a binary exploitation challenge and solution script.
You can read the full writeup on my blog post:
https://travisf.net/brain-repl-writeup
brain-repl-ctf-problem.tgz: archive with problembrain-repl-ctf-problem/Makefile: was used to build problembrain-repl-ctf-problem/README.md: problem readmebrain-repl-ctf-problem/brain-repl: challenge binarybrain-repl-ctf-problem/brain-repl.c: challenge source codebrain-repl-ctf-problem/flag.txt: sample flag file (the name is public)brain-repl-ctf-problem/run_brain_repl.sh: script to run the binarydebug_brain_repl.sh: debug script to run binary with socat with or without GDBgdb_cmds.gdb: GDB command file (used bydebug_brain_repl.sh)solve_brain_repl.py: solution script