mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-10 05:52:53 +02:00
minor putput cleanup for headers
This commit is contained in:
@ -915,8 +915,9 @@ detect_header() {
|
|||||||
HEADERVALUE=$(grep -Faiw "$key:" $HEADERFILE | sed 's/^.*://')
|
HEADERVALUE=$(grep -Faiw "$key:" $HEADERFILE | sed 's/^.*://')
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
pr_svrty_medium "misconfiguration: $nr headers "
|
pr_svrty_medium "misconfiguration: "
|
||||||
pr_italic "$key"
|
pr_italic "$key"
|
||||||
|
pr_svrty_medium " ${nr}x"
|
||||||
out " -- checking first one "
|
out " -- checking first one "
|
||||||
out "\n$spaces"
|
out "\n$spaces"
|
||||||
# first awk matches the key, second extracts the from the first line the value, be careful with quotes here!
|
# first awk matches the key, second extracts the from the first line the value, be careful with quotes here!
|
||||||
@ -8891,4 +8892,4 @@ fi
|
|||||||
exit $?
|
exit $?
|
||||||
|
|
||||||
|
|
||||||
# $Id: testssl.sh,v 1.555 2016/10/03 16:52:47 dirkw Exp $
|
# $Id: testssl.sh,v 1.556 2016/10/03 19:17:28 dirkw Exp $
|
||||||
|
Reference in New Issue
Block a user