Skip to main content

Phone number OSINT and metadata tracing tool

Project description

PhoneTracer ⚡️

OSINT Phone Number Metadata Toolkit

PhoneTracer is a modular Python toolkit for extracting public, non-invasive metadata from phone numbers using Google’s libphonenumber (via the phonenumbers library).

❗ PhoneTracer does NOT track phones, reveal owners, or provide live locations.

PyPI version

Python versions


✨ Features

  • 📞 Phone number parsing & validation
  • 🌍 Country / region identification
  • 🏷 Carrier lookup (when available)
  • 🕒 Timezone detection
  • 🧠 Spam-style heuristic scoring
  • 📄 Scan numbers from text files
  • 📊 JSON export
  • 🖥 Argument-based CLI
  • 📟 Interactive command-line menu
  • 🪟 Desktop GUI (Tkinter)
  • 🧪 Built-in tests
  • 🤖 GitHub Actions CI

🧱 Project Architecture


phone_tracer/
│
├── main.py        # Mode selector (entry point)
├── core.py        # Shared logic (analysis, logging, export)
├── cli_args.py    # Argument-based CLI mode
├── cli_menu.py    # Interactive command-line menu
├── gui_app.py     # GUI (Tkinter)
│
├── tracer.log     # Runtime logs
└── .github/
    └── workflows/
        └── python-ci.yml


🚀 Getting Started

Requirements

  • Python 3.7+

Install dependency

pip install phonenumbers

▶️ Usage

Start PhoneTracer

python main.py

You will be prompted to choose:

1. Argument mode
2. Command-line menu
3. GUI

🔹 Argument Mode

python main.py
# choose option 1

Then use:

python cli_args.py -n "+91 9513717169"
python cli_args.py -f numbers.txt

🔹 Command-line Menu

python main.py
# choose option 2

Interactive menu-driven interface.


🔹 GUI Mode

python main.py
# choose option 3

Simple desktop UI built with Tkinter.


📂 Output

All scan results are exported as JSON files:

YYYYMMDD_HHMMSS_<PHONE>.json

🧠 Spam Heuristics

PhoneTracer assigns a spam score based on simple patterns:

  • Repeated digits
  • Excessive zeros
  • Abnormal formatting

This is only an indicator, not a classification.


🤖 Continuous Integration

GitHub Actions automatically:

  • Installs dependencies
  • Runs core sanity tests
  • Ensures CLI paths load correctly

Workflow file:

.github/workflows/python-ci.yml

🔐 Privacy & Ethics

  • ❌ No phone tracking
  • ❌ No subscriber identification
  • ❌ No surveillance techniques
  • ✅ Metadata-only analysis

Use responsibly and legally.


📜 License

MIT License Educational & research use is encouraged.


⭐ If you find this project useful, consider starring the repository!

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

phonetracer-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phonetracer-0.1.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file phonetracer-0.1.0.tar.gz.

File metadata

  • Download URL: phonetracer-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for phonetracer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4c24eecb3ccc489b71f65ae4eeebc387e6a171985813025789d04b20cf706e7
MD5 dd4736b12417f68cbce8d3f225919b70
BLAKE2b-256 88f48f32104ea6dbede77af47fc22d722a907f2a91acb3e7cc4f1f4561f9411c

See more details on using hashes here.

File details

Details for the file phonetracer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: phonetracer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for phonetracer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5720ebc83bbb017937f4c265548c48604872e2c85d478c1ec60a62b5b4d3cf1
MD5 cc9835657c1d7aaff440032ae3ab732d
BLAKE2b-256 1edd94105617f0ad745c51bdbc9a7f8ceb2bfc322e80285298ea64da0b4369bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page