diff --git a/testssl.sh b/testssl.sh index cbbacc1..247aef7 100755 --- a/testssl.sh +++ b/testssl.sh @@ -645,13 +645,15 @@ prettyprint_local() { if [ -z "$1" ]; then $OPENSSL ciphers -V 'ALL:COMPLEMENTOFALL:@STRENGTH' | while read hexcode dash ciph sslvers kx auth enc mac export ; do normalize_ciphercode $hexcode - neat_list $HEXC $ciph $kx $enc | strings + neat_list $HEXC $ciph $kx $enc + outln done else for arg in $(echo $@ | sed 's/,/ /g'); do $OPENSSL ciphers -V 'ALL:COMPLEMENTOFALL:@STRENGTH' | while read hexcode dash ciph sslvers kx auth enc mac export ; do normalize_ciphercode $hexcode - neat_list $HEXC $ciph $kx $enc | strings | grep -wai "$arg" + neat_list $HEXC $ciph $kx $enc | grep -wai "$arg" + outln done done fi @@ -775,7 +777,7 @@ test_just_one(){ # 1st check whether openssl has cipher or not $OPENSSL ciphers -V 'ALL:COMPLEMENTOFALL:@STRENGTH' | while read hexcode dash ciph sslvers kx auth enc mac export ; do normalize_ciphercode $hexcode - neat_list $HEXC $ciph $kx $enc | strings | grep -qwai "$arg" + neat_list $HEXC $ciph $kx $enc | grep -qwai "$arg" if [ $? -eq 0 ]; then $OPENSSL s_client -cipher $ciph $STARTTLS -connect $NODEIP:$PORT $SNI &>$TMPFILE $TMPFILE 2>/dev/null