1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-05-21 07:36:03 +02:00

- early check to make sure people really use bash, see

This commit is contained in:
Dirk 2015-05-29 10:08:17 +02:00
parent 8b10dc9638
commit 2ac34c1424

@ -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
#