Skip to content

Instantly share code, notes, and snippets.

@sebva
Created December 3, 2018 11:20
Show Gist options
  • Save sebva/2356e4577da511289471ba0c0e3364f8 to your computer and use it in GitHub Desktop.
Save sebva/2356e4577da511289471ba0c0e3364f8 to your computer and use it in GitHub Desktop.
TLS ping script
#!/bin/sh
echo QUIT | busybox timeout -t 1 openssl s_client -brief -connect "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment