SQL injection test Platform Sqlol-3.insert injection test

Source: Internet
Author: User
Tags sql injection

Visit the Insert module on the home page, http://127.0.0.1/sql/insert.php, and start testing the Insert module.

Insert statement:

The parameters that are received may be stitched to either of the "" positions in the preceding statement.

Here we generally use

1, Error injection

2. Blinds (Boolean type, time delay type)

Some injection points can be injected at the same time using multiple methods, and only one is shown here.

The following shows the methods injected into different locations.

One, Value (string)

To construct a POC:

' or Updatexml (1,concat (0x7e, (Database ()), 0x7e), 0) or '

For example, get the database name Sqlol

Second, Value (int)

To construct a POC:

"Or Extractvalue (1,concat (0x7e,database ())) or"

For example, get database sqlol in test

Third, Column Name

According to the syntax of the INSERT statement,

INSERT into Users ("1", ISAdmin) VALUES (' haxotron9000 ', 0)

Injection position in the "1", I can think of the use of two kinds of ways,

1, find other users in the columns, directly inserted values, resulting in garbage data, causing trouble to users;

2, comments out the following statements, the freedom to construct SQL statements.

Iv. Table Name

Injection point position at "1"

INSERT into "1" (username, ISAdmin) VALUES (' haxotron9000 ', 0)

Directly comment out the following statement, you can insert data into any table.

SQL injection test Platform Sqlol-3.insert injection test

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.