TorghostNG
TorghostNG - Reroute your internet traffic anonymized through Tor. Rewritten from TorGhost with Python 3
Install / Use
/learn @Zopolis4/TorghostNGREADME
About TorghostNG
TorghostNG is a script that reroutes your computer's internet traffic through Tor. An unofficial GUI is available here.
Rewritten from TorGhost with Python 3.
TorghostNG was tested on:
- Kali Linux
- Manjaro
What's new in TorghostNG 2.1
- Rewrote readme
- Replaced broken links to old repo
Before you use TorghostNG
- BitTorrent traffic will be blocked by iptables.
- TorghostNG will disable IPv6 to prevent IPv6 leaks.
Installing TorghostNG
TorghostNG currently supports:
- GNU/Linux distros based on Arch Linux
- GNU/Linux distros based on Debian/Ubuntu
To install TorghostNG, open your terminal and enter these commands:
git clone https://github.com/Zopolis4/TorghostNG
cd TorghostNG
sudo python3 install.py
torghostng -h
Alternatively, you can use it without installation by downloading torghostng.py, then running it with python3 torghostng.py.
Help
OPTIONS:
-h, --help Show this help message and exit
-s, --start Start connecting to Tor
-x, --stop Stop connecting to Tor
-r, --renew Renew the current Tor circuit
-id COUNTRY ID Connect to Tor exit node of a specific country. Go to CountryCode.org to search country ID
-mac INTERFACE Randomly change MAC address. Use 'ifconfig' to show interface devices
-c, --checkip Check your current IPv4 address
--dns Use this to fix DNS when website address can't be resolved
-l, --language Change the display language. English is the default
--list Show the available languages list
-u, --update Check for update
--nodelay Disable delay time
You can combine multiple flags at the same time, such as:
torghostng -s -m INTERFACE: Changing MAC address before connectingtorghostng -c -m INTERFACE: Checking IP address and changing MAC address
How to update TorghostNG
Open Terminal and type torghostng -u with sudo to update TorghostNG, but it will download new TorghostNG to /root, because you're running it as root. If you don't like that, you can type git pull -f and sudo python3 install.py.
Notes before you use Tor
Tor can't help you completely anonymous, just almost:
- Tor’s Biggest Threat – Correlation Attack
- Is Tor Broken? How the NSA Is Working to De-Anonymize You When Browsing the Deep Web
- Use Traffic Analysis to Defeat TOR
It's recommended that you should use NoScript before before surfing the web with Tor. NoScript shall block JavaScript/Java/Flash scripts on websites to make sure they won't reveal your real identify.
And please
- Don't spam or perform DoS attacks with Tor. It is ineffective, you will just waste the time, money and bandwith of Tor volunteers.
- Don't torrent over Tor. If you want to keep anonymous while torrenting, use a no-logs VPN.
Bittorrent over Tor isn't a good idea
Not anonymous: attack reveals BitTorrent users on Tor network

Changelog
Version 2.1
- Rewrote readme
- Replaced broken links to old repo
Version 2.0
- Add a new language: German
- Change
langconf.txttolangconf - Some functions don't require ROOT to run anymore
- Fix "Check Tor connection..." loops
- Remove unneeded codes
- Fix bugs
Version 1.7
- Fix updating error
- Fix "Checking Tor connection" loop (by installing
curl)
Version 1.6
- Fix some bugs
- Faster Installation
Version 1.5
- Fix bugs of version 1.4
Version 1.4
- Support connecting to Tor with Privoxy
You can read how to use Privoxy together with Tor at Privoxy FAQ
Version 1.2
- Fix
update_commandsand others in torghostng.py - Chang a few things in
theme.py - Chang a few things in
install.py - Now you can change Tor circuit with
-r
Version 1.1
- Check your IPv6
- Change all "TOR" to "Tor"
- Block BitTorrent traffic
- Auto disable IPv6 before connecting to Tor
Screenshots of Torghost (Version 2.0)
- TorghostNG 2.0's installation

- TorghostNG 2.0 checking Tor status (non-root)

- TorghostNG 2.0 connecting to tor exit nodes in the US

- TorghostNG 2.0 connecting to Tor through Privoxy

- TorghostNG 2.0 in German

