mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-02-27 10:01:16 +01:00
Don't include SSLv2 ciphers in hexstream2cipher.sh
This commit is contained in:
parent
33ece6858d
commit
13d3b7329b
@ -16,7 +16,7 @@ for ((i=0; i<len ; i+=4)); do
|
|||||||
echo -n ": ${hs:$i:4}"
|
echo -n ": ${hs:$i:4}"
|
||||||
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 ${grepstr} $mapfile | awk '{ print $3 }')
|
cip=$(grep -i -E "^ *${grepstr}" $mapfile | awk '{ print $3 }')
|
||||||
echo $cip
|
echo $cip
|
||||||
if "$first"; then
|
if "$first"; then
|
||||||
ciphers="$cip"
|
ciphers="$cip"
|
||||||
|
Loading…
Reference in New Issue
Block a user