Before we dive into SQLi techniques, it is critical to learn the fundamentals of MySQL first. We will set up our lab environment on Windows. We use the MAMP suite:
MAMP & MAMP PRO - your local web development solution for PHP and WordPress development
MAMP & MAMP PRO - Your local web development solution
MAMP
The default credential for MySQL monitor is root:root. We can access the MySQL monitor from Powershell using the following command:
1
mysql -u root -proot
Copied!
Remember that there is a space after -u but no space after -p.