Merge branch 'ent-11249-plugin-udp-port-check-no-realiza-bien-la-comprobacion' into 'develop'

added grep -v filtered in call

See merge request artica/pandorafms!6178
This commit is contained in:
Alejandro Sánchez 2023-06-27 13:31:34 +00:00
commit 960ede0e15
1 changed files with 1 additions and 2 deletions

View File

@ -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