Advanced zero-config dual-layer network anonymization wrapper (WARP + Tor) with Global VPN and Anti-Detect Engine.
Project description
CasperAC is an advanced, automated network anonymization CLI tool designed to wrap any terminal command (like curl, nmap, or wget) in a highly secure Dual-Layer (WARP + Tor) tunnel. It features a true Zero-Config Auto-Deploy engine that installs and configures its own VPN and proxy infrastructure automatically.
🌟 The Dual-Layer Privacy Architecture
CasperAC employs a state-of-the-art dual-layer network stack to ensure maximum privacy and prevent Deep Packet Inspection (DPI):
- Layer 1: Cloudflare WARP (WireGuard VPN)
- All your system traffic is encrypted and sent to Cloudflare's edge network.
- Why? Your local Internet Service Provider (ISP) or network administrator cannot see that you are using Tor. They only see a standard Cloudflare connection.
- Layer 2: The Onion Router (Tor)
- Inside the WARP tunnel, CasperAC routes your specific terminal command through the Tor network.
- Why? The Tor Entry Node sees Cloudflare's IP instead of your real IP. Finally, the target server sees a random Tor Exit Node IP.
Result: Your ISP doesn't know you use Tor, the Tor network doesn't know your real IP, and the target server doesn't know who you are.
✨ Features
- 🚀 Zero-Config Auto-Deploy: If Tor or Cloudflare WARP are not installed, CasperAC automatically downloads, installs, and configures them for you via system package managers (Homebrew/APT).
- 🛡️ Dual-Layer Security: Combines Cloudflare WARP with Tor for ISP-blind, exit-node-anonymized traffic.
- 🌍 Global VPN Mode: Instantly route your entire operating system (all browsers and apps) through the Tor network with a single command (
casperac global-on). - 🕵️♂️ Anti-Detect Engine: Intelligently evades bot-protection (like Cloudflare) by dynamically injecting realistic browser fingerprints (User-Agents, sec-ch-ua, Accept-Language) into terminal commands.
- 🔄 Dynamic IP Rotation: Effortlessly renew your Tor circuit with a single command to get a fresh IP address.
- 💻 Environment Management: Easily export or unset proxy environment variables for your current active shell session.
🚀 Usage
1. Status Check & Auto-Deploy
Check your network status. If Tor or WARP is missing, CasperAC will auto-deploy them.
casperac status
2. Command Proxying (Smart Wrapper)
Wrap any terminal command to automatically route it through Tor, with dynamic browser fingerprint injection.
casperac run -- curl ifconfig.me
Spoof Mobile Identity
casperac run --mobile -- curl ifconfig.me
3. Global VPN Mode (System-wide Tor)
Route your entire operating system (Safari, Chrome, Spotify, OS updates) through the Tor network. (Currently supported on macOS and Linux GNOME desktops).
casperac global-on
To disable and restore normal internet:
casperac global-off
4. Circuit Renewal
casperac renew
🚀 Installation
Prerequisites
- Python 3.8+
- Tor daemon installed and running locally on port 9050. Control port on 9051.
- Cloudflare WARP CLI (optional, but recommended for the dual-layer approach).
Setup via PyPI (Recommended)
pip install casperac
Setup from Source
git clone https://github.com/cagritas/casperac.git
cd casperac
pip install -e .
💻 Usage
# Check the status of your proxies
casperac status
# Run a specific command through the proxy chain
casperac run -- curl -I https://api.github.com/user
# Renew your Tor exit node
casperac renew
# Source proxy variables into your active shell session
eval $(casperac env-on)
# Revert proxy variables
eval $(casperac env-off)
🤝 Contributing
Contributions, issues and feature requests are welcome! Feel free to check issues page. You can also take a look at the contributing guide.
📝 License
Copyright © 2024. This project is MIT licensed.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file casperac-0.3.1.tar.gz.
File metadata
- Download URL: casperac-0.3.1.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d6c34d91507981218c78251b84da564b5fae69c6d983298b91e68f46dbcd6d7
|
|
| MD5 |
674efe9789e61174add70b6ab11dd058
|
|
| BLAKE2b-256 |
c4154560da81f29483dcebd9e751f6786cf3110254aaa7741efdadf3a7fc145f
|
File details
Details for the file casperac-0.3.1-py3-none-any.whl.
File metadata
- Download URL: casperac-0.3.1-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a38dee5308f911c6f804c76568e4e980c0e4378ae7387fdf1c8638b5fdf34825
|
|
| MD5 |
5f74872b432f4bc0766c52e1771c1206
|
|
| BLAKE2b-256 |
a1694e8a5dcbb342322c9687d1dc0150bf3baacdce3aec34b7e6d8c698f1a607
|