From 5afee0179731d1185ca118f6ff9fe344ff5f0908 Mon Sep 17 00:00:00 2001 From: David Cooper Date: Thu, 13 Apr 2017 14:28:39 -0400 Subject: [PATCH] No debugging text in HTML output This PR fixes two places in which output is being included in the HTML output, but shouldn't be. --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index e32259a..f08659e 100755 --- a/testssl.sh +++ b/testssl.sh @@ -8182,7 +8182,7 @@ sslv2_sockets() { debugme tmln_out "reading server hello... " if [[ "$DEBUG" -ge 4 ]]; then hexdump -C "$SOCK_REPLY_FILE" | head -6 - outln + tmln_out fi parse_sslv2_serverhello "$SOCK_REPLY_FILE" "$parse_complete" @@ -8729,7 +8729,7 @@ run_heartbleed(){ else out "likely " pr_svrty_critical "VULNERABLE (NOT ok)" - [[ $DEBUG -lt 3 ]] && out ", use debug >=3 to confirm" + [[ $DEBUG -lt 3 ]] && tm_out ", use debug >=3 to confirm" fileout "heartbleed" "CRITICAL" "Heartbleed: VULNERABLE $cve" "$cwe" "$hint" ret=1 fi