In this recipe, we will explore how to use Metasploit to attack a MySQL database server using the MySQL Scanner module. As the database of choice for many website platforms including Drupal and WordPress, many websites are currently using the MySQL database server. This makes it an easy target for the Metasploitable MySQL attack!
The following requirements need to be fulfilled:
Let's begin our MySQL attack by opening a terminal window: