π Live Site - Start scanning now!
A comprehensive forensics tool for analyzing IPTV trial URLs, unmasking provider information, and detecting reseller patterns.
- IP Resolution: Extract and resolve domain names to IP addresses
- Provider Detection: Identify hosting providers and data centers using ASN lookup
- Server Signature Analysis: Detect server headers and software signatures
- Reseller Probability: Calculate likelihood of reseller based on infrastructure
- Dark Theme UI: Modern, responsive Bootstrap interface
- Database Caching: Store and retrieve historical scan results
- PHP 7.4+
- MySQL/MariaDB 5.7+
- Web Server (Apache/Nginx with PHP support)
- Internet connection (for IPinfo API calls)
mysql -u root -p < database.sqlCopy the example config and fill in your credentials:
cp config.example.php config.php
# Edit config.php with your settings- DB_HOST, DB_USER, DB_PASSWORD, DB_NAME: Your MySQL database details
- IPINFO_API_KEY: Get free token at https://ipinfo.io
- IP2WHOIS_API_KEY: Get free token at https://www.ip2whois.com
- Visit: https://ipinfo.io/signup
- Sign up for free account
- Go to https://ipinfo.io/account/token
- Copy your token and paste into
config.php - Free tier: 50,000 requests/month
- Visit: https://www.ip2whois.com
- Click "Sign Up" for free account
- Go to https://www.ip2whois.com/api/my-api
- Copy your API key and paste into
config.php - Free tier: 10,000 requests/month
Place all files in your web server directory
Open index.html in your browser
Enter an IPTV URL (with or without port) and click "Scan" to analyze:
Supported URL formats:
http://domain.com/pathhttp://domain.com:8080/player_api.phpdomain.com:25461/get.phphttp://192.168.1.1:8000/playlist.m3u8
Results include:
- Real Host IP Address
- Country Location
- Organization/ISP
- ASN Information
- Server Software Signature
- Panel Type Detection (Xtream Codes, Stalker, M3U)
- Domain Age (from WHOIS)
- Original Provider Detection (via IP clustering)
- Reseller Probability Score
- Upstream Provider Score
- Purpose: Country, Organization, ASN lookup
- Free Plan: 50,000 requests/month
- Get Key: https://ipinfo.io/signup
- Docs: https://ipinfo.io/docs
- Purpose: Accurate domain creation date from WHOIS
- Free Plan: 10,000 requests/month
- Get Key: https://www.ip2whois.com
- Docs: https://www.ip2whois.com/api
The tool now uses a multi-factor confidence scoring system to identify reseller networks:
| Method | Weight | How It Works |
|---|---|---|
| ASN Analysis | 35% | Groups domains by datacenter ASN (DigitalOcean, AWS, OVH, Hetzner, etc.) |
| Nameserver Clustering | 30% | Identifies shared DNS infrastructure across multiple domains |
| SSL Fingerprinting | 20% | Detects domains using identical SSL certificates |
| Registration Patterns | 15% | Finds batch-registered domains (same registrar, email, date) |
- 0-40%: Weak reseller signal - likely independent operators
- 40-70%: Moderate reseller signal - probable shared infrastructure
- 70-90%: Strong reseller signal - definite infrastructure sharing
- 90-100%: Very strong reseller signal - nearly identical infrastructure
When viewing resellers, you'll see which factors triggered detection:
- ASN Shared: Multiple domains on same datacenter network
- NS Shared: Multiple domains using same nameservers
- SSL Shared: Multiple domains with identical SSL certificates
- Batch Reg: Multiple domains registered close together
Two domains detected as resellers if:
- Both resolve to IPs in same ASN (OVH) β +35%
- Both use ns1.panel.com, ns2.panel.com β +30%
- Both have certificate CN: panel.example.com β +20%
- Both registered within 7 days β +15%
Total Confidence: 100% (Definite reseller network)
The enhanced scanner (scan-enhanced.php) collects:
asn_block VARCHAR(100) -- ASN number block
asn_name VARCHAR(255) -- ASN organization name
nameserver_hash VARCHAR(64) -- SHA256 hash of nameservers
nameservers TEXT -- Comma-separated nameserver list
ssl_cert_hash VARCHAR(64) -- SHA256 hash of SSL cert
ssl_issuer VARCHAR(255) -- SSL certificate issuer
ssl_common_names TEXT -- SSL SAN domains
domain_registrar VARCHAR(255) -- Domain registrar
domain_reg_date DATE -- Domain registration date
domain_reg_email VARCHAR(255) -- Registrant email
panel_fingerprint VARCHAR(255) -- MD5 of panel response
registration_pattern VARCHAR(50) -- 'batch_registration' or 'same_registrant'
confidence_score INT -- Overall reseller confidence (0-100)
relationship_reasons TEXT -- Human-readable detection reasons
asn_reseller_confidence INT -- ASN confidence (0-100)
ns_reseller_confidence INT -- Nameserver confidence (0-100)
cert_reseller_confidence INT -- SSL cert confidence (0-100)
reg_pattern_confidence INT -- Registration pattern confidence (0-100)# Copy database_enhanced.sql to your server and run:
mysql -u your_user -p your_database < database_enhanced.sqlAdvanced scanning with full feature set:
POST /scan-enhanced.php
Parameters:
- url: IPTV URL to scan
- provider_name: Highly recommended provider name for reseller linking
Returns:
- confidence_score: 0-100
- asn_reseller_confidence: 0-100
- ns_reseller_confidence: 0-100
- cert_reseller_confidence: 0-100
- relationship_reasons: Text explanation
- cluster_evidence: { asn_clustering, nameserver_clustering, ... }
Get all detected reseller networks with cluster evidence:
GET /resellers-advanced.php
Returns:
{
"resellers": [
{
"name": "provider1 | provider2",
"domain_count": 15,
"confidence_score": 87,
"cluster_evidence": {
"asn_clustering": 3,
"nameserver_clustering": 15,
"cert_clustering": 1,
"registration_pattern_clustering": 5
},
"domains": [...],
"related_providers": [...]
}
],
"clusters": [...]
}
Score based on:
- **Data Center Detection** (0-80%): OVH, Hetzner, Linode, etc.
- **Server Signatures** (0-30%): Nginx, Apache, CDN headers
## Security
- SQL parameterized queries (injection-proof)
- Input validation for URLs
- Error logging (no errors shown to users)
- CORS configured
- SSL/TLS recommended for production
## Database Schema
| Column | Type | Description |
|--------|------|-------------|
| resolved_ip | VARCHAR(45) | IPv4/IPv6 address |
| asn | VARCHAR(50) | Autonomous System Number |
| organization | VARCHAR(255) | ISP/Organization |
| country_code | VARCHAR(10) | ISO country code |
| server_header | VARCHAR(255) | Server signature |
| reseller_probability | INT | Score 0-100 |
| created_at | TIMESTAMP | Scan time |
## Troubleshooting
- **Database Error**: Check MySQL running and credentials in config.php
- **IP Resolution Failed**: Verify domain is accessible, check DNS
- **No Server Header**: Some hosts don't respond to HTTP or hide headers
- **API Failed**: Verify API key, check internet connection
## License
Provided as-is for forensic and security analysis.
---
**Version**: 1.0
**Last Updated**: February 2026
\n# Another test commit with more content Wed Feb 4 13:29:45 CET 2026
Some more lines to make this a bigger commit.