mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-07 17:20:57 +01:00
Add cmdlines
* t / --starttls irc/ircs (which will fail later for now) * --vulnerabilities : not yet the moment for renaming
This commit is contained in:
parent
bb5450e3f5
commit
2d719e5ebe
@ -18705,8 +18705,8 @@ parse_cmd_line() {
|
|||||||
STARTTLS_PROTOCOL="$(parse_opt_equal_sign "$1" "$2")"
|
STARTTLS_PROTOCOL="$(parse_opt_equal_sign "$1" "$2")"
|
||||||
[[ $? -eq 0 ]] && shift
|
[[ $? -eq 0 ]] && shift
|
||||||
case $STARTTLS_PROTOCOL in
|
case $STARTTLS_PROTOCOL in
|
||||||
ftp|smtp|lmtp|pop3|imap|xmpp|telnet|ldap|nntp|postgres|mysql) ;;
|
ftp|smtp|lmtp|pop3|imap|xmpp|telnet|ldap|irc|nntp|postgres|mysql) ;;
|
||||||
ftps|smtps|lmtps|pop3s|imaps|xmpps|telnets|ldaps|nntps) ;;
|
ftps|smtps|lmtps|pop3s|imaps|xmpps|telnets|ldaps|ircs|nntps) ;;
|
||||||
*) tmln_magenta "\nunrecognized STARTTLS protocol \"$1\", see help" 1>&2
|
*) tmln_magenta "\nunrecognized STARTTLS protocol \"$1\", see help" 1>&2
|
||||||
help 1 ;;
|
help 1 ;;
|
||||||
esac
|
esac
|
||||||
@ -18739,7 +18739,7 @@ parse_cmd_line() {
|
|||||||
-c|--client-simulation)
|
-c|--client-simulation)
|
||||||
do_client_simulation=true
|
do_client_simulation=true
|
||||||
;;
|
;;
|
||||||
-U|--vulnerable)
|
-U|--vulnerable|--vulnerabilities)
|
||||||
do_vulnerabilities=true
|
do_vulnerabilities=true
|
||||||
do_heartbleed="$OFFENSIVE"
|
do_heartbleed="$OFFENSIVE"
|
||||||
do_ccs_injection="$OFFENSIVE"
|
do_ccs_injection="$OFFENSIVE"
|
||||||
|
Loading…
Reference in New Issue
Block a user