bashrc & zshrc: serversslciphers

closes #60
This commit is contained in:
Aminda Suomalainen 2015-02-09 13:54:42 +02:00
parent c3e3c66de5
commit 22f7b3570d
2 changed files with 10 additions and 0 deletions

View File

@ -875,6 +875,11 @@ sslcertfp () {
cat $1 | openssl x509 -sha256 -fingerprint -noout
}
# Usage: serversslciphers hostname port
serversslciphers() {
nmap $1 -p $2 --script +ssl-enum-ciphers
}
# .custom
if [ -f ~/.custom ]; then
source ~/.custom

View File

@ -853,6 +853,11 @@ sslcertfp () {
cat $1 | openssl x509 -sha256 -fingerprint -noout
}
# Usage: serversslciphers hostname port
serversslciphers() {
nmap $1 -p $2 --script +ssl-enum-ciphers
}
# Source files for miscannellious modifications.
# .custom