Merge pull request #1267 from drwetter/hexstream2cipher_fix

Don't include SSLv2 ciphers in hexstream2cipher.sh
This commit is contained in:
Dirk Wetter
2019-05-06 19:37:44 +02:00
committed by GitHub

View File

@ -16,7 +16,7 @@ for ((i=0; i<len ; i+=4)); do
echo -n ": ${hs:$i:4}"
grepstr="0x${hs:$i:2},0x${hs:$((i+2)):2}"
echo -n " --> $grepstr --> "
cip=$(grep -i ${grepstr} $mapfile | awk '{ print $3 }')
cip=$(grep -i -E "^ *${grepstr}" $mapfile | awk '{ print $3 }')
echo $cip
if "$first"; then
ciphers="$cip"