Skip to content

Commit 38610a6

Browse files
author
w4ntun
committed
PR rebased discarding comments
1 parent 056d0a8 commit 38610a6

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

testssl.sh

-39
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,7 @@ TESTSSL_INSTALL_DIR="${TESTSSL_INSTALL_DIR:-""}" # If you run testssl.sh and it
197197
CA_BUNDLES_PATH="${CA_BUNDLES_PATH:-""}" # You can have your CA stores some place else
198198
EXPERIMENTAL=${EXPERIMENTAL:-false} # a development hook which allows us to disable code
199199
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-
=======
203200
DNS_VIA_PROXY=${DNS_VIA_PROXY:-true} # do DNS lookups via proxy. --ip=* reverses this
204-
>>>>>>> 283c66f (fixed DNS via Proxy)
205201
IGN_OCSP_PROXY=${IGN_OCSP_PROXY:-false} # Also when --proxy is supplied it is ignored when testing for revocation via OCSP via --phone-out
206202
HEADER_MAXSLEEP=${HEADER_MAXSLEEP:-5} # we wait this long before killing the process to retrieve a service banner / http header
207203
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() {
2299022986
datebanner() {
2299122987
local scan_time_f=""
2299222988
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-
=======
2300022989

2300122990
if [[ -n "PROXY" ]] && $DNS_VIA_PROXY;then
2300222991
node_banner="$NODE:$PORT"
2300322992
else
2300422993
node_banner="$NODEIP:$PORT ($NODE)"
23005-
>>>>>>> 283c66f (fixed DNS via Proxy)
2300622994
fi
2300722995

2300822996
if [[ "$1" =~ Done ]] ; then
@@ -24965,32 +24953,6 @@ lets_roll() {
2496524953
[[ -z "$NODE" ]] && parse_hn_port "${URI}" # NODE, URL_PATH, PORT, IPADDRs and IP46ADDR is set now
2496624954
prepare_logging
2496724955

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-
=======
2499424956
determine_ip_addresses
2499524957
if [[ $(count_words "$IPADDRs") -gt 1 ]]; then # we have more than one ipv4 address to check
2499624958
MULTIPLE_CHECKS=true
@@ -25009,7 +24971,6 @@ lets_roll() {
2500924971
NODEIP="$IPADDRs"
2501024972
lets_roll "${STARTTLS_PROTOCOL}"
2501124973
RET=$?
25012-
>>>>>>> 283c66f (fixed DNS via Proxy)
2501324974
fi
2501424975

2501524976
exit $RET

0 commit comments

Comments
 (0)