Rating:

Original writeup (http://itsvipul.com/writeups/Encrypt_CTF/pwn2.html).