Skip to content

Instantly share code, notes, and snippets.

@espreto
Created March 14, 2015 01:49
Show Gist options
  • Save espreto/63a3d024f374be6ff543 to your computer and use it in GitHub Desktop.
Save espreto/63a3d024f374be6ff543 to your computer and use it in GitHub Desktop.
freak() { grep ' EXP-' &>/dev/null <(timeout 2 openssl s_client -connect $1:443 -cipher EXPORT 2>/dev/null) && echo PROBABL_VULNERABLE || echo PROBABLY_SECURE ;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment