Nmap Scripting Engine – MySQL

Nmap Usage

Nmap needs the following information port number, script name, any script arguments (optional), and the IP of the target.

nmap -p <port> –script <script-same> –script-args <script arguemens> <target IP>

MySQL listing databases

nmap -p 3306 –script mysql-databases –script-args mysqluser=root

MySQL empty password

nmap -p3306 –script mysql-empty-password,mysql-databases

MySQL user listing

nmap -p3306 –script mysql-empty-password,mysql-users

MySQL variables

nmap -p3306 –script mysql-empty-password,mysql-variables

To Be Continued…