tl;dr1. SQLi via "Host" header2. `procedure analyse()` to get name of the table and columns3. `union select...` + `to_base64` to grab the flag
Whole writeup: https://github.com/p4-team/ctf/tree/master/2017-11-09-defcamp-final/state_agency