Skip to content

Commit

Permalink
Warn when using --fast
Browse files Browse the repository at this point in the history
... in the terminal only for now.
  • Loading branch information
drwetter committed Aug 28, 2023
1 parent d196751 commit 0fcddff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0fcddff

Please sign in to comment.