From 80ce6dd23c9a2f6773277ddd1b9a03bac41492ad Mon Sep 17 00:00:00 2001 From: Bob Saska Date: Fri, 30 Nov 2012 09:20:17 -0600 Subject: Added script that retrieves current TLS fingerprint Needs openssl. Closes #325. --- contrib/tls_fingerprint.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 contrib/tls_fingerprint.sh diff --git a/contrib/tls_fingerprint.sh b/contrib/tls_fingerprint.sh new file mode 100755 index 0000000..e67ab48 --- /dev/null +++ b/contrib/tls_fingerprint.sh @@ -0,0 +1,9 @@ +#!/bin/sh +## +## A simple little shell script that will return the current +## fingerprint on the SSL certificate. It's crude but works :D +## +## Author: Bob Saska (r35krag0th) + +openssl s_client -connect tuner.pandora.com:443 < /dev/null 2> /dev/null | \ + openssl x509 -noout -fingerprint | tr -d ':' | cut -d'=' -f2 -- cgit v1.2.3