MYSQL

DEFINITIONS:

INFORMATION SCHEMA: The INFORMATION_SCHEMA database contains metadata about the databases and tables present on the server. Tables in this DB can't be called directly using SELECT statements.

DOT OPERATOR: This is used to reference a table present in another DB. e.g,

SCHEMATA: The SCHEMATA table in the INFORMATION_SCHEMA database contains information about all databases on the server. It is used to obtain database names so we can then query them. The SCHEMA_NAME column contains all the database names currently present.

RETRIEVING DATA

VERSION INFO

DATABASES

TABLE

DISPLAYING COLUMNS

SORTING OUTPUT

FILTERING OUTPUT

SEARCHING FOR SPECIFIC DATA

LOGICAL OPERATORS

COUNTING

DISPLAYING RESULTS OF MULTIPLE SELECT STATEMENTS

COMBINING DATA FROM MULTPLE TABLES/DATABASES


the Union clause is used to combine results from multiple SELECT statements. This means that through a UNION injection, we will be able to SELECT and dump data from all across the DBMS, from multiple tables and databases


IMPLEMENTATION

IDENTIFIYING DB USER

IDENTIFYING DB USER PRIVILEGES

READING LOCAL SYSTEM FILES

IDENTIFYING READING/WRITING FILE LOCATION

IDENTIFYING WRITE ACCESS

Last updated