GhostSwitch is a lean, mean, Linux-only terminal beast that rotates your IP like clockwork using the Tor network.
Built in pure Bash — no bullshit, no bloated dependencies, just raw shell power.
! Use responsibly. GhostSwitch is for privacy, ethical hacking, and education.
If you’re planning to fuck around — don’t blame the tool when shit goes sideways.
- Automatically rotates your IP via Tor
- Works globally via the
ghostswitch
command - Sets up and tweaks Tor for you — zero config headaches
- Full uninstall restores everything, including
torrc
- Go infinite mode or limit your switches
- Built 100% in Bash — no sucky scripts, no dependencies that fuck things up
- Tor (
apt install tor
) — core engine for anonymous routing - curl — used for IP checks via SOCKS5 (usually pre-installed)
- Modifies
/etc/tor/torrc
to enable control and SOCKS port usage
git clone https://github.com/petherl/ghostswitch.git
cd ghostswitch
chmod +x install.sh ghostswitch.sh
bash install.sh
- Hit
[I]
to install - Done? Just type:
ghostswitch
You’re now in stealth mode.
- Open your browser’s network settings
- Set these:
SOCKS Host: 127.0.0.1
Port: 9050
Type: SOCKS v5
[✓] Proxy DNS via SOCKS v5
- Visit: https://check.torproject.org
You should see:
"Congratulations. This browser is configured to use Tor."
If not — you probably fucked something up. Rerun it and check again.
ghostswitch
Then just follow the prompts:
- Enter the delay (in seconds) between each IP change
- Enter how many times you want to rotate (use
0
for infinite mode) - Boom. Now you’re getting fucked by GhostSwitch.
Press Ctrl+C
when you’re done playing ghost.
Want to wipe everything like it never existed?
bash install.sh
- Select
[U]
to uninstall - This will destroy:
- All GhostSwitch files
- Any changes made to
torrc
(they’ll be restored) - The global
ghostswitch
command
Boom. You just fucked GhostSwitch out of existence.
GhostSwitch isn’t for script kiddies.
Don’t use it to fuck people over, don’t suck up bandwidth just to troll, and don’t cry when your ass gets traced.
This tool is for privacy lovers, pen testers, researchers, and real ones who respect the craft.
If you suck at ethics, don’t touch this repo.
- Author: petherl
- GitHub: petherl
GhostSwitch Because some of us don’t fuck with GUIs.