"White hat Talk Web Security" chapter seventh inject attack reading notes

Source: Internet
Author: User

7.1 SQL injection

SQL injection first appeared in the "Phrack" phase 54 in 98.

Injection attacks have two key conditions, the first is that the user can control the input, the second is the original program to execute the code stitching the user input data.

If the web site turns on false echo, it will provide great convenience to the attackers.

7.1.1 Blind Note

A "blind" is an attack done when the server does not have an error echo.

The most common blind method is to construct a simple conditional statement that determines whether the SQL statement is executed, depending on whether the returned page has changed.

For example, compare the execution results of "id=2", "id=2 and 1=2" and "id=2 and 1=1"

7.1.2 Timing Attack

It was published by Timkode on full disclosure in 2011.



"White hat Talk Web Security" chapter seventh inject attack reading notes

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.