Rating:

Please, do not write just a link to original writeup here.

Original writeup (https://github.com/chamli/Write_Up_Ctf/blob/master/BugsBunnyCTF_2017/pwn100.py).