ssl-info
This commit is contained in:
parent
6e5c55b0bf
commit
5d9671174e
11
bash/get-ssl-info.sh
Normal file
11
bash/get-ssl-info.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user