mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Merge pull request #1267 from drwetter/hexstream2cipher_fix
Don't include SSLv2 ciphers in hexstream2cipher.sh
This commit is contained in:
commit
4cae781d98
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user