From 964b26ca2d5c1541cdcee7d9e46d500d244a6896 Mon Sep 17 00:00:00 2001 From: alejandro Date: Tue, 27 Jun 2023 15:29:49 +0200 Subject: [PATCH] added grep -v filtered in call --- pandora_server/util/plugin/udp_nmap_plugin.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandora_server/util/plugin/udp_nmap_plugin.sh b/pandora_server/util/plugin/udp_nmap_plugin.sh index 5fd4b8336c..c4aad031a9 100755 --- a/pandora_server/util/plugin/udp_nmap_plugin.sh +++ b/pandora_server/util/plugin/udp_nmap_plugin.sh @@ -55,5 +55,4 @@ then fi # execution -nmap -T5 -p $PORT -sU $HOST | grep open | wc -l 2> /dev/null - +nmap -T5 -p $PORT -sU $HOST | grep open |grep -v filtered| wc -l 2> /dev/null \ No newline at end of file