Rating:

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

Original writeup (https://giocher.com/words/2017/05/01/defcon-ctf-quals-writeups.html#magic).