[01] DEFINITION
Query manipulation
SQL Injection can occur when an application unsafely combines user input with an SQL command.
A small input can change database logic when it is added to an SQL query unsafely. Learn what SQL Injection (SQLi) is, where PHP applications are at risk, and how to defend against it.
START LEARNING ↓Loading vulnerability overview...
SQL Injection can occur when an application unsafely combines user input with an SQL command.
Adding input directly to a query can blur the boundary between database commands and data.
Depending on the situation, SQLi can lead to unauthorized data access, record changes, or data loss.
This is a local, simulated example only. It does not send requests to any website or database.
Enter a username and run the demo. The input will be treated as text; no real login attempt will be made.