Nmap NSE net: ms-sql-query

Summary
Runs a query against Microsoft SQL Server (ms-sql). SYNTAX: mssql.timeout: How long to wait for SQL responses. This is a number followed by 'ms' for milliseconds, 's' for seconds, 'm' for minutes, or 'h' for hours. Default: '30s'. mssql-query.query: specifies the query to run against the server. (default SELECT @@version version)