Rating:

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

Original writeup (https://gitlab.com/mahham/ctf/blob/master/2018-twctf/Readme.md#scs7-112-crypto).