mirror of
https://github.com/nmap/nmap.git
synced 2026-02-13 08:56:34 +00:00
Fixed bug in srvloc library and broadcast-novell-locate script that would make
the script fail to complete in cases where no url was returned as part of the srvloc reply. [Patrik]
This commit is contained in:
@@ -31,7 +31,7 @@ function action()
|
||||
local helper = srvloc.Helper:new()
|
||||
|
||||
local status, bindery = helper:ServiceRequest("bindery.novell", "DEFAULT")
|
||||
if ( not(status) ) then return end
|
||||
if ( not(status) or not(bindery) ) then return end
|
||||
local srvname = bindery:match("%/%/%/(.*)$")
|
||||
|
||||
local status, attrib = helper:AttributeRequest(bindery, "DEFAULT", "svcaddr-ws")
|
||||
|
||||
Reference in New Issue
Block a user