Script mysql-databases
Script types:
portrule
Categories:
discovery, intrusive
Download: https://svn.nmap.org/nmap/scripts/mysql-databases.nse
Script Summary
Attempts to list all databases on a MySQL server.
Script Arguments
- mysqluser
The username to use for authentication. If unset it attempts to use credentials found by
mysql-brute
ormysql-empty-password
.- mysqlpass
The password to use for authentication. If unset it attempts to use credentials found by
mysql-brute
ormysql-empty-password
.
Example Usage
nmap -sV --script=mysql-databases <target>
Script Output
3306/tcp open mysql | mysql-databases: | information_schema | mysql | horde | album | mediatomb |_ squeezecenter
Requires
Author:
License: Same as Nmap--See https://nmap.org/book/man-legal.html