Labs / Login Bypass
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.
Query sent to the database:
SELECT * FROM users WHERE username = '' AND password = ''