Lean, Mean, Linux-Only Terminal Beast
Rotates your IP like clockwork using the Tor network. Built in pure Bash — no bullshit, no bloated dependencies, just raw shell power.
GhostSwitch is for privacy, ethical hacking, and education. Don't use it for malicious purposes.
Automatically rotates your IP via Tor network with zero configuration headaches
Works globally via the ghostswitch command - accessible from anywhere in your terminal
Built 100% in Bash — no sucky scripts, no dependencies that mess things up
Go infinite mode or limit your switches with custom delay intervals
Sets up and tweaks Tor for you automatically - full uninstall restores everything
Full uninstall restores everything, including torrc - like it never existed
Requirements are handled automatically: Tor and curl (usually pre-installed)
git clone https://github.com/petherl/ghostswitch.git
cd ghostswitch
chmod +x install.sh ghostswitch.sh
bash install.sh
Hit [I] to install when prompted
ghostswitch
You're now in stealth mode!
Configure your browser to route traffic through Tor
SOCKS Host: 127.0.0.1
Port: 9050
Type: SOCKS v5
DNS: ✓ Proxy DNS via SOCKS v5
Visit: https://check.torproject.org
You should see: "Congratulations. This browser is configured to use Tor."
Simple command-line interface with interactive prompts
$ ghostswitch
1. Enter delay (seconds) between IP changes
2. Enter number of rotations (0 for infinite)
3. Press Ctrl+C when done
Complete removal with system restoration
bash install.sh
Select [U] to uninstall
• Removes all GhostSwitch files
• Restores original torrc
• Removes global command
GhostSwitch isn't for script kiddies.
Don't use it to mess with people, don't abuse bandwidth, and don't cry when your actions have consequences.
This tool is for privacy lovers, pen testers, researchers, and professionals who respect the craft.
If you suck at ethics, don't touch this repo.
Stars
Forks
Watchers
Releases