mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 05:39:01 +00:00
fixed bug that would result in a crash when the browser service would return
an empty result.
This commit is contained in:
@@ -79,7 +79,7 @@ action = function( host )
|
||||
instanceList = mssql.Helper.GetDiscoveredInstances( host )
|
||||
end
|
||||
|
||||
for _, instance in ipairs(instanceList) do
|
||||
for _, instance in ipairs(instanceList or {}) do
|
||||
local name = instance:GetName():match("^[^\\]*\\(.*)$")
|
||||
if ( name ) then
|
||||
local co = stdnse.new_thread(discoverDAC, host, name, result)
|
||||
|
||||
Reference in New Issue
Block a user