Tor docker: parameterized hostname and added command for onion hostname output

This commit is contained in:
bj
2020-10-22 19:16:10 +02:00
parent ab0521b401
commit cbe45426ce
3 changed files with 21 additions and 7 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
while ! curl -s --socks5 127.0.0.1:9050 'https://check.torproject.org/' | grep -qm1 Congratulations
do
sleep 0.5
done
echo "*****"
echo "* Service Onion Hostname: $(cat /var/lib/tor/svc/hostname)"
echo "*****"