Rating:

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

Original writeup (https://github.com/mzfr/picoCTF-2018-Writeups/tree/master/Cryptography/Safe%20RSA).