TorGhost is an anonymization script designed to enhance online privacy by routing all internet traffic through the Tor network. This effectively masks your IP address and encrypts your data, making it difficult for anyone to track your online activities or identify your location.

Key features of TorGhost include:

  • SOCKS5 Proxy: TorGhost utilizes a SOCKS5 proxy to seamlessly redirect all internet traffic through the Tor network, ensuring anonymity and privacy.

  • DNS Leak Prevention: DNS requests, which can reveal your IP address, are also routed through Tor, preventing DNS leakage and further protecting your identity.

  • Unsafe Packet Disabling: TorGhost disables potentially compromising packets, such as ping requests, from exiting the system, preventing them from inadvertently revealing your IP address.

  • Ease of Use: TorGhost is a user-friendly script that can be easily installed and activated on Kali Linux systems.

TorGhost is a valuable tool for anyone seeking to enhance their online privacy and protect their identity while browsing the internet. By routing all traffic through the Tor network, TorGhost effectively anonymizes your activities and shields your personal information from prying eyes.



  1. Locate to folder where you would like to store it
  2. git clone
  3. cd torghost
  4. chmod +x
  5. ./
  6. Type torghost in terminal

Fix Python.h doesn’t found.

If you have an error during installation about Python.h isn’t found then go to folder with TorGhost, nano and edit Python version in the file on your current Python version. (just type python in terminal to determine your current python version)


As we can see in the picture above, TorGhost has the following args:

-s --start (Start Torghost)
-r --switch (Request new Tor exit node)
-x --stop (Stop Torghost)
-h --help (Help)
-u --update (Check for update)