Skip to content
Permalink
Browse files

Add cmdlines

* t / --starttls irc/ircs (which will fail later for now)
* --vulnerabilities : not yet the moment for renaming
  • Loading branch information...
drwetter committed May 3, 2019
1 parent bb5450e commit 2d719e5ebeb36005c56abb046e1428a91061ef5e
Showing with 3 additions and 3 deletions.
  1. +3 −3 testssl.sh
@@ -18705,8 +18705,8 @@ parse_cmd_line() {
STARTTLS_PROTOCOL="$(parse_opt_equal_sign "$1" "$2")"
[[ $? -eq 0 ]] && shift
case $STARTTLS_PROTOCOL in
ftp|smtp|lmtp|pop3|imap|xmpp|telnet|ldap|nntp|postgres|mysql) ;;
ftps|smtps|lmtps|pop3s|imaps|xmpps|telnets|ldaps|nntps) ;;
ftp|smtp|lmtp|pop3|imap|xmpp|telnet|ldap|irc|nntp|postgres|mysql) ;;
ftps|smtps|lmtps|pop3s|imaps|xmpps|telnets|ldaps|ircs|nntps) ;;
*) tmln_magenta "\nunrecognized STARTTLS protocol \"$1\", see help" 1>&2
help 1 ;;
esac
@@ -18739,7 +18739,7 @@ parse_cmd_line() {
-c|--client-simulation)
do_client_simulation=true
;;
-U|--vulnerable)
-U|--vulnerable|--vulnerabilities)
do_vulnerabilities=true
do_heartbleed="$OFFENSIVE"
do_ccs_injection="$OFFENSIVE"

0 comments on commit 2d719e5

Please sign in to comment.
You can’t perform that action at this time.