added grep -v filtered in call

This commit is contained in:
alejandro 2023-06-27 15:29:49 +02:00
parent eb2d974670
commit 964b26ca2d
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