|
|
|
@ -277,7 +277,8 @@ tricorderFunc() {
|
|
|
|
|
if command -v openssl &> /dev/null; then
|
|
|
|
|
openssl s_client -quiet -connect tricorder.pi-hole.net:9998 2> /dev/null < /dev/stdin
|
|
|
|
|
else
|
|
|
|
|
echo "The debug log will be transmitted insecurely via plain-text"
|
|
|
|
|
echo "Your debug log will be transmitted unencrypted via plain-text"
|
|
|
|
|
echo "There is a possibility that this could be intercepted by a third party"
|
|
|
|
|
echo "If you wish to cancel, press Ctrl-C to exit within 10 seconds"
|
|
|
|
|
secs="10"
|
|
|
|
|
while [ "$secs" -gt 0 ]; do
|
|
|
|
@ -286,7 +287,7 @@ tricorderFunc() {
|
|
|
|
|
: $((secs--))
|
|
|
|
|
done
|
|
|
|
|
echo " "
|
|
|
|
|
nc tricorder.pi-hole.net 9999 < /dev/stdin < /dev/stdin
|
|
|
|
|
nc tricorder.pi-hole.net 9999 < /dev/stdin
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|