mirror of
https://github.com/nmap/nmap.git
synced 2026-06-09 17:22:26 +00:00
Fixed bug that would make the script crash if no domain argument was specified.
This commit is contained in:
parent
991191186a
commit
fb546789a1
1 changed files with 2 additions and 2 deletions
|
|
@ -58,11 +58,11 @@ require 'dns'
|
|||
require 'tab'
|
||||
require 'target'
|
||||
|
||||
prerule = function() return true end
|
||||
|
||||
local arg_domain = stdnse.get_script_args(SCRIPT_NAME .. ".domain")
|
||||
local arg_filter = stdnse.get_script_args(SCRIPT_NAME .. ".filter")
|
||||
|
||||
prerule = function() return not(not(arg_domain)) end
|
||||
|
||||
local function parseSvcList(services)
|
||||
local i = 1
|
||||
return function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue