From 0fcddff1cd473b8039bc7e12e3c1af26f2255776 Mon Sep 17 00:00:00 2001 From: Dirk Date: Mon, 28 Aug 2023 16:08:04 +0200 Subject: [PATCH] Warn when using --fast ... in the terminal only for now. --- testssl.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testssl.sh b/testssl.sh index 9534f93..854f6da 100755 --- a/testssl.sh +++ b/testssl.sh @@ -23718,6 +23718,8 @@ parse_cmd_line() { grep -q 'BEGIN CERTIFICATE' "$fname" || fatal "\"$fname\" is not CA file in PEM format" $ERR_RESOURCE done + "$FAST" && pr_warning "\n'--fast' can have some undesired side effects thus it is not recommended to use anymore\n" + if "$do_starttls_injection" && [[ "$STARTTLS_PROTOCOL" =~ smtp ]]; then ((VULN_COUNT++)) fi