torch-agent/docker-tor/torch-agent.wrapper.sh

11 lines
165 B
Bash
Raw Normal View History

2020-10-22 08:13:31 +00:00
#!/bin/bash
tor &
while ! curl -s --socks5 127.0.0.1:9050 'https://check.torproject.org/' | grep -qm1 Congratulations
do
sleep 0.5
2020-10-22 08:13:31 +00:00
done
torch-agent $1 $2 $3 $4