Skip to content

Instantly share code, notes, and snippets.

@imran-parray
Created June 23, 2020 08:41
Show Gist options
  • Save imran-parray/09c3139e72a6b7f61e1cba9c1eac64bd to your computer and use it in GitHub Desktop.
Save imran-parray/09c3139e72a6b7f61e1cba9c1eac64bd to your computer and use it in GitHub Desktop.
cat temp.txt| while read line ; do echo "QUIT"|openssl s_client -connect $line:443 2>&1|grep 'server extension "heartbeat" (id=15)' || echo $line: safe; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment