'sslchecker' ändern
Add options for: -c for check website ciphers with nmap -u update sslchecker with curl (download raw file from git and put it into path) -v show versions number
This commit is contained in:
parent
6cb08bef31
commit
2eef05814b
1 changed files with 16 additions and 0 deletions
16
sslchecker
16
sslchecker
|
|
@ -7,6 +7,9 @@ Options:
|
||||||
-f local file
|
-f local file
|
||||||
-h remote host
|
-h remote host
|
||||||
-p custome port
|
-p custome port
|
||||||
|
-c list ciphers
|
||||||
|
-u update sslchecker
|
||||||
|
-v show version
|
||||||
|
|
||||||
Exaple:
|
Exaple:
|
||||||
sslchecker -h letsencrypt.org
|
sslchecker -h letsencrypt.org
|
||||||
|
|
@ -30,6 +33,11 @@ while [ "$1" ]; do
|
||||||
shift
|
shift
|
||||||
port="$1"
|
port="$1"
|
||||||
;;
|
;;
|
||||||
|
-c)
|
||||||
|
shift
|
||||||
|
host="$1"
|
||||||
|
source="cipher"
|
||||||
|
;;
|
||||||
-u)
|
-u)
|
||||||
shift
|
shift
|
||||||
source="update"
|
source="update"
|
||||||
|
|
@ -109,3 +117,11 @@ fi
|
||||||
if [ "$source" == "version" ]; then
|
if [ "$source" == "version" ]; then
|
||||||
echo "Version 2020-05-07"
|
echo "Version 2020-05-07"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$source" == "cipher" ]; then
|
||||||
|
if [ -z "$port" ]; then
|
||||||
|
port="443"
|
||||||
|
fi
|
||||||
|
|
||||||
|
nmap --script ssl-enum-ciphers -p $port $host
|
||||||
|
fi
|
||||||
Loading…
Add table
Add a link
Reference in a new issue