Rating:

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

Original writeup (http://komang4130.blogspot.com/2017/08/shactf-2017-write-up-for-misc-junior.html).