Skip to content

Instantly share code, notes, and snippets.


Christopher Weatherhead CJFWeatherhead

View GitHub Profile
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\?ip\=<yourip> | awk '{print $0" TOREX;"}' > /etc/nginx/includes/torexit.ips && service nginx restart`