A sophisticated URL-based tracking and fingerprinting system with bot detection, endpoint management, and advanced obfuscation capabilities.
Stealth Fingerprinter (SF) is a web-based platform that enables users to create trackable URLs with intelligent visitor differentiation. The system automatically distinguishes between human visitors and automated bots, serving tailored responses while collecting comprehensive fingerprint data for analytics purposes.
- Tracking Endpoints: Generate unique URLs that log every visit with detailed metadata
- Bot Detection: Automatically identifies and categorizes bot traffic using user-agent pattern matching
- Visitor Fingerprinting: Collects browser, screen, WebGL, audio, and font fingerprints via JavaScript
- Dual Behavior System: Configurable responses for bots and real users
| Behavior | Description |
|---|---|
| Custom Meta Tags | Display user-defined HTML meta tags to bots |
| Display Image | Show an image to bots (upload or URL) |
| Mimic Website | Fetch and display meta tags from any target website |
| Redirect | Forward bots to a custom URL or about:blank |
| Do Nothing | Treat bots as normal visitors and show standard response |
| Behavior | Description |
|---|---|
| Display Image | Show an image to human visitors |
| Redirect | Forward visitors to a custom URL or about:blank |
| Alert | Display a JavaScript alert with custom message |
Create multiple endpoints with identical behavior but different tracking aliases:
- Generate unique endpoints for different campaigns or partners
- Identify traffic sources in the dashboard
- Example:
campaign1, friend, partner
- Hostname Percent-Hex Encoding: Encode characters in the hostname using percent-hex notation
- Dot Percent-Hex Encoding: Encode dots separating hostname labels as
%2e - Homoglyph Replacement: Replace protocol characters with visually identical Unicode lookalikes to bypass automated filters
- Redirect-Based: Wrap your URL in known redirectors (Google, Facebook)
- Userinfo-Based: Abuse userinfo component to associate with trusted domains
- Visit Statistics: Real-time counters for total, bot, and human visits
- Endpoint Management: Create, view, and delete tracking endpoints
- Detailed Visit Logs:
- IP address with external lookup integration
- Browser, operating system, and device detection
- Full request headers
- Complete JavaScript fingerprinting data
- Timestamp with UTC timezone
- Advanced Filtering:
- Regular expression filtering
- Hide bots toggle
- Pagination with adjustable results per page
- Bulk Operations: Delete multiple visits simultaneously
- Python 3.11 or higher
- Docker (Optional)
- Clone the repository:
git clone https://github.com/hXR16F/stealth-fingerprinter
cd stealth-fingerprinter
- Create and activate a virtual environment:
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run: For development and testing purposes, use the built-in Flask development server:
python app.py
For production deployments, use Gunicorn, a production-grade WSGI HTTP server:
gunicorn --bind 0.0.0.0:5000 app:app
- Build the Docker image:
docker build -t stealth-fingerprinter .
- Run the container:
docker run -d --name sf-app -p 5000:5000 -e SECRET_KEY="your-secret-key-here" stealth-fingerprinter
Or with a .env file:
docker run -d --name sf-app -p 5000:5000 --env-file .env stealth-fingerprinter
# Local installation
python app.py create-license "username"
# Docker
docker exec -it sf-app python app.py create-license "username"
# List all users
python app.py list-users
# Disable a user
python app.py disable-user "username"
# Enable a user
python app.py enable-user "username"
- Access the application at
http://localhost:5000 - Log in with your license key
- Create endpoints with custom behavior configurations
- Copy the generated URLs for distribution
- Monitor visits and fingerprint data in real-time
- Select bot and user behaviors
- Configure behavior-specific parameters (images, URLs, meta tags)
- Enter tracking aliases (comma-separated) to create multiple endpoints
- Click "Create endpoints"
- Copy the generated URLs from the endpoints table
- Configure obfuscation settings in the Obfuscation section
- Click "Copy URL" or "Copy As" on any endpoint
- The URL will be automatically obfuscated according to your settings
- Backend: Flask (Python 3.11)
- Database: SQLite
- Frontend: HTML5, CSS3, Vanilla JavaScript
- Containerization: Docker
- Server: Gunicorn (production) / Flask development server
data/db.sqlite3: SQLite database for users, visits, and fingerprintsdata/endpoints.json: JSON file for endpoint configurationsdata/uploads/: Uploaded image files
- Authentication: License key-based authentication with session management
- Endpoint System: JSON-based storage with unique token generation
- Visit Logging: Comprehensive request metadata capture
- Fingerprinting: Client-side JavaScript data collection
- Bot Detection: User-agent pattern matching with extensible definitions
This project is licensed under the GPL-3.0 License.
