old-55 -- SQLi (Blind)

URL:

As soon as we visit the website and move mouse around the slime starts moving around, as we move around we get points and next 2 numbers seem to be (x, y) coordinates.

old-55.png

Rankings:

old-55-1.png

Whenever we finish playing with slime our score is inserted into the database.

Ranking also has a search function with GET method:

The search seems to be returning 2 columns, username and score itself.

Looks like there's a hidden or unused column in query.

Using PROCEDURE ANALYSE trick leak the column names:

We have access to LIKE operator, but it's case insensitive so probably SUBSTRING is more useful, but it's blocked.

Didn't seem to work, probably MySQL version is too old..

We can use LEFT or RIGHT functions like substring. Brute the flag:

Note: Quotes are not allowed so I used hex strings to bypass that.

Last updated