From d6556f562019f55c78764b0d092856cfaa436f64 Mon Sep 17 00:00:00 2001 From: Julien Vehent Date: Wed, 20 Nov 2013 10:47:23 -0500 Subject: [PATCH] Progress indicator --- CiphersScan.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CiphersScan.sh b/CiphersScan.sh index 7923ecc..1e0dee2 100755 --- a/CiphersScan.sh +++ b/CiphersScan.sh @@ -97,6 +97,7 @@ EOF # Connect to the target and retrieve the chosen cipher # recursively until the connection fails get_cipher_pref() { + echo -n '.' local ciphersuite="$1" local sslcommand="timeout $TIMEOUT $OPENSSLBIN s_client -connect $TARGET -cipher $ciphersuite" verbose "Connecting to '$TARGET' with ciphersuite '$ciphersuite'" @@ -140,7 +141,7 @@ results=() # Call to the recursive loop that retrieves the cipher preferences get_cipher_pref $CIPHERSUITE - +echo # Display the results ctr=1 for cipher in "${cipherspref[@]}"; do