From 2ac34c1424aec64cdfdb2c589d9474878c8f265f Mon Sep 17 00:00:00 2001 From: Dirk Date: Fri, 29 May 2015 10:08:17 +0200 Subject: [PATCH] - early check to make sure people really use bash, see #109 --- testssl.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testssl.sh b/testssl.sh index bc6d9e7..e687a78 100755 --- a/testssl.sh +++ b/testssl.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash # +[ -z "$BASH_VERSINFO" ] && echo "\n$(tput setaf 5) Please make sure you're using bash! Bye...$(tput sgr0)\n" && exit 1 +# # testssl.sh is a program for spotting weak SSL encryption, ciphers, version and some # vulnerablities or features #