Use negative indexes and setbuf for a nice buffer overflow giving us the ability to leak plt addresses and finally execute system("/bin/sh")
[Full writeup here](https://theromanxpl0it.github.io/ctf_codeblue2017/2017/11/11/secretmailerservice.html)