Rating:

Simple SQLi.

Original writeup (https://martinmelhus.com/squarectf-2017-writeup/).