diff --git a/cipherscan b/cipherscan index 00feb32..c112a31 100755 --- a/cipherscan +++ b/cipherscan @@ -15,7 +15,7 @@ DOBENCHMARK=0 BENCHMARKITER=30 TIMEOUTBIN=timeout if [ "${OS}" = "FreeBSD" ]; then - TIMEOUTBIN=gtimeout + TIMEOUTBIN=gtimeout fi OPENSSLBIN="$(dirname $0)/openssl" if [ -z "$CACERTS" ]; then @@ -66,7 +66,7 @@ Use one of the options below: -h | --help Shows this help text. -j | --json Output results in JSON format. -o | --openssl path/to/your/openssl binary you want to use. --s | --sni Activates SNI +-s | --sni Activates SNI -v | --verbose Increase verbosity. The rest of the arguments will be interpreted as openssl s_client argument. @@ -340,7 +340,7 @@ do OPENSSLBIN=$2 # You might want to check if you really got FILE shift 2 ;; - -s | --sni) + -s | --sni) SNISCAN=1 shift ;; @@ -409,7 +409,7 @@ debug "target: $TARGET" SNIPARAM="" if [ $SNISCAN -gt 0 ]; then - SNIPARAM="-servername ${HOST}" + SNIPARAM="-servername ${HOST}" fi SCLIENTARGS="$SNIPARAM $(sed -e s,${TEMPTARGET},,<<<"${@}")" debug "sclientargs: $SCLIENTARGS"