For this program it'snecessary install in a one Linux distribution (in this case the author has usedLinux Mind) the next tools:
-Tor
-Stem:is a Python controllerlibrary for tor.
-Privoxy:is a non-caching webproxy with advanced filtering capabilities for enhancing privacy, modifying webpage data and HTTP headers, controlling access, and removing ads and otherobnoxious Internet junk. Privoxy has a flexible configuration and can becustomized to suit individual needs and tastes. It has application for bothstand-alone systems and multi-user networks.
Tor
Install Tor.
the socks listener is on port9050.
Next, do the following:
·Enable theControlPort listener for Tor to listen on port 9051, as this is the port towhich Tor will listen for any communication from applications talking to theTor controller.
·Hash a newpassword that prevents random access to the port by outside agents.
·Implementcookie authentication as well.
You can create a hashedpassword out of your password using:
In this case i put1234proof password. The hashpassword generated is:
Then, update the/etc/tor/torrc with the port, hashed password, and cookie authentication.
Restart Tor again to theconfiguration changes are applied.
if you have any problems, youcan enable control port using --controlport flag as follows:
python-stem
Installpython-stemwhich is aPython-based module used to interact with the Tor Controller, letting us sendand receive commands to and from the Tor Control port programmatically.
privoxy
Tor itself is not a httpproxy. So in order to get access to the Tor Network, useprivoxyas an http-proxy thoughsocks5.
Installprivoxyvia the followingcommand:
Now, tellprivoxyto use TOR by routingall traffic through the SOCKS servers at localhost port 9050.
and enableforward-socks5as follows:
Restartprivoxyafter making the changeto the configuration file.
领取专属 10元无门槛券
私享最新 技术干货