Skip to content

SQL injection

When user input reaches a database query unsafely. Learn to recognise it, confirm it, and understand the fix (parameterised queries) — which matters most when you build, like I do.

Checklist

  • Spot inputs that reach a query (search, login, filters, ids)
  • Confirm with the PortSwigger labs before trying anything live
  • Understand the fix: prepared statements / parameter binding
  • Know why string concatenation in SQL is the root cause

Trusted references

My notes

Do the free PortSwigger SQLi labs and note what each lab taught you.

# paste your own commands and findings here

This page is a scaffold

Fill it with notes from your own labs and CTFs, in your own words.