no-DNS fixes
Add equal sign parser for command line fix. Readjust help to not-square brackets as values are not optional (anymore)
This commit is contained in:
parent
2a4de68c59
commit
4370cb9aa1
|
@ -14945,7 +14945,7 @@ tuning / connect options (most also can be preset via environment variables):
|
||||||
-6 also use IPv6. Works only with supporting OpenSSL version and IPv6 connectivity
|
-6 also use IPv6. Works only with supporting OpenSSL version and IPv6 connectivity
|
||||||
--ip <ip> a) tests the supplied <ip> v4 or v6 address instead of resolving host(s) in URI
|
--ip <ip> a) tests the supplied <ip> v4 or v6 address instead of resolving host(s) in URI
|
||||||
b) arg "one" means: just test the first DNS returns (useful for multiple IPs)
|
b) arg "one" means: just test the first DNS returns (useful for multiple IPs)
|
||||||
-n, --nodns [min|none] if "none": do not try any DNS lookups, "min" queries A, AAAA and MX records
|
-n, --nodns <min|none> if "none": do not try any DNS lookups, "min" queries A, AAAA and MX records
|
||||||
--sneaky leave less traces in target logs: user agent, referer
|
--sneaky leave less traces in target logs: user agent, referer
|
||||||
|
|
||||||
output options (can also be preset via environment variables):
|
output options (can also be preset via environment variables):
|
||||||
|
@ -16665,7 +16665,7 @@ parse_cmd_line() {
|
||||||
unset CMDLINE_IP
|
unset CMDLINE_IP
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
-n|--nodns)
|
-n|--nodns|-n=*|--nodns=*)
|
||||||
NODNS="$(parse_opt_equal_sign "$1" "$2")"
|
NODNS="$(parse_opt_equal_sign "$1" "$2")"
|
||||||
[[ $? -eq 0 ]] && shift
|
[[ $? -eq 0 ]] && shift
|
||||||
if [[ "$NODNS" != none ]] && [[ "$NODNS" != min ]]; then
|
if [[ "$NODNS" != none ]] && [[ "$NODNS" != min ]]; then
|
||||||
|
|
Loading…
Reference in New Issue