Database Enumeration
- Database version banner (switch
--banner
)
- Current user name (switch
--current-user
)
- Current database name (switch
--current-db
)
- Checking if the current user has DBA (administrator) rights (switch
--is-dba
)
e.g
Table Enumeration
Use --tables
option with DB named specified with -D
option to get a list of tables:
After spotting the table name of interest, retrieve its content using --dump
and -T
option:
Table and Row Enumeration
When the table has many columns or rows, we can specify column using -C
flag:
We can specify rows using --start
and --stop
options:
Conditional Enumeration
If we want to look for name that starts with f
:
Advanced Database Enumeration
DB Schema Enumeration
We can retrieve the structure of all tables so that we can have a complete overview of the database.
--schema
switch
Searching for Data
We can use --search
option to look for data interested.
e.g Look for all of the table names containing the keyword user
:
e.g Look for all of the column names based on the keyword pass
:
Password Enum and Crack
We can use --passwords
switch to dump the content of system tables containing database-specific credentials: