It’s seems we should just answer all the questions.
but among using a script to answer all, i see following patterns:
using [ and ] instead of (, )
using { , } instead of (, )
using ONE, TWO, THREE, instead of 1, 2, 3
So here is my completely dirty solution :) :
123456789101112
import socket
s = socket.create_connection(("mathwhiz_c951d46fed68687ad93a84e702800b7a.quals.shallweplayaga.me", 21249))
while True:
a = s.recv(1024)
print a
b = eval(a.replace("=", "").replace("{", "(").replace("}", ")").replace("ONE", "1").replace("TWO", "2").replace("THREE", "3").replace("^", "**").replace("[", "(").replace("]", ")"))
print b
s.send(str(b)+"\n")
And finally:
12345
$ python mathwize-sol.py
[..]
You won!!!
The flag is: Farva says you are a FickenChucker and you'd better watch Super Troopers 2