Rating:

Original writeup (https://medium.com/@defmax/midnight-sun-ctf-2019-quals-writeup-437ea139d90c).