"Sqli-labs" Less16 post-blind-boolian/time based-double quotes (double-quote POST blind based on BOOL/time delay)

Source: Internet
Author: User
Tags sleep function

 1' or 1=1# and              fail 1 "or 1=1#              1=1#--             fail 11=1 #             --> Success                            

Judging by double-quote deformation injection

Using the Sleep function to determine the database name length

1 or if (Length (database())=7,1, Sleep (5)) #

Time delay does appear, but not 5s

Execute it in the database

+

There are 13 data in the Users table, where a condition match occurs because sleep (5) returns 1 (true) so look for username= ' 1 ', that is, the condition behind the where executes 13 times, the delay is 65s

So do not use or sleep () to inject

Conversely, if a large number of such requests are constructed, a large number of database connections are abused, causing normal service to fail

Reference http://www.freebuf.com/articles/web/101658.html

"Sqli-labs" Less16 post-blind-boolian/time based-double quotes (double-quote POST blind based on BOOL/time delay)

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.