Stefan Friese
11 April, 2024
An SQL injection occurs when two things come together.
An SQL Query as a string embedded in other languages.
User input is possible as a part of said SQL query. Input is
delimited, e.g. by '
characters.
'
or
1=1
-- -
You can see thath the value of username has been closed by the
'
character.
Numbers as strings is an SQLite specific thing
Use the provided example inside this presentation’s repository. There is a readme which guides you through the setup.
Further, try Damn Vulnerable Web Application which you can setup by yourself or use Tryhackme’s DVWA Room.