MicrolearnENPTES

SQL injection

Lesson 9 of 20 · Sec.Micro

When user input becomes part of a database command, and how parameters fix it.

SELECT * FROM users WHERE name = 'ana' AND pass = 'cafe123'

This simulated login glues what you type into the SQL text. With normal input it works: ana / cafe123 finds one row.

Check yourself

What makes SQL injection possible?

Do it in the browser: a real cybersecurity tool, a short mission and instant feedback. No install.

Start this lesson — free
← Updates and patchesCross-site scripting (XSS) →

All lessons · Sec.Micro