pentesting, updated
testssl.sh
testssl.sh: checks a server's TLS/SSL configuration, certificate, ciphers and known vulnerabilities in one pass.
What it’s for
The standard tool for auditing a server’s TLS setup: protocol versions, ciphers, certificate and known CVEs (Heartbleed, POODLE, BREACH, …).
Install
git clone --depth 1 https://github.com/drwetter/testssl.sh.git
cd testssl.sh && ./testssl.sh --help
Common commands
./testssl.sh example.com # full check against port 443
./testssl.sh example.com:8443 # non-standard port
./testssl.sh --fast example.com # skip the slower cipher-by-cipher tests
./testssl.sh --vulnerable example.com # only the known-vulnerability checks
./testssl.sh --protocols example.com # only supported TLS/SSL versions
./testssl.sh --jsonfile out.json example.com # machine-readable output
Notes
A BREACH warning needs manual confirmation: it only applies if the response reflects a secret into a compressed body — most apps are not actually exploitable even when the flag lights up.