Skip to content

xsser01/phantomcollect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ‘» PhantomCollect

Version Python License CodeFactor Security Dependabot Snyk Security

Advanced Stealth Web Data Collection Framework

🎯 Features

  • πŸ“ Precise GPS Location Tracking
  • 🌐 Public IP & Geo-Location Detection
  • πŸ’» Complete Device Fingerprinting
  • πŸ“‘ Network & Connection Information
  • πŸ”‹ Battery Status & Power Management
  • πŸ›‘οΈ Stealth Data Collection
  • πŸ’Ύ Multiple Storage Backends (SQLite, JSON)
  • πŸ“Š Real-time Terminal Display

πŸš€ Quick Start

Installation

pip install phantomcollect

Basic Usage

```bash
phantomcollect

From AUR (Arch Linux):

yay -S phantomcollect

Installation via BlackArch

pacman -S phantomcollect

Access the Interface

http://localhost:8080

πŸ”§ Advanced Usage

Make it Public (Ngrok)

phantomcollect &
ngrok http 8080

Custom Port

phantomcollect --port 8081

View Collected Data

# View all collected data
sqlite3 victims.db "SELECT * FROM victims;"

# Delete all data
rm victims.db

πŸ“Š Data Collection Schema

Database Structure:

-- victims table schema
CREATE TABLE victims (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    timestamp TEXT,                    -- Visit time
    ip TEXT,                          -- Public IP address  
    user_agent TEXT,                  -- Browser/device info
    location TEXT,                    -- Geographic location
    device_info TEXT,                 -- Hardware specifications
    all_data TEXT                     -- Complete JSON data
);

JSON Data Structure:

  "timestamp": "DateTime",
  "collectedData": {
    "basicInfo": {
      "userAgent": "String",
      "platform": "String", 
      "vendor": "String",
      "appName": "String",
      "appVersion": "String",
      "language": "String",
      "languages": ["Array"]
    },
    "screenInfo": {
      "width": "Number",
      "height": "Number",
      "availWidth": "Number",
      "availHeight": "Number", 
      "colorDepth": "Number",
      "pixelDepth": "Number"
    },
    "locationInfo": {
      "timezone": "String",
      "timezoneOffset": "Number"
    },
    "networkInfo": {
      "effectiveType": "String",
      "downlink": "Number",
      "rtt": "Number",
      "saveData": "Boolean"
    },
    "batteryInfo": {
      "charging": "Boolean",
      "level": "Number",
      "chargingTime": "Number",
      "dischargingTime": "Number"
    },
    "hardwareInfo": {
      "hardwareConcurrency": "Number",
      "deviceMemory": "Number",
      "maxTouchPoints": "Number"
    },
    "privacyInfo": {
      "cookieEnabled": "Boolean",
      "doNotTrack": "Boolean",
      "pdfViewerEnabled": "Boolean",
      "webdriver": "Boolean"
    },
    "gpsError": "String",
    "publicIP": "String",
    "ipGeoInfo": {
      "status": "String",
      "country": "String",
      "countryCode": "String",
      "region": "String",
      "regionName": "String",
      "city": "String",
      "zip": "String",
      "lat": "Number",
      "lon": "Number",
      "timezone": "String",
      "isp": "String",
      "org": "String",
      "as": "String",
      "query": "String"
    }
  }
}

πŸ“ Data Collected

Data Type Details Location GPS coordinates, IP-based location Device Hardware specs, screen info, platform Network Connection type, speed, IP address Browser User agent, languages, timezone Battery Level, charging status, timing

πŸ•΅οΈβ€β™‚οΈ Advanced Timezone Forensics - Detects and analyzes discrepancies between system settings and browser-level timezone data, exposing true geographic origins even when users employ VPNs or attempt location spoofing through system modifications.

⚠️ Legal Disclaimer

This tool is for educational and authorized security testing purposes only. Users are solely responsible for complying with all applicable laws.

πŸ” Security Features

Β· No external dependencies Β· Local data storage only Β· Transparent data collection notification Β· Educational focus

πŸ‘¨β€πŸ’» Developer

xsser01 - Security Researcher

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


Use Responsibly. Secure Ethically.

🌐 Featured On

SourceForge
AlternativeTo
LibHunt Launchpad Codeberg StackShare ArchWiki Upstract Hacker News Open Hub