Fix command definition: Pass on --ipv4 or --ipv6 arguments

This commit is contained in:
root 2024-12-08 20:20:50 +00:00
parent 424097cb93
commit ece9ff419a

View file

@ -19,6 +19,14 @@ object CheckCommand "nmap" {
description = "String with ports in nmap format"
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$"