diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-02-19 09:14:26 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-02-19 09:14:26 +1300 |
commit | 73c036997c5eac8340fddebf2e40a1989df4c145 (patch) | |
tree | 1f3401afddcd78706faa2d8356bccbe3b752102d /bin | |
parent | Strip README trailing blank line (diff) | |
download | nwatch-73c036997c5eac8340fddebf2e40a1989df4c145.tar.gz nwatch-73c036997c5eac8340fddebf2e40a1989df4c145.zip |
Show only --open ports
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/nwatch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ cache=$cachedir/${self}.scan.${date} diff=$cachedir/${self}.diff.${date} # Run the scan or give up -if ! nmap -v -T4 -sV -iL "$hostlist" -oA "$cache" >/dev/null ; then +if ! nmap -v -T4 -sV --open -iL "$hostlist" -oA "$cache" >/dev/null ; then exit 1 fi |