sqlmap -u "http://testphp.vulnweb.com/artists.php?artist=1"
Once a SQL has been detected, we can choose yes (Y) to skip other types of payloads:
Once SQL has been detected, we can list the database names using the --dbs flag:
We have the databases now; similarly, we can use flags such as --tables and --columns to get table names and column names:
To check whether the user is a database administrator, we can use the --is-dba flag:
The sqlmap command has a lot of flags. We can use the following table to see the different types of flags and what they do:
- The sqlmap command has a lot of flags. We can use the following table to see the different types of flags and what they do:
| 
Flag | 
Operation | 
| 
--tables | 
Dumps all table names | 
| 
-T | |
| 
--os-cmd | 
Executes an operating system command | 
| 
--os-shell | 
Prompts a command shell to the system | 
| 
-r | |
| 
--dump-all | 
Dumps everything | 
| 
--tamper | 
Uses a tamper script | 
| 
--eta | |
| 
--dbs=MYSql,MSSQL,Oracle | |
| 
--proxy | 
Specifies a proxy | 
No comments:
Post a Comment