mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
fixed bug that would result in a crash when the browser service would return
an empty result.
This commit is contained in:
parent
0a0db9f835
commit
fe25ec912f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue