Rating:

just implement a python sockets server.

Original writeup (https://github.com/joshdabosh/writeups/tree/master/2020-MAGICoCTF).