Created
December 10, 2019 09:31
-
-
Save hoodoer/2622de8679dc42b80162ab106295e3fc to your computer and use it in GitHub Desktop.
Tor Ghost auto IP switching with logging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
So use a simple watch -n 30 torghost switch | |
That'll get you regular new IP addresses. | |
To log the IP addresses isn't as clean, do this (make sure you proxy through burp, and have Burp configured to use Tor proxy) | |
watch -n 15 -t curl --proxy http://127.0.0.1:8080 -s ipinfo.io/ip >> torSourceIPs.txt | |
Due to weird formatting, you'll often not actually see those IP addresses if you cat the file, but they're there if you open it in sublime or something. | |
You can grep them out cleanly with this: | |
grep -E -o "([0-9]{1,3}[\.]){3}[0-9]{1,3}" torSourceIPs.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment