File Read
To read files, DB user must have the privilege to LOAD DATA
and INSERT
.
Most likely, we will need DBA to read data.
To check for DBA privilege, we use --is-dba
switch:
We can read files using --file-read
option:
File Write
Most of the time, we won’t be able to write a file.
We need DBA’s to be able to write files.
We can write files as such:
OS Command Execution
If we know the type of SQL injection we can specify using --sepcify
switch: