Rating:

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

Original writeup (https://github.com/phieulang1993/ctf-writeups/blob/master/2018/swampctf/Power_QWORD/power.py).