From d83aed83fdc6b4dcef2aeafaa41669261ab95a3d Mon Sep 17 00:00:00 2001 From: Dirk Date: Thu, 19 Jul 2018 14:09:19 +0200 Subject: [PATCH] server banner message polishing if empty --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 55d40b7..0203be6 100755 --- a/testssl.sh +++ b/testssl.sh @@ -2498,7 +2498,7 @@ run_server_banner() { if [[ $? -eq 0 ]]; then serverbanner=$(sed -e 's/^Server: //' -e 's/^server: //' $TMPFILE) if [[ "$serverbanner" == $'\n' ]] || [[ "$serverbanner" == $'\r' ]] || [[ "$serverbanner" == $'\n\r' ]] || [[ -z "$serverbanner" ]]; then - outln "banner exists but empty string" + outln "exists but empty string" fileout "$jsonID" "INFO" "Server banner is empty" else emphasize_stuff_in_headers "$serverbanner"