Vishal-HaCkEr1910/Phone-Number-Tracker
Γber uns
π Advanced Phone Intelligence & OSINT Framework β Multi-API consensus voting,12 OSINT probes, case management, SHA-256 evidence chain, audit trails | Python 3.10+
Sicherheit und DatenschutzWhat you can do
- 1 - Phone Parsing & Validation - E.164 / international / national format, valid + possible checks, auto country-code detection
- 2 - Forensic Phone Active Check - Trestle Activity Score (0-100), real-time reachability, strict Line Type Fidelity (Mobile vs Non-Fixed VoIP)
- 3 - CDR-Style Subscriber Info - Carrier, country, timezone, region, line type, HLR status, network reachability
- 4 - India Telecom Circle DB - 700+ prefix β circle mapping (Jio, Airtel, Vi, BSNL) with SIM registration city
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Verlauf wird gesammelt
NettoΓ€nderungen in ΓΌberlappenden ZeitrΓ€umen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht QualitΓ€t.
README.md
Originalπ± Phone Number Tracker
Advanced Phone Intelligence & OSINT Framework 2650+ lines of pure Python intelligence gathering Author: Vishal | For Educational & Authorized Security Research Only
π Features at a Glance
| # | Feature | Description |
|---|---|---|
| 1 | Phone Parsing & Validation | E.164 / international / national format, valid + possible checks, auto country-code detection |
| 2 | Forensic Phone Active Check | Trestle Activity Score (0-100), real-time reachability, strict Line Type Fidelity (Mobile vs Non-Fixed VoIP) |
| 3 | CDR-Style Subscriber Info | Carrier, country, timezone, region, line type, HLR status, network reachability |
| 4 | India Telecom Circle DB | 700+ prefix β circle mapping (Jio, Airtel, Vi, BSNL) with SIM registration city |
| 5 | Live Location (Multi-API Consensus) | Cross-references up to 7 sources with weighted voting β most likely current city |
| 6 | Roaming Detection | Compares SIM registration circle vs live network city β flags roaming |
| 7 | Report Generation | JSON, HTML, and interactive map exports with forensic metadata and evidence hashing |
| 8 | Advanced Geolocation | OpenCage + Nominatim forward/reverse geocoding β lat/lng + formatted address |
| 9 | OSINT Platform Probes | WhatsApp, Telegram, Truecaller (multi-method), Eyecon, SyncMe, Facebook, Instagram, Google |
| 10 | UPI ID Generation | Auto-generates 10 possible UPI IDs (@paytm, @ybl, @okaxis, @upi, etc.) for Indian numbers |
| 11 | Email Intelligence | Email guessing from phone number, Gravatar profile lookup, AbstractAPI phone intelligence cross-checks |
| 12 | Truecaller Multi-Method | 3 API endpoints + web scrape + JSON extraction β attempts to fetch owner name & email |
| 13 | Deep OSINT | Spam DB checks (SpamCalls.net, ShouldIAnswer), breach-style exposure check, web mention scraping |
| 14 | Owner Name Detection | Auto-extracts real name from Truecaller/SyncMe/Eyecon and shows in summary |
| 15 | Case Management | Case ID (auto-UUID or custom), operator name, unit, classification levels |
| 16 | Audit Trail & Evidence Hashing | SHA-256 chain-of-custody, per-phase evidence logging, persistent audit log files |
| 17 | HTML Report (Professional) | Dark-themed report with classification banners, case metadata, legal notice, audit trail, SHA-256 hash |
| 18 | JSON Export | Forensic envelope with case metadata, evidence integrity hash, full data dump |
| 19 | Interactive Map | Folium map with SIM location + live location markers, heatmap layer |
| 20 | Persistent API Keys | .env file auto-loaded every run via python-dotenv |
| 21 | Flexible CLI | Grouped argument categories, API status panel, version flag, epilog with examples |
π¦ Installation
1. Clone / Download
git clone https://github.com/Vishal-HaCkEr1910/Python_Cybersec_Projects.git
cd Python_Cybersec_Projects
2. Create Virtual Environment
python3 -m venv .venv
source .venv/bin/activate # macOS / Linux
# .venv\Scripts\activate # Windows
3. Install Dependencies
pip install -r requirements.txt
Required packages:
phonenumbers
opencage
folium
requests
colorama
rich
beautifulsoup4
lxml
python-dotenv
flask
tqdm
fake-useragent
httpx
Or install manually:
pip install phonenumbers opencage folium requests colorama rich beautifulsoup4 lxml python-dotenv flask tqdm fake-useragent httpx
π API Key Setup
PhoneTrackerPro uses 4 API keys for maximum intelligence. All are free tier.
Getting Your API Keys
| API | Sign Up Link | Free Tier | Used For |
|---|---|---|---|
| Trestle | trestleiq.com/signup | 25 req/month | Real-Time Activity Score, VoIP/Burner Detection |
| Numverify | numverify.com/signup | 100 req/month | Carrier lookup, location vote |
| AbstractAPI | app.abstractapi.com | 1000 req/month | Phone intelligence, location vote, registration and breach metadata |
| ipinfo | ipinfo.io/signup | 50,000 req/month | Your IP location (reference point) |
| OpenCage | opencagedata.com | 2,500 req/day | Forward/reverse geocoding |
Setting Up .env File
Create a .env file in the project root:
TRESTLE_API_KEY=your_trestle_key_here
NUMVERIFY_API_KEY=your_numverify_key_here
ABSTRACT_API_KEY=your_abstract_api_key_here
IPINFO_TOKEN=your_ipinfo_token_here
OPENCAGE_API_KEY=your_opencage_key_here
Note: The tool shows which API keys are configured at startup with β/β indicators. Missing keys are NOT fatal β the tool gracefully skips those APIs and uses the remaining sources.
π Usage β All Commands
Basic Syntax
python phone_tracker.py <phone_number> [options]
Input Formats (All Work)
python phone_tracker.py +919876543210 # Full international
python phone_tracker.py 9876543210 # Auto-adds +91 (India default)
python phone_tracker.py 09876543210 # Leading 0 stripped
python phone_tracker.py +1-202-555-0100 # US number with dashes
python phone_tracker.py "(+91) 98765-43210" # Parentheses and dashes
π Scan Modes
Full Scan (Default β All 8 Phases)
python phone_tracker.py +919876543210
Runs: Parse β Basic Info β Telecom Circle β Live Location β Geolocation β OSINT β Deep OSINT β Reports
Quick Scan (Basic Info + Telecom Only)
python phone_tracker.py +919876543210 --quick
Fast check β skips all advanced phases. Great for quick carrier/circle lookup.
Skip Specific Phases
# Skip live location detection (saves ~5 seconds)
python phone_tracker.py +919876543210 --skip-live
# Skip OSINT platform probes (WhatsApp, Telegram, etc.)
python phone_tracker.py +919876543210 --skip-osint
# Skip deep OSINT (spam DB, breach check, web mentions)
python phone_tracker.py +919876543210 --skip-deep
# Skip both OSINT phases (just location intelligence)
python phone_tracker.py +919876543210 --skip-osint --skip-deep
# Location-only scan (fastest meaningful scan)
python phone_tracker.py +919876543210 --skip-osint --skip-deep
π·οΈ Case Management
Tag your scans with case metadata for organized record-keeping:
# Custom case ID + operator name
python phone_tracker.py +919876543210 --case-id "CASE-2026-0042" --officer "Vishal Rao"
# Add unit/team
python phone_tracker.py +919876543210 --case-id "INV-001" --officer "Agent V" --unit "Cyber Recon"
# Set classification level
python phone_tracker.py +919876543210 --classification CONFIDENTIAL
# Full metadata
python phone_tracker.py +919876543210 \
--case-id "CASE-2026-0042" \
--officer "Vishal Rao" \
--unit "OSINT Division" \
--classification CONFIDENTIAL
Classification Levels:
| Level | Color | Use Case |
|---|---|---|
UNCLASSIFIED |
π’ Green | Public / open research |
RESTRICTED |
π‘ Yellow | Default β internal use |
CONFIDENTIAL |
π΄ Red | Sensitive investigations |
SECRET |
π΄ Bold Red | Highest sensitivity |
If not specified:
- Case ID: Auto-generated UUID (e.g.,
CASE-20260227-A3F9B2) - Officer:
OPERATOR(default) - Unit:
UNSPECIFIED - Classification:
RESTRICTED
π Report Options
# Skip map generation
python phone_tracker.py +919876543210 --no-map
# Skip HTML report
python phone_tracker.py +919876543210 --no-report
# Only generate JSON (no HTML or map)
python phone_tracker.py +919876543210 --json-only
# Custom output directory
python phone_tracker.py +919876543210 --output-dir results/
# Combine options
python phone_tracker.py +919876543210 --skip-deep --no-map --output-dir my_reports/
π Other Options
# Show version
python phone_tracker.py --version
# Show help with all options + examples
python phone_tracker.py -h
π Output Files
All outputs are saved in the output/ directory (or your --output-dir):
| File Pattern | Description |
|---|---|
phone_intel_<number>_<timestamp>.json |
Full JSON with forensic metadata envelope, all intelligence data, evidence hash |
phone_report_<number>_<timestamp>.html |
Professional HTML report with dark theme, classification banners, legal notice |
phone_map_<number>_<timestamp>.html |
Folium interactive map with SIM + live location markers |
output/audit_logs/audit_YYYYMMDD.log |
Persistent audit trail log (one per day, appended to) |
JSON Report Structure
The JSON export wraps everything in a metadata envelope:
{
"case_metadata": {
"case_id": "CASE-20260227-A3F9B2",
"scan_id": "D7E4BF952D5B",
"officer": "Vishal Rao",
"classification": "RESTRICTED",
"timestamp_utc": "2026-02-27T00:57:30Z",
"tool_version": "6.0.0"
},
"phone_number": "+919876543210",
"basic_info": { "..." },
"telecom_circle": { "..." },
"live_location": { "..." },
"all_votes": [ "..." ],
"consensus_city": "Delhi",
"geo_results": { "..." },
"osint_results": { "..." },
"deep_osint": { "..." },
"evidence_integrity": {
"algorithm": "SHA-256",
"hash": "dece06207c8f54c5..."
},
"evidence_chain": [ "..." ],
"audit_trail": [ "..." ]
}
HTML Report Sections
The HTML report includes:
- π Classification banner (sticky, color-coded by level)
- π Case metadata grid (Case ID, Officer, Unit, Classification, Timestamp)
- π€ Subject / SIM registration details (MSISDN, carrier, IMSI range, MCC-MNC, HLR status)
- π§ Email intelligence (Truecaller email, guessed emails, Gravatar profiles)
- π‘ Location intelligence (consensus city, roaming indicator, lat/lng, address)
- π³οΈ Source vote breakdown (which API voted for which city, confidence %)
- π OSINT platform findings (per-platform found/not-found)
- β οΈ Threat/risk intelligence (spam reports, breach exposure, web mentions)
- π Evidence audit trail (timestamped log of all collection phases)
- π SHA-256 evidence integrity hash
- βοΈ Legal disclaimer
- π¨οΈ Print-friendly CSS (works with Ctrl+P / Cmd+P)
β How It Works β Phase-by-Phase
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β PHASE 1: PARSE & VALIDATE β
β phonenumbers library β E.164, valid/possible, country detect β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PHASE 2: SUBSCRIBER INFO (CDR-STYLE) β
β Carrier, country, timezone, line type, HLR/network status β
β Format: Case ID, Scan ID, Operator, MSISDN, all formats β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PHASE 3: TELECOM CIRCLE (India) β
β 700+ prefix DB β Jio/Airtel/Vi/BSNL β circle + city β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PHASE 4: LIVE LOCATION (Multi-API Consensus Voting) β
β Up to 7 APIs queried β weighted votes β consensus city β
β Compares with SIM circle β roaming detection β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PHASE 5: GEOLOCATION β
β OpenCage + Nominatim β lat/lng + formatted address β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PHASE 6: OSINT PLATFORM PROBES β
β WhatsApp β’ Telegram β’ Truecaller (multi-method) β
β Eyecon β’ SyncMe β’ Facebook β’ Instagram β’ Google β
β UPI ID generation β’ Email guessing β’ Gravatar β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PHASE 7: DEEP OSINT β
β Spam DBs (SpamCalls.net, ShouldIAnswer) β
β Breach-style exposure check β
β Web mentions scraping (Google dorking) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PHASE 8: REPORTS β
β JSON (metadata envelope) + HTML (professional) + Folium Map β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π‘ Live Location β Consensus Voting System
The tool queries up to 7 different sources and uses weighted consensus voting to determine the most likely current city:
| Source | Weight | Requires API Key |
|---|---|---|
| Trestle | 5 | β
TRESTLE_API_KEY |
| Numverify | 3 | β
NUMVERIFY_API_KEY |
| AbstractAPI | 3 | β
ABSTRACT_API_KEY |
| ipinfo | 2 | β
IPINFO_TOKEN |
| Free Network Probe | 1 | β |
| VLR/MSC Detection | 1 | β |
| PhoneInfo Probe | 1 | β |
| MobileTracker Probe | 1 | β |
How voting works:
- Each API returns a city/region
- Cities are normalized (case-insensitive, "New Delhi" β "Delhi")
- Votes are weighted by source reliability
- The city with the highest weighted vote count wins
- Confidence is calculated as
(winning votes / total votes) - If consensus city β SIM registration city β ROAMING is flagged
π OSINT Probes β What Each One Does
| Probe | Method | What It Finds |
|---|---|---|
| Registration check via web endpoint | Whether number is registered on WhatsApp | |
| Telegram | API probe for user existence | Whether profile exists on Telegram |
| Truecaller | 3 API endpoints + web scrape + JSON extraction | Owner name, email (requires auth for full data) |
| Eyecon | Caller ID API probe | Name if publicly listed |
| SyncMe | Caller ID lookup | Name from SyncMe database |
| Password reset flow indicator | Whether FB account is linked to number | |
| Account recovery signal detection | Whether IG account is linked | |
| Web scraping for phone number mentions | Public mentions of the number online | |
| UPI IDs | Pattern generation | 10 possible UPI addresses (@paytm, @ybl, @okaxis, etc.) |
| Email Guess | Pattern generation from phone number | 5 possible emails ([email protected], @yahoo, @outlook, etc.) |
| Gravatar | Hash lookup against Gravatar API | Profile picture + display name if email exists |
| AbstractAPI Phone | Phone intelligence API | Carrier, line type, location, registration, risk, and breach metadata |
π Evidence Integrity & Audit Trail
Every scan produces a complete audit trail:
Chain-of-Custody Log:
- Each phase logs: timestamp (UTC), action, detail, scan ID, operator
- Each entry includes a SHA-256 hash chained to the previous entry (tamper-evident)
- Stored in
self.evidence_chainand exported in JSON
Evidence Integrity Hash:
- After all data is collected, a SHA-256 hash is computed over the entire JSON payload
- This hash appears in the terminal summary, HTML report, and JSON export
- Any modification to the data will produce a different hash
Persistent Audit Log File:
- Written to
output/audit_logs/audit_YYYYMMDD.log - One file per day, appended to on each scan
- Format:
YYYY-MM-DD HH:MM:SS | INFO | [ACTION] ScanID=XXX | detail
Example audit log:
2026-02-27 00:56:38 | INFO | [SCAN_INITIATED] ScanID=D7E4BF952D5B | Target=9469593244, Officer=Vishal, Case=CASE-2026-0042
2026-02-27 00:56:38 | INFO | [NUMBER_PARSED] ScanID=D7E4BF952D5B | E164=+919469593244, Valid=True, CC=+91
2026-02-27 00:56:38 | INFO | [BASIC_INFO_COLLECTED] ScanID=D7E4BF952D5B | Carrier=BSNL MOBILE, Country=India, Type=Mobile
2026-02-27 00:56:45 | INFO | [live_location_complete] ScanID=D7E4BF952D5B | Consensus: Jammu Kashmir, Votes: 1
2026-02-27 00:56:46 | INFO | [geolocation_complete] ScanID=D7E4BF952D5B | Resolved: India
2026-02-27 00:57:16 | INFO | [osint_complete] ScanID=D7E4BF952D5B | Platforms found: 3, Owner: Unknown
2026-02-27 00:57:30 | INFO | [deep_osint_complete] ScanID=D7E4BF952D5B | Breach sources: 0
2026-02-27 00:57:30 | INFO | [report_generated] ScanID=D7E4BF952D5B | HTML report saved: output/phone_report_...html
πΊοΈ Folium Map
The interactive map includes:
- π SIM Registration marker (where the SIM was activated)
- π‘ Live/Consensus location marker (where the phone currently is)
- π₯ Heatmap layer (based on resolved coordinates, when available)
- π·οΈ Popup cards with carrier, circle, coordinates
- π OpenStreetMap + satellite tile layers
π§° Advanced Usage Examples
Combine Everything
# Full scan with case management
python phone_tracker.py +919876543210 \
--case-id "RECON-001" \
--officer "Agent V" \
--unit "CyberOps" \
--classification CONFIDENTIAL
Quick Lookup (Carrier + Circle Only)
python phone_tracker.py 9876543210 --quick
Location Intelligence Only (Skip OSINT)
python phone_tracker.py +919876543210 --skip-osint --skip-deep
Minimal Output (JSON Only, No Map)
python phone_tracker.py +919876543210 --json-only --no-map
Batch Processing (Shell Loop)
for num in 9876543210 9123456789 9555555555; do
python phone_tracker.py $num --json-only --skip-deep --output-dir batch_results/
sleep 2 # Rate limit courtesy
done
π Terminal Output Preview
When you run a full scan, you see:
- ASCII Banner β PhoneTrackerPro v6.0.0
- Scan Configuration Panel β Mode, API key status, classification, case ID, output dir
- CDR-Style Subscriber Table β Case ID, Scan ID, Operator, MSISDN, carrier, HLR status, formats
- Telecom Circle β Circle name + SIM registration city
- Live Location Voting Table β Each API's vote with confidence %
- Live Location Summary β Consensus city, roaming status, detection method
- Geolocation Table β City, state, country, lat/lng, address, timezone
- OSINT Intelligence Table β Per-platform found/not-found with details
- Deep OSINT Results β Spam score, breach exposure, web mentions
- Report Generation β File paths for JSON, HTML, Map
- Classification Banner β Color-coded classification level
- Case Information Table β Case ID, Officer, Unit, Classification, Time
- Subject Intelligence Table β Full summary of all findings
- Chain of Custody Panel β SHA-256 evidence integrity hash
- Completion Message β Case ID + Classification confirmation
π§ Troubleshooting
| Issue | Solution |
|---|---|
ModuleNotFoundError |
Run pip install -r requirements.txt inside your venv |
Invalid phone number |
Include country code: +91, +1, etc. |
| API keys not working | Check .env file is in the same directory as phone_tracker.py |
| No live location data | Free APIs have rate limits β wait and retry, or add more API keys |
| Map not generating | Ensure opencage package is installed and API key is set |
| Truecaller says "No public data" | Truecaller requires a logged-in bearer token for full results β use the Truecaller app for manual lookup |
| SyncMe returns tagline as name | "Always knowwho's calling" is SyncMe's tagline, not a real name β known limitation |
| Evidence hash shows "N/A" | Ensure the scan completes all phases before the hash is computed |
Address already in use |
Kill the process on that port: lsof -ti:8888 | xargs kill |
π Full Command Reference
usage: phone_tracker.py [-h] [--quick] [--skip-live] [--skip-osint]
[--skip-deep] [--case-id ID] [--officer NAME]
[--unit UNIT] [--classification LEVEL]
[--no-map] [--no-report] [--json-only]
[--output-dir DIR] [--version]
phone
PhoneTrackerPro v6.0.0 β Advanced Phone Intelligence & OSINT Framework
positional arguments:
phone Phone number (e.g., +919876543210 or 9876543210)
Scan Options:
--quick Quick mode: basic info + telecom only
--skip-live Skip live location (multi-API) detection
--skip-osint Skip OSINT platform probes
--skip-deep Skip deep OSINT (spam/breach/web)
Case Management:
--case-id ID Case/investigation ID (default: auto-UUID)
--officer NAME Operator / researcher name
--unit UNIT Team / department name
--classification LEVEL UNCLASSIFIED, RESTRICTED, CONFIDENTIAL, SECRET
(default: RESTRICTED)
Report Options:
--no-map Skip Folium map generation
--no-report Skip HTML report generation
--json-only Only generate JSON report
--output-dir DIR Output directory (default: output/)
Other:
--version Show version and exit
-h, --help Show help message and exit
ποΈ Architecture
phone_tracker.py (2650+ lines)
βββ Imports & Config
β βββ AuditLogger class (SHA-256 chain-of-custody)
β βββ _audit() / _sha256() helpers
β βββ BANNER, VERSION, CLASSIFICATION levels
β βββ API key loading from .env
βββ class PhoneTrackerPro
β βββ __init__() β 90+ instance vars, case management, forensic fields
β βββ _log_evidence() β chain-of-custody logger
β βββ parse_number() β E.164 parsing, validation
β βββ get_basic_info() β carrier, country, timezone, HLR status
β βββ display_basic_info() β CDR-style Rich table
β βββ INDIA_CIRCLE_DB β 700+ prefix mapping
β βββ detect_telecom_circle() β circle + city detection
β βββ detect_live_location() β orchestrates 7 API sources
β β βββ _api_numverify()
β β βββ _api_abstractapi()
β β βββ _api_ipinfo()
β β βββ _api_vlr_msc()
β β βββ _api_phoneinfo()
β β βββ _api_mobiletracker()
β β βββ _api_free_network()
β βββ _consensus_vote() β weighted voting algorithm
β βββ _display_live_location() β voting table + summary
β βββ generate_ip_grabber() β Flask server + tracking page
β βββ advanced_geolocate() β OpenCage + Nominatim
β βββ run_osint() β orchestrates all platform probes
β β βββ _probe_whatsapp()
β β βββ _probe_telegram()
β β βββ _probe_truecaller_web() β 3 APIs + web + JSON
β β βββ _probe_eyecon()
β β βββ _probe_syncme()
β β βββ _probe_facebook()
β β βββ _probe_instagram()
β β βββ _probe_google()
β β βββ _check_india_upi()
β β βββ _probe_email_from_name()
β β βββ _probe_gravatar()
β β βββ _probe_abstractapi_intelligence()
β βββ run_deep_osint()
β β βββ Spam DB checks
β β βββ _check_haveibeenpwned_style()
β β βββ Web mentions scraping
β βββ generate_map() β Folium with markers + heatmap
β βββ to_dict() β metadata envelope with SHA-256 hash
β βββ generate_html_report() β professional dark-themed report
β βββ generate_json_report() β full JSON export
β βββ generate_reports() β orchestrates all report types
βββ _print_summary() β Rich tables with case info + intel + hash
βββ main() β argparse CLI with grouped options
β οΈ Disclaimer
This tool is intended for educational purposes and authorized security research ONLY. Unauthorized tracking, surveillance, or data collection of individuals without their consent is illegal in most jurisdictions. The author assumes no liability for misuse. Always obtain proper authorization before using this tool on any phone number. All operations are audit-logged with timestamps and operator identification.
Made with β€οΈ by Vishal | PhoneTrackerPro v6.0.0
Γhnliche Projekte entdecken
Wird geladenβ¦