mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-07 09:10:57 +01:00
Merge pull request #2045 from dcooper16/fix_sub_cipherlists_30
Fix sub_cipherlists() in 3.0
This commit is contained in:
commit
f5bd5d3eac
@ -5630,7 +5630,7 @@ sub_cipherlists() {
|
|||||||
elif [[ -n "$7" ]]; then
|
elif [[ -n "$7" ]]; then
|
||||||
sslv2_sockets "$7" "true"
|
sslv2_sockets "$7" "true"
|
||||||
if [[ $? -eq 3 ]] && [[ "$V2_HELLO_CIPHERSPEC_LENGTH" -ne 0 ]]; then
|
if [[ $? -eq 3 ]] && [[ "$V2_HELLO_CIPHERSPEC_LENGTH" -ne 0 ]]; then
|
||||||
sslv2_cipherlist="$(strip_spaces "${6//,/}")"
|
sslv2_cipherlist="$(strip_spaces "${7//,/}")"
|
||||||
len=${#sslv2_cipherlist}
|
len=${#sslv2_cipherlist}
|
||||||
detected_ssl2_ciphers="$(grep "Supported cipher: " "$TEMPDIR/$NODEIP.parse_sslv2_serverhello.txt")"
|
detected_ssl2_ciphers="$(grep "Supported cipher: " "$TEMPDIR/$NODEIP.parse_sslv2_serverhello.txt")"
|
||||||
for (( i=0; i<len; i=i+6 )); do
|
for (( i=0; i<len; i=i+6 )); do
|
||||||
|
Loading…
Reference in New Issue
Block a user