βοΈ By 0warn
Advanced Linux-based MAC/IP randomizer + Tor anonymizer
Protect your identity. Defend your network. Stay hidden like a ghost. π‘οΈ
'##::::'##::::'###::::'########::'########::::'##:::'##:'########::'####::'######::'##::::'##:'##::: ##::::'###::::
##:::: ##:::'## ##::: ##.... ##: ##.....::::: ##::'##:: ##.... ##:. ##::'##... ##: ##:::: ##: ###:: ##:::'## ##:::
##:::: ##::'##:. ##:: ##:::: ##: ##:::::::::: ##:'##::: ##:::: ##:: ##:: ##:::..:: ##:::: ##: ####: ##::'##:. ##::
#########:'##:::. ##: ########:: ######:::::: #####:::: ########::: ##::. ######:: #########: ## ## ##:'##:::. ##:
##.... ##: #########: ##.. ##::: ##...::::::: ##. ##::: ##.. ##:::: ##:::..... ##: ##.... ##: ##. ####: #########:
##:::: ##: ##.... ##: ##::. ##:: ##:::::::::: ##:. ##:: ##::. ##::: ##::'##::: ##: ##:::: ##: ##:. ###: ##.... ##:
##:::: ##: ##:::: ##: ##:::. ##: ########:::: ##::. ##: ##:::. ##:'####:. ######:: ##:::: ##: ##::. ##: ##:::: ##:
..:::::..::..:::::..::..:::::..::........:::::..::::..::..:::::..::....:::......:::..:::::..::..::::..::..:::::..::
π Ancient name. βοΈ Modern defense. π
HARE-KRISHNA is a terminal-based anonymization tool for Linux systems.
It combines MAC address spoofing, IP obfuscation, and Tor-based routing to make your device harder to track and fingerprint.
β
MAC Address randomizer
β
IP change via Tor (socks5h)
β
Start/Stop anonymization sessions
β
System-wide proxy with Tor
β
DNS Leak Protection (via iptables)
β
Robust Kill Switch (via iptables)
β
Configuration file for easy customization (local and system-wide)
β
Animated loading indicators for better user feedback
β
Enhanced colorful and interactive CLI output
β
Interactive menu for guided usage when no arguments are provided
β
Built-in log viewer
β
Works on Kali, Parrot, Arch, Ubuntu, Debian, and more
β
Failsafe rollback on update failure
β
Clean CLI interface with banner, help, and status report
git clone https://github.com/0warn/Hare-Krishna.git
cd Hare-Krishna
chmod +x setup.sh
sudo ./setup.shThe setup.sh script will install necessary dependencies, copy the hare-krishna executable to /usr/local/bin, and place the configuration file hare-krishna.conf into /etc/hare-krishna/.
β‘οΈ After setup, run the tool via:
sudo hare-krishna -h/--helpTo run the tool interactively with a menu:
sudo ./hare-krishna.shOr use command-line arguments:
sudo ./hare-krishna.sh -st/--start # Start anonymization
sudo ./hare-krishna.sh -sp/--stop # Stop and restore original state
sudo ./hare-krishna.sh -cm -m XX:XX:XX:XX:XX:XX/--changemac XX:XX:XX:XX:XX:XX # Change MAC manually
sudo ./hare-krishna.sh -cp/--changeip # Change IP via Tor
sudo ./hare-krishna.sh -ss/--status # Show anonymization status
sudo ./hare-krishna.sh --cip/--checkip # To show your tor ip address
sudo ./hare-krishna.sh -l/--logs # View logs
sudo ./hare-krishna.sh -v/--version # Show tool version
sudo ./hare-kirhsna.sh -a/--auto [INTERVAL_SECONDS] # Auto change IP (and MAC if configured) at specified intervals (default: 300 seconds)| Flag | Description |
|---|---|
-st, --start |
Start anonymization |
-sp, --stop |
Stop and restore |
-cm -m, --changemac |
Change MAC to custom address |
-cp, --changeip |
Change IP (restart Tor) |
-ss, --status |
Show status |
-l, --logs |
View log history |
-cip, --checkip |
To see tor ip address |
-v, --version |
Show current version |
-d, --debug |
Enable debug output |
-h, --help |
Help / usage guide |
-a, --auto |
Auto change IP (and MAC if configured) at specified intervals (default: 300 seconds) |
HARE-KRISHNA can be configured using the hare-krishna.conf file. The script first checks for hare-krishna.conf in the current working directory. If found, it uses that local configuration. Otherwise, it falls back to the system-wide configuration file located at /etc/hare-krishna/hare-krishna.conf (which is installed by setup.sh). This allows for both per-project custom configurations and a global setup.
Default Configuration (example content, usually found at /etc/hare-krishna/hare-krishna.conf or in your local directory):
# HARE-KRISHNA Configuration File
# ----------------------------------
# Default network interface to use. Leave empty to auto-detect.
# Example: INTERFACE="eth0"
INTERFACE=""
# Tor SOCKS proxy port
TOR_PORT="9050"
# Tor DNS port (used for DNS leak protection)
DNS_PORT="5353"
# Log file path
LOG_FILE="/var/log/harekrishna.log"
# State file path
STATE_FILE="/tmp/harekrishna.state"
- Kali Linux
- Parrot os
- Ubuntu os
- Arch Linux
- Athena os
- Linux Mint
- Garuda Linux
Always run as root or with sudo, and make sure to:
- Trust the Tor network
- Understand your legal responsibilities
- Use in a controlled or ethical environment
- The tool now includes a Robust Kill Switch and DNS Leak Protection via
iptablesto further enhance anonymity and prevent accidental leaks.
-
FOR SYSTEM WIDE TOR ROUTING-> Go tosettings/control center>Network> Look forproxy>turn onif it is off by defult and switch tomanual> Add127.0.0.1at socks host and add9050on port > Save it > Your system now run ontor. -
FOR BROWSER ONLY-> Open your favourite browser > Go tosettings> Search fornetwork> There you can see aNetwork Settings> Open it > Switch toManual proxy configuration> Add127.0.0.1and port9050onSOCKS Hostonly > chooseSOCKS v4&SOCKS v5both > Save it by clicking onOKbutton > Now you are ready to go.
- Now if you want stop this then just
turn off proxy on your settings& for browser switch toUse system proxy settings
Note - Just a reminder when you set Proxy system wide then if you select with your setting or control center then if you choose on your browser Use system proxy settings this setting on your network setting your browser also then use tor network.
| Issue | Solution |
|---|---|
Tor failed to start |
sudo systemctl restart tor |
MAC not changing |
Ensure interface is down during change |
No internet after start |
Check DNS leaks or firewall rules. The new kill switch feature might also be a reason. |
proxy-setting |
Make sure you fix your browser and system proxy setting to use it. |
Pull requests, improvements, and suggestions are always welcome.
π§ Author: 0warn
π GitHub: 0warn
π Inspired by ancient wisdom, coded for modern defense.
This project is licensed under the MIT License.
Feel free to modify, share, and use with credit.
βHare Krishna Hare Krishna, Krishna Krishna Hare Hare
Hare Rama Hare Rama, Rama Rama Hare Hare.β
β Chant for liberation, now protecting your packets.