mirror of
https://github.com/nmap/nmap.git
synced 2026-02-13 08:56:34 +00:00
Gets arguments with stdnse.get_script_args() instead of reading them from nmap.registry
This commit is contained in:
@@ -1655,8 +1655,8 @@ function get_args()
|
||||
args = nmap.registry.args.whois.whodb
|
||||
elseif nmap.registry.args.whodb then
|
||||
args = nmap.registry.args.whodb
|
||||
elseif nmap.registry.args['whois.whodb'] then
|
||||
args = nmap.registry.args['whois.whodb']
|
||||
elseif stdnse.get_script_args('whois.whodb') then
|
||||
args = stdnse.get_script_args('whois.whodb')
|
||||
else return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user