PHP Classes

PHP CloudFlare Resolver: Find the domains handled by CloudFlare

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 70%Total: 196 All time: 8,519 This week: 206Up
Version License PHP version Categories
cloudflare-resolver 1.0GNU General Publi...5.0Networking, PHP 5
Description 

Author

This class can find the domains handled by CloudFlare.

It can take a given domain and determines if any common sub-domains are handled by CloudFlare by checking the IP addresses that the sub-domains resolve.

The class can also take a given IP address and check if it is handled by CloudFlare by checking the ranges of IP addresses known to belong to CloudFlare.

Innovation Award
PHP Programming Innovation award nominee
May 2015
Number 11
CloudFlare is content delivery network site that can serve the content of other sites. It can help offloading those sites and also serve content faster to users in different regions of the world.

This class can discover if sub-domains of a domain are being handled by CloudFlare.

Manuel Lemos
Picture of Nick Daniels
  Performance   Level  
Name: Nick Daniels <contact>
Classes: 13 packages by
Country: United States United States
Age: 34
All time rank: 1107160 in United States United States
Week rank: 227 Up23 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

Example

<?php
/** Cloudflare Resolver **
 *
 * @Auther Nick Daniels : http://twitter.com/ManicSec
 *
 */
require 'CFlareResolver.class.php';

$cf = new CFlareResolver;
$cf->resolve_cf("cloudflare.com");


  Files folder image Files (2)  
File Role Description
Plain text file CFlareResolver.class.php Class CFlareResolver Class File
Accessible without login Plain text file example.php Example Example of CFlareResolver

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:196
This week:0
All time:8,519
This week:206Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:292