May 2017
Intermediate to advanced
416 pages
21h 33m
English
To retrieve information from a MS SQL server with Nmap, run the following command:
$ nmap -p1433 --script ms-sql-info <target>
MS SQL server information, such as instance name, version number, and port, will be included in the script output:
PORT STATE SERVICE 1433/tcp open ms-sql-s Host script results: | ms-sql-info: | Windows server name: CLDRN-PC | [192.168.1.102\MSSQLSERVER] | Instance name: MSSQLSERVER | Version: Microsoft SQL Server 2011 | Version number: 11.00.1750.00 | Product: Microsoft SQL Server 2011 | TCP port: 1433 |_ Clustered: No
Read now
Unlock full access