mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-01 06:19:44 +01:00
Output changes
* add TLS_EMPTY_RENEGOTIATION_INFO_SCSV in screen output * remove trailing ":" to be sure no one copies it, see also #1440
This commit is contained in:
parent
58498583c9
commit
331b5cb750
@ -17,7 +17,11 @@ for ((i=0; i<len ; i+=4)); do
|
|||||||
grepstr="0x${hs:$i:2},0x${hs:$((i+2)):2}"
|
grepstr="0x${hs:$i:2},0x${hs:$((i+2)):2}"
|
||||||
echo -n " --> $grepstr --> "
|
echo -n " --> $grepstr --> "
|
||||||
cip=$(grep -i -E "^ *${grepstr}" $mapfile | awk '{ print $3 }')
|
cip=$(grep -i -E "^ *${grepstr}" $mapfile | awk '{ print $3 }')
|
||||||
echo $cip
|
if [[ $grepstr == 0x00,0xff ]]; then
|
||||||
|
echo TLS_EMPTY_RENEGOTIATION_INFO_SCSV
|
||||||
|
else
|
||||||
|
echo $cip
|
||||||
|
fi
|
||||||
if "$first"; then
|
if "$first"; then
|
||||||
ciphers="$cip"
|
ciphers="$cip"
|
||||||
first=false
|
first=false
|
||||||
@ -27,4 +31,4 @@ for ((i=0; i<len ; i+=4)); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo $ciphers
|
echo ${ciphers%:}
|
||||||
|
Loading…
Reference in New Issue
Block a user