tor-proxy/svc-hostname

9 lines
173 B
Plaintext
Raw Permalink Normal View History

2022-01-05 07:32:46 +00:00
#!/bin/sh
while ! curl -s -N --socks5 127.0.0.1:9050 'https://check.torproject.org/' | grep -qm1 Congratulations
do
sleep 0.5
done
echo $(cat /var/lib/tor/svc/hostname)