Fix command definition: Pass on --ipv4 or --ipv6 arguments
This commit is contained in:
parent
424097cb93
commit
ece9ff419a
1 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,14 @@ object CheckCommand "nmap" {
|
||||||
description = "String with ports in nmap format"
|
description = "String with ports in nmap format"
|
||||||
repeat_key = true
|
repeat_key = true
|
||||||
}
|
}
|
||||||
|
"--ipv4" = {
|
||||||
|
value = "$nmap_ipv4$"
|
||||||
|
description = "Use IPv4 for scanning"
|
||||||
|
}
|
||||||
|
"--ipv6" = {
|
||||||
|
value = "$nmap_ipv6$"
|
||||||
|
description = "Use IPv6 for scanning"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vars.nmap_host = "$check_address$"
|
vars.nmap_host = "$check_address$"
|
||||||
|
|
Loading…
Reference in a new issue