pkgβββββββ βββββββ βββββββ βββββββββββ ββββββββββββ
βββββββββββββββββββββββββ βββββββββββ βββββββββββββ
βββββββββββ βββββββββββ ββββββ βββββββ βββ
βββββββββββ βββββββββββ ββββββ βββββββ βββ
ββββββββββββββββββββ βββ βββββββββββ βββ βββ
βββββββ βββββββ βββ βββ βββββββββββ βββ βββ
G H O S T E N G I N E v4
Advanced Hybrid TOR Identity & IP Rotation System
π NS GAMMING β Termux-Tor-IP-Rotator
π» Ghost Engine v4 β Advanced Hybrid TOR Privacy Framework
π§ What Is Ghost Engine v4?
Ghost Engine v4 is a professional-grade TOR identity rotation framework designed to:
Route your traffic through the TOR network
Rotate IPs (exit nodes) automatically or on demand
Provide system-wide SOCKS5 + HTTP proxy access
Give you tools to test, debug, and monitor your anonymity
It is optimized for:
Android (Termux) β primary target
Linux (Debian / Ubuntu / Kali / Parrot / others)
macOS (Intel + Apple Silicon)
Windows (WSL2 environment)
All while staying:
Lightweight
Beginner-friendly
Script-driven and fast
π§βπ Who Is This For?
Intended User Suitable?
Cybersecurity Learner π’ YES OSINT / Researcher π’ YES Darknet / Network Analyst π’ YES Ethical Hacker / Pentester π’ YES Data Analyst / Tor Tester π’ YES Criminal Activity / Abuse π΄ NO
β Disclaimer: This tool is for education, research, privacy, and security. You are fully responsible for how you use it. Do NOT use it for illegal activities.
π Why Ghost Engine Exists
The internet tracks you using:
IP addresses & metadata
DNS requests
Browser fingerprinting
Web cookies & tracking pixels
Location-based routing
ISP-level logging & surveillance
Ghost Engine v4 focuses on one major pillar:
β¨ Your visible network identity (IP) becomes unpredictable and rotating.
Using TOR + ControlPort and a custom engine, it:
Builds TOR circuits
Rotates exit IPs periodically (as low as ~3 seconds)
Allows instant manual IP change
Routes apps, terminals, and browsers through TOR
β Technical Capabilities
Capability Status Detail
TOR SOCKS5 Proxy π’ 127.0.0.1:9050 HTTP Proxy via Privoxy π’ 127.0.0.1:8118 Auto IP Rotation π’ User-selectable interval (min ~3 sec) Manual NEWNYM Rotation π’ Instant TOR identity refresh IP History (in-memory) π’ Stored only in RAM (no disk persistence) System-wide Proxy Mode π’ Works via OS / browser proxy config TOR Status & Logs Panel π’ Inline debug and status view Shell History Cleaning π’ Optional history disable / cleanup curl / CLI Tools via TOR π’ Fully supported with proxy
π§° Requirements (All Platforms)
Common tools required:
git
tor
privoxy
curl
netcat-openbsd or netcat
On Termux, everything is installed with pkg. On Linux/WSL, everything is installed with apt. On macOS, install via Homebrew.
π Quick Start β Android (Termux) [Recommended]
β Termux must be installed from F-Droid (Play Store version is outdated and may break things). π₯ https://f-droid.org/en/packages/com.termux/
1οΈβ£ Update Termux
pkg update -y && pkg upgrade -y
2οΈβ£ Install Dependencies
pkg install git tor privoxy curl netcat-openbsd -y
If privoxy fails:
pkg install tur-repo -y && pkg install privoxy -y
3οΈβ£ Clone the Repository
git clone https://github.com/ns-gamming/Termux-Tor-IP-Rotator
cd Termux-Tor-IP-Rotator
4οΈβ£ Install Ghost Engine Globally
chmod +x install.sh
bash install.sh
This will:
Install needed configs
Set up shortcuts / aliases (like ns-ghost)
Prepare TOR + Privoxy configuration
5οΈβ£ Launch Ghost Engine
ns-ghost
Wait 10β20 seconds the first time β TOR needs a moment to build secure circuits.
π» Installation β Linux (Debian / Ubuntu / Kali / Parrot)
Manual Setup
sudo apt update
sudo apt install git tor privoxy curl netcat -y
git clone https://github.com/ns-gamming/Termux-Tor-IP-Rotator
cd Termux-Tor-IP-Rotator
chmod +x ns-ghost.sh
./ns-ghost.sh
β macOS (Intel + Apple Silicon)
Requirements: Homebrew
Install Homebrew if you donβt have it:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install Dependencies
brew install tor privoxy curl netcat
Clone & Run
git clone https://github.com/ns-gamming/Termux-Tor-IP-Rotator
cd Termux-Tor-IP-Rotator
chmod +x ns-ghost.sh
./ns-ghost.sh
πͺ Windows (WSL2 Only)
-
Enable WSL & Ubuntu from Microsoft Store
-
Open Ubuntu terminal (WSL2)
Then:
sudo apt update
sudo apt install git tor privoxy curl netcat -y
git clone https://github.com/ns-gamming/Termux-Tor-IP-Rotator
cd Termux-Tor-IP-Rotator
chmod +x ns-ghost.sh
./ns-ghost.sh
π€ Auto Debian/Ubuntu Installer (Optional but Cool)
For Debian/Ubuntu/Kali/Parrot/WSL2 users, you can create an auto installer:
Create a file called install_debian.sh:
nano install_debian.sh
Paste this inside:
#!/usr/bin/env bash set -e
echo "[*] Ghost Engine v4 β Auto Installer (Debian/Ubuntu)" echo
if ! command -v sudo >/dev/null 2>&1; then echo "[!] sudo not found. Please install sudo or run as root." exit 1 fi
echo "[*] Updating system..." sudo apt update -y && sudo apt upgrade -y
echo "[*] Installing dependencies (git, tor, privoxy, curl, netcat)..." sudo apt install -y git tor privoxy curl netcat || { echo "[!] Failed to install dependencies. Check your sources and try again." exit 1 }
if [ ! -d "$HOME/Termux-Tor-IP-Rotator" ]; then echo "[] Cloning repository..." git clone https://github.com/ns-gamming/Termux-Tor-IP-Rotator "$HOME/Termux-Tor-IP-Rotator" else echo "[] Repo already exists. Pulling latest changes..." cd "$HOME/Termux-Tor-IP-Rotator" git pull || true fi
cd "$HOME/Termux-Tor-IP-Rotator"
if [ -f "ns-ghost.sh" ]; then chmod +x ns-ghost.sh echo "[*] Running Ghost Engine..." ./ns-ghost.sh else echo "[!] ns-ghost.sh not found. Please check repository structure." exit 1 fi
echo echo "[β] Ghost Engine setup finished. Enjoy staying anonymous π»"
Save & exit, then:
chmod +x install_debian.sh
./install_debian.sh
This will:
Update your system
Install required packages
Clone/update the repo
Run ns-ghost.sh automatically
π Sample Ghost Engine Start Screen (ASCII UI)
When you start with ns-ghost, you can use something like this (example):
[+] Platform : Termux / Linux / macOS / WSL2 [+] TOR Status : BOOTSTRAPPING (building circuitsβ¦) [+] Proxy : SOCKS5 127.0.0.1:9050 | HTTP 127.0.0.1:8118 [+] Rotation : Auto (every 15 seconds)
Choose an option:
[1] Start / Restart TOR + Privoxy [2] Rotate Identity (NEWNYM) [3] Set Auto-Rotation Interval [4] Show Current IP (via TOR) [5] View TOR Log / Debug Panel [6] Stop & Cleanup [0] Exit
==================================================== Use this tool responsibly. You are being watched β but now they donβt know from where. π»
You can adapt your script to print a similar UI for professional vibes π
π Route Device / Apps Through TOR
Android Wi-Fi Proxy (System Level)
-
Open Settings β Wi-Fi
-
Long-press your network β Modify Network
-
Expand Advanced options β Proxy: Manual
Set:
Field Value
Hostname 127.0.0.1
Port 8118
β If Ghost Engine is OFF and proxy is still ON β internet may stop working. Disable proxy if not using Ghost Engine.
CLI Tools via TOR (Linux/Termux/macOS)
Example with curl:
curl --proxy http://127.0.0.1:8118 https://api64.ipify.org
Or using SOCKS5 via tor directly:
curl --socks5 127.0.0.1:9050 https://api64.ipify.org
β Verify That TOR Is Working
Terminal Verification
curl --proxy http://127.0.0.1:8118 https://api64.ipify.org
If that IP is different from your mobile/ISP IP β routed via TOR.
Browser Verification
Visit:
π https://check.torproject.org/
You should see a βYou are using Torβ style message.
π Troubleshooting & Error Handling
Problem Reason / Root Cause Fix
No internet after enabling proxy Proxy on but Ghost Engine / TOR is off Turn off proxy or restart ns-ghost TOR stuck at 5β20% bootstrapping Slow network / blocked relays Restart, wait longer, or use VPN + TOR Same IP repeating after rotation TOR reused same exit node Rotate again, increase interval, or restart TOR privoxy: not found in Termux Package not in default repo pkg install tur-repo -y && pkg install privoxy -y Chrome still showing real IP WebRTC leaks / bypassing proxy Use Firefox, disable WebRTC ns-ghost: command not found Install script not run / PATH not updated Re-run install.sh from repo root Permission denied running script No execute bit on script chmod +x scriptname.sh curl: (7) Failed to connect to 127.0.0.1 TOR/Privoxy not running or wrong port Ensure Ghost Engine is running on 8118/9050
π Security Tips (Important)
β Use Firefox instead of Chrome-based browsers β Disable WebRTC:
In Firefox: open about:config β set media.peerconnection.enabled to false
β Do not log into personal accounts via TOR β Avoid mixing real identity and anonymous sessions β Rotate IP frequently if doing sensitive research β Remember: TOR β 100% immunity Privacy = Tools + Your Behavior
π Updating & Uninstalling
Update Ghost Engine
cd ~/Termux-Tor-IP-Rotator && bash update.sh
Uninstall Ghost Engine
cd ~/Termux-Tor-IP-Rotator && bash uninstall.sh
β FAQ
Q: Does this make me completely anonymous? A: No tool can promise 100% anonymity. Ghost Engine improves your network privacy, especially IP-based tracking, but your behavior, browser settings, and accounts still matter.
Q: Can I use VPN + Ghost Engine? A: Yes. Typical safe stack is: You β VPN β TOR (Ghost Engine) β Internet. Just understand the trade-offs (latency, trust in VPN, etc).
Q: Will my ping be higher? A: Yes. TOR adds hops and encryption. This is a privacy tool, not meant for low-latency gaming.
Q: Can I use this for hacking illegal stuff? A: No. This is strictly for ethical, educational, and research purposes.
Ghost Engine v4 took time, passion, research, testing, and love to build.
If this tool protects your privacy, helps your learning journey, or simply inspires you β
consider supporting its development.
Your contribution:
- Helps maintain future updates π
- Funds new features, optimization & testing
- Supports open-source cybersecurity tools
- Motivates continued development π
No pressure, no expectation β
just appreciation if you choose to help.
| Cryptocurrency | Address |
|---|---|
| Bitcoin (BTC) | bc1q5zapes7euft2lrk7ylpwj90p8y4ctmadn285du |
| Solana (SOL) | HTgZhMCd5pf474macjkHhrrJmQhczGPfrGwNaRFL7Pqc |
| Ethereum (ETH) | 0x51c356fb219117e388b85c5fa734e6ae1a3f8df6 |
β¨ Even the smallest support means something β
not because of the moneyβ¦
but because it tells me:
"Someone out there believes in this project."
Thank you for being here β
and thank you for keeping the Ghost alive π»π
π€ Author & Contact
Built by: π Nishant Sarkar β aka NABORAJ SARKAR
π§ Email (Business): nishant.ns.business@gmail.com
π Website: https://nsgamming.xyz
π GitHub: https://github.com/ns-gamming
πΈ Instagram: https://instagram.com/nishant_sarkar__10k
π Twitter: https://x.com/NSGAMMING699
π· License
This project is licensed under the MIT License. You are free to use, modify, and redistribute β as long as proper credit is given.
PLEASE STAR β THE REPOSITORY
π Stay Anonymous
π Stay Secure
π Stay Ghost π»