MySQL (3306)
Footprinting using nmap
sudo nmap 10.129.14.128 -sV -sC -p3306 --script mysql*Interacting to the mysql server
mysql -u root -h 10.129.14.132mysql -u root -pP4SSw0rd -h 10.129.14.128Commands
Types of SQL Injection

Footprinting
Payload
When to Use
Expected Output
Wrong Output
Gettings Schema Names and Tables
Reading Files
Getting Username
Getting User Privileges
Reading the file
Writing Files
Pre-requisites
Get File Privilege
Writing to a file
Finding the base web dir
SQLi Mitigation
Misconfigurations
Privileges
Protocol Specific Attacks
Code execution
Write Local Files
Reading Local Files
Last updated