kolltantes Posted January 3, 2013 Share Posted January 3, 2013 Simple IP CAT by n4sss Insira os sites para que possa ser feito a consulta: <?php // Simple Mass ping by n4sss ob_start(); set_time_limit(0); $ping = "baremetal.com/cgi-bin/dnsip?target="; $title = '#(.*?)#s'; $neww = $_POST['host']; if(! $_POST['host']==""){ $neww = split("\r\n", $neww); echo "================================================================== "; for ($i=0;$iSite: $neww[$i]"; echo "================================================================== "; } 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 "Ip:$result "; curl_close($curl); ob_flush(); flush(); } } } // 2012 ?> Link to comment Share on other sites More sharing options...
Recommended Posts