Sqli-labs less 13

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.