Skip to content

Commit 4370cb9

Browse files
committed
no-DNS fixes
Add equal sign parser for command line fix. Readjust help to not-square brackets as values are not optional (anymore)
1 parent 2a4de68 commit 4370cb9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

testssl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14945,7 +14945,7 @@ tuning / connect options (most also can be preset via environment variables):
1494514945
-6 also use IPv6. Works only with supporting OpenSSL version and IPv6 connectivity
1494614946
--ip <ip> a) tests the supplied <ip> v4 or v6 address instead of resolving host(s) in URI
1494714947
b) arg "one" means: just test the first DNS returns (useful for multiple IPs)
14948-
-n, --nodns [min|none] if "none": do not try any DNS lookups, "min" queries A, AAAA and MX records
14948+
-n, --nodns <min|none> if "none": do not try any DNS lookups, "min" queries A, AAAA and MX records
1494914949
--sneaky leave less traces in target logs: user agent, referer
1495014950

1495114951
output options (can also be preset via environment variables):
@@ -16665,7 +16665,7 @@ parse_cmd_line() {
1666516665
unset CMDLINE_IP
1666616666
fi
1666716667
;;
16668-
-n|--nodns)
16668+
-n|--nodns|-n=*|--nodns=*)
1666916669
NODNS="$(parse_opt_equal_sign "$1" "$2")"
1667016670
[[ $? -eq 0 ]] && shift
1667116671
if [[ "$NODNS" != none ]] && [[ "$NODNS" != min ]]; then

0 commit comments

Comments
 (0)