From ece9ff419a6fd87fc6dbcaaa98816fba312d4afc Mon Sep 17 00:00:00 2001 From: root Date: Sun, 8 Dec 2024 20:20:50 +0000 Subject: [PATCH] Fix command definition: Pass on --ipv4 or --ipv6 arguments --- command_nmap.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/command_nmap.conf b/command_nmap.conf index 6ad584d..7fec90f 100644 --- a/command_nmap.conf +++ b/command_nmap.conf @@ -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$"