I want to change below Bash script for using Tor and send request to a website with new IP address:
- Code: Select all
for i in {1..5}; do wget "URL" -O /dev/null; sleep 5; done
But, How can I understand that the Tor new identity established? If I use
- Code: Select all
# service tor restart
Then how can I sure Tor got the new IP addresses and then "wget" sending new request to the website with that new IP address?
Thank you.