Tor docker: parameterized hostname and added command for onion hostname output
This commit is contained in:
Executable
+10
@@ -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 "*****"
|
||||
Reference in New Issue
Block a user