TraceHawk IP Address Tracker and Logger by ARCHKHERT is a powerful Python-based tool designed for tracking and logging IP addresses in real time. It spins up a local HTTP server and uses Ngrok to expose the server over the internet, allowing anyone who clicks the link to be tracked instantly.
Perfect for ethical hacking, penetration testing, network monitoring, and education, TraceHawk provides geolocation data and prints the target's IP address as soon as the page is accessed.
- 🔗 Automatically generates Ngrok public URL for tracking
- 🌐 Logs IPs from incoming HTTP requests
- 📍 Retrieves detailed geolocation using ip-api.com
- 💻 Lightweight, portable, and command-line friendly
- 🔐 Authtoken prompt for secure Ngrok integration
- 🧵 Multi-threaded server for stable request handling
- 📦 Works on Arch Linux, Termux, and non-root Android setups (via Pyroid3)
📂 Follow these steps to install and run TraceHawk on Arch Linux (or any Linux distro).
git clone https://github.com/archkhertdev/TraceHawk.git
python -m venv venv
source venv/bin/activate
pip install requests
(Do this inside venv)
sudo pacman -S unzip curl -O https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-stable-linux-amd64.zip unzip ngrok-stable-linux-amd64.zip
sudo mv ngrok /usr/local/bin
(If you're having problems installing ngrok, watch some tutorials on YT or ask AI)
python ip_logger.py
-
Enter your Ngrok authtoken when prompted. (NOTE: You must create an account on ngrok and use your own API. IT IS FREE)
-
The tool will generate a public tracking link.
-
Send the link to your target (with permission).
-
When they open it, their IP + geolocation will be printed instantly.
-
Press CTRL+C to end the program and type
pkill ngrok
so you can use your API again
=== Python IP Logger with Ngrok === [?] Enter your Ngrok authtoken: [+] Share this link: https://abc123.ngrok.io
[+] Visitor IP: 203.0.113.42 { 'query': '203.0.113.42', 'country': 'United States', 'regionName': 'California', 'city': 'Los Angeles', 'isp': 'ExampleISP', ... }
This tool is provided for educational and authorized testing purposes only. Do not use it against individuals, websites, or networks without explicit permission. Using this tool on unauthorized targets may violate local laws and cybersecurity regulations.
Khert (ARCHKHERT) Ethical Hacker | Security Researcher | Arch Linux Enthusiast 🔗 GitHub: https://github.com/archkhertdev
“Hacking isn’t about breaking systems. It’s about breaking boundaries.” — ARCHKHERT