1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

mssql.Helper.GetDiscoveredInstances() always returns a table

This commit is contained in:
nnposter
2024-07-04 19:14:38 +00:00
parent 3ab8fc27f8
commit 40172ca726

View File

@@ -39,8 +39,9 @@
-- with pre-discovered instances (e.g. by <code>ms-sql-discover</code> or <code>broadcast-ms-sql-discover</code>):
--
-- <code>
-- local instance = mssql.Helper.GetDiscoveredInstances( host, port )
-- if ( instance ) then
-- local instances = mssql.Helper.GetDiscoveredInstances( host, port )
-- if ( instances ) then
-- local instance = next(instances)
-- local helper = mssql.Helper:new()
-- status, result = helper:ConnectEx( instance )
-- status, result = helper:LoginEx( instance )