mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Gets arguments with stdnse.get_script_args() instead of reading them from nmap.registry
This commit is contained in:
parent
01088b879f
commit
0e9a3e994d
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue