<!---
=================================================================================*\
|| ################################################################################ ||
|| # * PHP Code * - Develop by Joker Dark Knight # ||
|| # Joker Dark Knight - http://fb.com/JDKAnonymous - http://fb.com/JokerGreyHat # ||
|| # ---------------------------------------------------------------------------- # ||
|| # Copyright © Joker Hydra . All Rights Reserved. # ||
|| # # ||
|| # ---------------------- Joker Dark Knight Fanpage---------------------------- # ||
|| # # ||
|| # http://www.fb.com/JDKAnonymous # ||
|| # # ||
|| ################################################################################ ||
\*====================================================================================
--->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MASS PING IP</title>
</head>
<body
style="background-color: rgb(45, 45, 45); color: rgb(0, 0, 0);"
alink="#ee0000" link="#0000ee" vlink="#551a8b">
<form method="post" action="">
<div
style="font-family: monospace; color: rgb(255, 255, 255); font-weight: bold;"
align="center">MASS PING IP</div>
<div align="center"><span
style="font-family: monospace; color: rgb(255, 255, 255); font-weight: bold;">Insira os sites para que possa ser feito a consulta:</span><br>
<br><textarea name="host" cols="35" rows="7"></textarea><br><p>
<input
value="Ping" type="submit">
</div>
</form>
<?php
ob_start();
set_time_limit(0);
$ping = "baremetal.com/cgi-bin/dnsip?target=";
$title = '#<b>(.*?)</b>#s';
$neww = $_POST['host'];
if(! $_POST['host']==""){
$neww = split("\r\n", $neww);
echo "<center><b><font color='white'>==================================================================</font></b></center><br>";
for ($i=0;$i<count($neww);$i++) echo "<center><b><font color='white'>Site: $neww[$i]</font></b></center><br>";
echo "<center><b><font color='white'>==================================================================</font></b></center><br>";
}
if(! $_POST['host']==""){
$hosts=explode("\n",$_POST["host"]);
foreach($hosts as $hostlar){
$hosts=trim($hostlar);
$hosts = str_replace("http://", "", $hosts);
$curl = curl_init();
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_URL, 'http://'.$ping.$hosts);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$exec = curl_exec($curl);
preg_match_all($title,$exec,$yaz);
foreach($yaz[0] as $result){
echo "<center><b><font color='white'>Ip:$result</font></b></center><br>";
curl_close($curl);
ob_flush();
flush();
}
}
}
// 2012
?>
</body>
</html>