Skip to content

Instantly share code, notes, and snippets.

Avatar

Christopher Weatherhead CJFWeatherhead

View GitHub Profile
@CJFWeatherhead
CJFWeatherhead / crontab
Created Feb 16, 2018
Automatically redirect Tor traffic to onion (Hopefully efficiently as the if processing isn't intensive)
View crontab
##Get New Exit Node list ever 6 Hours
57 */6 * * * `curl https://check.torproject.org/cgi-bin/TorBulkExitList.py\?ip\=<yourip> | awk '{print $0" TOREX;"}' > /etc/nginx/includes/torexit.ips && service nginx restart`
You can’t perform that action at this time.