A SQL injection to a real site ——— sqlmap use

Source: Internet
Author: User
Tags sql injection

There are many examples and statements on the web that are manually injected into SQL, and it is worthwhile to learn that manual injection can help us understand the relationship between the website and the database, and also understand why the use of injected statements can find the website vulnerability.

Because I am a novice, injection statement is not familiar with, I this is the note points found in the hand note, and then use SQLMAP implementation injection, to obtain the Administrator account password.

Website: http://www.xxxxxx.com/info.php

When we use? Id=1 or? id=2, the site Introduction section has changed. Then we found the point.

The next step is to use SQLMAP automated scanning

1. Find injection points) (you can also use Sqlmap to find points)

2. Discovery of the use of id=1 ', possibly an injection point

3. Run to database information mysql5.0.11

4.-dbs command to find the database

5. Discovery of 3 databases

6. Stopwatch

7.12 Tables

8. Run the Administrator table

9. There are 4 information to view ID pwd UID

10. Run out of username and password MD5

A SQL injection to a real site ——— sqlmap use

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.