Labs / Login Bypass
WebMedium

Login Bypass

This practice login shows you, live, the SQL query it builds from your input. Your goal is to log in without knowing any password.

Watch how your input changes the query. What happens if your username contains a single quote '?

This is a safe simulation in your browser. There is no real database.

admin.chaicorp.example/login

Query sent to the database:

SELECT * FROM users WHERE username = '' AND password = ''

Submit the flag