diff --git a/rc/bashrc b/rc/bashrc index 24284abc..528f606c 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -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 diff --git a/rc/zshrc b/rc/zshrc index 4d6da0b4..5c1a7bbb 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -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