summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtor-exit-ssl-check4
1 files changed, 2 insertions, 2 deletions
diff --git a/tor-exit-ssl-check b/tor-exit-ssl-check
index c03aced..0c69dc3 100755
--- a/tor-exit-ssl-check
+++ b/tor-exit-ssl-check
@@ -158,7 +158,7 @@ for ((i=0; i < ${#targets[@]}; i++)); do
[ -n "$cachedir" ] && cp "$tmpdir/cert-direct-$i" "$cachedir/tesc3-$host"
fi
- egrep -v '(Session-ID|Master-Key|Start Time|SSL handshake has read):' < "$tmpdir/cert-direct-$i" > "$tmpdir/cert-direct-$i.filtered"
+ egrep -v '(Session-ID:|Master-Key:|Start Time:|SSL handshake has read)' < "$tmpdir/cert-direct-$i" > "$tmpdir/cert-direct-$i.filtered"
[ "$verbose" = 0 ] || echo "===="
done
@@ -213,7 +213,7 @@ while : ; do
[ "$verbose" = 0 ] || echo "Via $server to $host:"
TORSOCKS_CONF_FILE="$tmpdir/torsocks.conf" torify openssl s_client -no_ticket -showcerts -connect "$host" < /dev/null 2>&1 | eatdata "$tmpdir/cert-tor-$i"
- egrep -v '(Session-ID|Master-Key|Start Time|SSL handshake has read):' < "$tmpdir/cert-tor-$i" > "$tmpdir/cert-tor-$i.filtered"
+ egrep -v '(Session-ID:|Master-Key:|Start Time:|SSL handshake has read)' < "$tmpdir/cert-tor-$i" > "$tmpdir/cert-tor-$i.filtered"
if diff "$tmpdir/cert-tor-$i.filtered" "$tmpdir/cert-direct-$i.filtered" > /dev/null; then
echo "RESULT[$host]: $server: No real differences."