diff --git a/sslchecker b/sslchecker index c4dc924..a8d1b40 100644 --- a/sslchecker +++ b/sslchecker @@ -7,6 +7,9 @@ Options: -f local file -h remote host -p custome port + -c list ciphers + -u update sslchecker + -v show version Exaple: sslchecker -h letsencrypt.org @@ -30,6 +33,11 @@ while [ "$1" ]; do shift port="$1" ;; + -c) + shift + host="$1" + source="cipher" + ;; -u) shift source="update" @@ -109,3 +117,11 @@ fi if [ "$source" == "version" ]; then echo "Version 2020-05-07" fi + +if [ "$source" == "cipher" ]; then +if [ -z "$port" ]; then + port="443" +fi + + nmap --script ssl-enum-ciphers -p $port $host +fi \ No newline at end of file