Bu scripti kullanarak Cloudflare kullanan web sitelerinin, ip adresini bulabilirsiniz.
Kod:
<!DOCTYPE html>
<head>
<title>MasterHack Cloudflare IP Çözümleme</title>
<style type="text/css">
<!--
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style></head>
<body>
<h1 style="text-align:center">CloudFlare IP Çözümleme Assassin tarafından <a href='http://www.masterhack.org'>MasterHack Team</a> için kodlanmıştır.</h1>
<form method="get" action="#">
Domain ismini girin: <input type="url" name="domain" placeholder="http://masterhack.org" size="25" maxlength="50" />
<input type="submit" value="Gerçek Adresi Bul" />
</form>
<?php
function is_ipv4($ip)
{
return filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) ? $ip : 'IP Bulunamadı';
}
$url = $_GET['domain'];
if(isset($url)) {
if(!preg_match('/^(https?):\/\/(w{3}|w3)\./i', $url)) {
echo "<br />[+]URL Geçersiz.<br />[+]URL'yi bu formatta giriniz: http(s)://www." . preg_replace('/^(https?):\/\//', '', $url);
} else {
$headers = get_headers($url, 1);
$server = $headers['Server'];
$subdomain = array('cpanel.', 'ftp.', 'mail.', 'webmail.', 'direct.', 'direct-connect.', 'ns1.', 'ns2.', 'record.', 'ssl.', 'dns.', 'help.', 'blog.', 'forum.');
$count = count($subdomain);
if(preg_match('/^(https?):\/\/(w{3}|w3)\./i', $url, $matches))
{
if($matches[2] != 'www')
{
$url = preg_replace('/^(https?):\/\//', '', $url);
}
else
{
$url = explode($matches[0], $url);
$url = $url[1];
}
}
if(is_array($server))
$server = $server[0];
if(preg_match('/cloudflare/i', $server))
echo "<br />[+] CloudFlare bulundu: {$server}<br />";
else
echo "<br />[+] Bu domain Cloudflare kullanmıyor.<br />";
echo '[+] Cloudflare IP: ' . is_ipv4(gethostbyname($url)) . "<br />";
echo "[+] Daha fazla IP adresi aranıyor.<br />";
for($x = 0; $x < $count; $x++)
{
$site = $subdomain[$x] . $url;
$ip = is_ipv4(gethostbyname($site));
echo ">>> Taranıyor <span style=\"color:green;\">{$site}</span>: <span style=\"color:red;\">Sonuçlar</span> = {$ip}<br />";
}
echo "<br />[+]Tarama tamamlandı.";
}
}
else
{
echo "<br />[+]Lütfen domain adresini giriniz.";
}
?>
<p style="text-align:center">Copyright © assassin <a href='http://www.masterhack.org'>Hack</a> Daha fazlası için bekleriz.</p>
</body>
</html>
,
PHP dosyanızı ister localhosta atarak isterseniz normal hostunuza atarak kullanabilirsiniz.
Kod:
<!DOCTYPE html>
<head>
<title>MasterHack Cloudflare IP Çözümleme</title>
<style type="text/css">
<!--
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style></head>
<body>
<h1 style="text-align:center">CloudFlare IP Çözümleme Assassin tarafından <a href='http://www.masterhack.org'>MasterHack Team</a> için kodlanmıştır.</h1>
<form method="get" action="#">
Domain ismini girin: <input type="url" name="domain" placeholder="http://masterhack.org" size="25" maxlength="50" />
<input type="submit" value="Gerçek Adresi Bul" />
</form>
<?php
function is_ipv4($ip)
{
return filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) ? $ip : 'IP Bulunamadı';
}
$url = $_GET['domain'];
if(isset($url)) {
if(!preg_match('/^(https?):\/\/(w{3}|w3)\./i', $url)) {
echo "<br />[+]URL Geçersiz.<br />[+]URL'yi bu formatta giriniz: http(s)://www." . preg_replace('/^(https?):\/\//', '', $url);
} else {
$headers = get_headers($url, 1);
$server = $headers['Server'];
$subdomain = array('cpanel.', 'ftp.', 'mail.', 'webmail.', 'direct.', 'direct-connect.', 'ns1.', 'ns2.', 'record.', 'ssl.', 'dns.', 'help.', 'blog.', 'forum.');
$count = count($subdomain);
if(preg_match('/^(https?):\/\/(w{3}|w3)\./i', $url, $matches))
{
if($matches[2] != 'www')
{
$url = preg_replace('/^(https?):\/\//', '', $url);
}
else
{
$url = explode($matches[0], $url);
$url = $url[1];
}
}
if(is_array($server))
$server = $server[0];
if(preg_match('/cloudflare/i', $server))
echo "<br />[+] CloudFlare bulundu: {$server}<br />";
else
echo "<br />[+] Bu domain Cloudflare kullanmıyor.<br />";
echo '[+] Cloudflare IP: ' . is_ipv4(gethostbyname($url)) . "<br />";
echo "[+] Daha fazla IP adresi aranıyor.<br />";
for($x = 0; $x < $count; $x++)
{
$site = $subdomain[$x] . $url;
$ip = is_ipv4(gethostbyname($site));
echo ">>> Taranıyor <span style=\"color:green;\">{$site}</span>: <span style=\"color:red;\">Sonuçlar</span> = {$ip}<br />";
}
echo "<br />[+]Tarama tamamlandı.";
}
}
else
{
echo "<br />[+]Lütfen domain adresini giriniz.";
}
?>
<p style="text-align:center">Copyright © assassin <a href='http://www.masterhack.org'>Hack</a> Daha fazlası için bekleriz.</p>
</body>
</html>
,
PHP dosyanızı ister localhosta atarak isterseniz normal hostunuza atarak kullanabilirsiniz.

