mirror of
https://github.com/nmap/nmap.git
synced 2026-08-28 12:31:12 +00:00
mssql.Helper.GetDiscoveredInstances() always returns a table
This commit is contained in:
parent
3ab8fc27f8
commit
40172ca726
1 changed files with 3 additions and 2 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue