Rating:

Original writeup (http://rawsec.ml/en/AlexCTF-2017-write-ups/#100-SC1-Math-bot-Scripting).