Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

How can i find the I.P Adress of a Website hiding behind Cloudflare ? [Please help]

Title is pretty Self explanitory. How can i find the I.P Adress of a Website hiding behind Cloudflare ??

-If Anyone can Link me to a tutorial it would be Kindly Appreciated <3
you can use this php script for finding it

Code
<?php

/*
* getCF.php
* I got tired of looking up the DNS records of these various hosts
* to find the real IP of a CloudFlare protected Server.
* www.bigkesh.com
* orgy[at]bigkesh[dot]com
* Usage: php getCF.php domain.com
* Usage2: www.yoursite.com/getCF.php?find=domain.com
*/

if (!isset($argv[1]) && !isset($_GET['find']))
{
    die("Argument needs to be a valid hostname.\n");
}

$lookupArr = array("mail.", "direct.", "direct-connect.", "cpanel.", "ftp.");

foreach ($lookupArr as $lookupKey)
{

    if (isset($_GET['find']))
    {
        $newline = "<br />";
        $lookupHost = $lookupKey . $_GET['find'];
    }
    else
    {
        $newline = "\n";
        $lookupHost = $lookupKey . $argv[1];
    }

    $foundHost = gethostbyname($lookupHost);

    if ($foundHost == $lookupHost)
    {
        echo "{$lookupHost} had no DNS record.{$newline}";
    }
    else
    {
        echo "{$lookupHost} = {$foundHost}{$newline}";
    }
}

?>

good luck


Possibly Related Threads...
Thread / Author Replies Views Last Post
by francoiss46Apr 27, 2026 09:41 AM 3 145 Apr 27, 2026 09:41 AM
Last Post: athali
by qazwsdcApr 28, 2024 09:38 AM 2 327 Apr 28, 2024 09:38 AM
Last Post: Dolla$
by ReDeX2587Nov 25, 2022 11:08 AM 4 508 Nov 25, 2022 11:08 AM
Last Post: Brief