From 5d9671174e3cf00dfe30e8fc5cdc519606b2853d Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 25 Jan 2021 15:37:59 +0100 Subject: [PATCH] ssl-info --- bash/get-ssl-info.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 bash/get-ssl-info.sh diff --git a/bash/get-ssl-info.sh b/bash/get-ssl-info.sh new file mode 100644 index 0000000..2b9cbe1 --- /dev/null +++ b/bash/get-ssl-info.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# get some ssl info from foreign server + +# enumerate cipers +nmap --script ssl-enum-ciphers example.com -p 443 + +# make a connection with openssl +openssl s_client -connect example.com:443 < /dev/null + +# make a connection with curl how your browser would (without the webpage) +curl -vk https://example.com > /dev/null