@@ -197,11 +197,7 @@ TESTSSL_INSTALL_DIR="${TESTSSL_INSTALL_DIR:-""}" # If you run testssl.sh and it
197
197
CA_BUNDLES_PATH="${CA_BUNDLES_PATH:-""}" # You can have your CA stores some place else
198
198
EXPERIMENTAL=${EXPERIMENTAL:-false} # a development hook which allows us to disable code
199
199
PROXY_WAIT=${PROXY_WAIT:-20} # waiting at max 20 seconds for socket reply through proxy
200
- <<<<<<< HEAD
201
- DNS_VIA_PROXY=${DNS_VIA_PROXY:-false} # do DNS lookups via proxy. --ip=proxy reverses this
202
- =======
203
200
DNS_VIA_PROXY=${DNS_VIA_PROXY:-true} # do DNS lookups via proxy. --ip=* reverses this
204
- >>>>>>> 283c66f (fixed DNS via Proxy)
205
201
IGN_OCSP_PROXY=${IGN_OCSP_PROXY:-false} # Also when --proxy is supplied it is ignored when testing for revocation via OCSP via --phone-out
206
202
HEADER_MAXSLEEP=${HEADER_MAXSLEEP:-5} # we wait this long before killing the process to retrieve a service banner / http header
207
203
MAX_SOCKET_FAIL=${MAX_SOCKET_FAIL:-2} # If this many failures for TCP socket connects are reached we terminate
@@ -22990,19 +22986,11 @@ display_rdns_etc() {
22990
22986
datebanner() {
22991
22987
local scan_time_f=""
22992
22988
local node_banner=""
22993
- <<<<<<< HEAD
22994
-
22995
- if [[ -n "$PROXY" ]] && "$DNS_VIA_PROXY"; then
22996
- node_banner="$NODE:$PORT"
22997
- else
22998
- node_banner="$NODEIP:$PORT ($NODE)"
22999
- =======
23000
22989
23001
22990
if [[ -n "PROXY" ]] && $DNS_VIA_PROXY;then
23002
22991
node_banner="$NODE:$PORT"
23003
22992
else
23004
22993
node_banner="$NODEIP:$PORT ($NODE)"
23005
- >>>>>>> 283c66f (fixed DNS via Proxy)
23006
22994
fi
23007
22995
23008
22996
if [[ "$1" =~ Done ]] ; then
@@ -24965,32 +24953,6 @@ lets_roll() {
24965
24953
[[ -z "$NODE" ]] && parse_hn_port "${URI}" # NODE, URL_PATH, PORT, IPADDRs and IP46ADDR is set now
24966
24954
prepare_logging
24967
24955
24968
- <<<<<<< HEAD
24969
- if [[ -n "$PROXY" ]] && $DNS_VIA_PROXY; then
24970
- NODEIP="$NODE"
24971
- lets_roll "${STARTTLS_PROTOCOL}"
24972
- RET=$?
24973
- else
24974
- determine_ip_addresses
24975
- if [[ $(count_words "$IPADDRs") -gt 1 ]]; then # we have more than one ipv4 address to check
24976
- MULTIPLE_CHECKS=true
24977
- pr_bold "Testing all IPv4 addresses (port $PORT): "; outln "$IPADDRs"
24978
- for ip in $IPADDRs; do
24979
- draw_line "-" $((TERM_WIDTH * 2 / 3))
24980
- outln
24981
- NODEIP="$ip"
24982
- lets_roll "${STARTTLS_PROTOCOL}"
24983
- RET=$((RET + $?)) # RET value per IP address
24984
- done
24985
- draw_line "-" $((TERM_WIDTH * 2 / 3))
24986
- outln
24987
- pr_bold "Done testing now all IP addresses (on port $PORT): "; outln "$IPADDRs"
24988
- else # Just 1x ip4v to check, applies also if CMDLINE_IP was supplied
24989
- NODEIP="$IPADDRs"
24990
- lets_roll "${STARTTLS_PROTOCOL}"
24991
- RET=$?
24992
- fi
24993
- =======
24994
24956
determine_ip_addresses
24995
24957
if [[ $(count_words "$IPADDRs") -gt 1 ]]; then # we have more than one ipv4 address to check
24996
24958
MULTIPLE_CHECKS=true
@@ -25009,7 +24971,6 @@ lets_roll() {
25009
24971
NODEIP="$IPADDRs"
25010
24972
lets_roll "${STARTTLS_PROTOCOL}"
25011
24973
RET=$?
25012
- >>>>>>> 283c66f (fixed DNS via Proxy)
25013
24974
fi
25014
24975
25015
24976
exit $RET
0 commit comments