This script is a working example of how ruby can interact with Tor. It uses mechanize to grap the current ipaddress (from ifconfig.org/ip) and then signal new ip address to tor (using tor-control-protocol). Finally check if the ip adress has changed and display the result.
Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Latest commit a553d4f
Nov 25, 2014