nandan-desai-extras / TorGhost

TorGhost redirects all your internet traffic through SOCKS5 Tor proxy.
GNU General Public License v3.0
65 stars 15 forks source link
proxy tor

TorGhost

GitHub release License: GPL-3.0

TorGhost redirects all your internet traffic through SOCKS5 Tor proxy. DNS requests are also redirected via tor, thus preventing DNS leaks.

Caution!

This project was built independently and is not affiliated with the Tor Project. Use TorGhost only if you want to simply bypass some restrictions or other casual stuff. For more anonymity, use Tails, Tor Browser etc. TorGhost is not suitable if you are looking for complete or near-complete anonymity.

Recommended way to install TorGhost

git clone https://github.com/databurn-in/TorGhost.git

cd TorGhost

sudo chmod +x build.sh

sudo ./build.sh

To uninstall TorGhost:

sudo ./uninstall.sh

Usage

To start Tor:

sudo torghost -a

To start Tor with specific countries as exit nodes:

sudo torghost -a -c us,ch

Countries should be mentioned by their country codes. You can find all the country codes here. When mentioning multiple countries, the country codes need to be comma-separated.

To stop Tor:

sudo torghost -x

To get your IP address and Tor connectivity status:

sudo torghost -i

Install new updates:

sudo torghost -u

About this project

This project is a fork of this project. The original project had privacy issues as described in this thread. This project attempts to solve those issues. And also adds some new features.

The original project was not confirming whether the user is actually connected to Tor or not after the user runs sudo torghost -a. This project confirms Tor connectivity by checking https://check.torproject.org (it is the official website for Tor project) and gives you a message with a desktop notification. If something goes wrong in that whole process and if user couldn't connect to Tor, then the whole process will be rolled back safely and a caution message will be displayed in the terminal.

Issue with this project

As this TorGhost pings https://check.torproject.org to confirm Tor connectivity, any adversary (like the government or your ISP) can figure out that you are using this version of TorGhost just by monitoring your traffic to https://check.torproject.org domain. So, if your goal is to stay completely anonymous, then TorGhost is not for you. Also, it takes a lot more than just a simple script to make yourself anonymous on the internet.

Donate to Tor!

If you are a regular user of Tor, then please consider donating to the them!