Script mysql-info

Script types: portrule
Categories: default, discovery, safe
Download: https://svn.nmap.org/nmap/scripts/mysql-info.nse

Script Summary

Connects to a MySQL server and prints information such as the protocol and version numbers, thread ID, status, capabilities, and the password salt.

If service detection is performed and the server appears to be blocking our host or is blocked because of too many connections, then this script isn't run (see the portrule).

Example Usage

nmap -sV -sC <target>

Script Output

3306/tcp open  mysql
|  mysql-info:
|    Protocol: 10
|    Version: 5.0.51a-3ubuntu5.1
|    Thread ID: 7
|    Capabilities flags: 40968
|    Some Capabilities: ConnectWithDatabase, SupportsTransactions, Support41Auth
|    Status: Autocommit
|_   Salt: bYyt\NQ/4V6IN+*3`imj

Requires


Author:

  • Kris Katterjohn

License: Same as Nmap--See https://nmap.org/book/man-legal.html