SQL Injection with bWAPP
Last updated
Last updated
Go to SQL Injection (GET/Search)
Lets put '
see what happens
Lets try and use ' order by 6 -- -
Lets check if we have any users table in bWAPP using the below code
We can see user table exists, Lets try and find the users.
Now we have all we need to retrieve all users secrets
Add the below query to the URL
Using this SQL query we can get all of table schema and names from information_schema.tables.
Let's enter table name to query to get columns names of table like "Heroes Table"
we can find columns with ‘order by’ command. query: 'order by 7 -- -
Let check with 'order by 8 -- -
On order by 8, it was not appearing anything, so we can assume that it has only 7 columns.