Skip to content

Instantly share code, notes, and snippets.

@waffle2k
Created April 8, 2014 13:45
Show Gist options
  • Save waffle2k/10126346 to your computer and use it in GitHub Desktop.
Save waffle2k/10126346 to your computer and use it in GitHub Desktop.
Check a supplied host for the heartbleed extension
#!/bin/sh
echo -e '\n' | openssl s_client -connect $1:443 -crlf -tlsextdebug 2>&1| grep 'server extension "heartbeat" (id=15)' || echo safe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment