Loading the SQLite engine…

SQL Injection — Lab

Create and query users, then exploit the login field. A real SQLite database running in your browser.
TRAINING ENVIRONMENT · EDUCATIONAL USE
This lab is an isolated sandbox: the database lives only in your browser's memory and nothing leaves your computer. These techniques are meant to understand and defend applications. Testing SQL Injection on third-party systems without authorization is a crime (Law 12.737/2012).

Database

The users table. Click refresh to query the records (SELECT * FROM users).

idusernamepassword

Create user

Insertion uses a parameterized query (safe). Use it to populate the database and then query it.

Initial seed: admin/admin123, alice/alicepass, bob/bobpass.

Target application · login page
https://myapp.local/login
Login backend:
Vulnerable
Secure

Query sent to the database

Watch how your typing becomes part of the SQL on the Vulnerable backend — and stays a parameter on the Secure one.

Bypass payloads

Hidden on purpose — try to break the login yourself first. Reveal them to compare. Clicking one fills the Vulnerable login's username field.