Less-13
We enter Username:admin '
Password: (Lose freely)
To test
Can see the error, the errors are:
You have a error in your SQL syntax; Check the manual-corresponds to your MySQL server version for the right syntax-use near ' 1') LIMIT 0,1 ' at Line 1
You can see the red font in the above, that is, ') we can know the program to the ID of ') processing.
We can obviously see that this does not show you the login information, can only give you a log on the success of the return data.
Then we can use the Boolean type of blinds here.
Guess the first bit of the database
Uname=admin ') and left (database (), 1) > ' A ' #&passwd=1&submit=submit
Login is successful, so you can test each one next to each other, less5 we have already talked about this process, here is not repeated.
Here is a small suggestion: in the process of the bitwise guessing, we can use the dichotomy method, can effectively reduce the number of attempts.
The rest of the process is not demonstrated, please do your own construction to test.
Sqli-labs less 13