diff options
-rwxr-xr-x | src/open-ports.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/open-ports.sh b/src/open-ports.sh index c81290d..9bac83c 100755 --- a/src/open-ports.sh +++ b/src/open-ports.sh @@ -92,7 +92,7 @@ main() { check_tool nmap xmlstarlet parse_args "$@" - nmap ${nmap_args[@]+"${nmap_args[@]}"} -oX - -- "$host" | xmlstarlet sel -t -v '//port[state/@state="open"]/@portid' -nl + nmap -Pn ${nmap_args[@]+"${nmap_args[@]}"} -oX - -- "$host" | xmlstarlet sel -t -v '//port[state/@state="open"]/@portid' -nl } main "$@" |