Invalid IP"; $do=0;} $proxy = $_POST["proxy"]; $method = $_POST["method"]; if($proxy=='1'){ $ip = $_POST["ip"]; $port = $_POST["port"]; $wp=''; if($method=='1'){ if($ip == '' || $port==''){ $error ="Enter Ip & Port!";$do=0;} } } if($do=='1'){ if($method=='1'){ $ghost = "http://domains.yougetsignal.com/domains.php"; $ch = curl_init($ghost); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 ); if($proxy =='1'){ curl_setopt($ch, CURLOPT_PROXYTYPE,CURLPROXY_HTTP); curl_setopt($ch, CURLOPT_PROXY,"$ip"); curl_setopt($ch, CURLOPT_PROXYPORT,"$port"); } curl_setopt($ch, CURLOPT_POSTFIELDS, "remoteAddress=$site&ket="); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_POST, 1); $resp = curl_exec($ch); if(eregi('Daily reverse IP check limit reached for', $resp )){ echo "

Failed =>ip have been banned, Change ip

"; $do=0; } if(eregi('Invalid remote address.', $resp )){ echo "

Failed =>Invalid remote address

"; $do=0; } $resp = str_replace("[","", str_replace("]","", str_replace("\"\"","", str_replace(", ,",",", str_replace("{","", str_replace("{","", str_replace("}","", str_replace(", ",",", str_replace(", ",",", str_replace("'","", str_replace("'","", str_replace(":",",", str_replace('"','', $resp ) ) ) ) ) ) ) ) ) )))); $array = explode(",,", $resp); unset($array[0]); echo "

Total ".sizeof($array)." sites found!



"; foreach($array as $lnk) { $link= $lnk."\r\n"; $linnk = rtrim($link, ""); $file = "link.txt"; $handle = fopen($file, 'a'); fwrite($handle, "$linnk"); fclose($handle); } } if($method=='2'){ echo "

Total ".sizeof(bing($site))." sites found!



"; foreach(bing($site) as $domain){ $link= $domain."\r\n"; $linnk = rtrim($link, ""); $file = "link.txt"; $handle = fopen($file, 'a'); fwrite($handle, "$linnk"); fclose($handle); } } if($method=='3'){ $ghost = "http://api.hackertarget.com/reverseiplookup/?q=$site"; $ch = curl_init($ghost); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1 ); curl_setopt($ch, CURLOPT_HEADER, 0); $resp = curl_exec($ch); $link = preg_replace("/\s+/", "\r\n", $resp); $linnk = rtrim($link, ""); $file = "link.txt"; $handle = fopen($file, 'a'); fwrite($handle, "$linnk"); fclose($handle); } if (!file_exists("link.txt")){ $error ='Something Wrong...Try again..'; $do=0; } } if($do=='1'){ $s=file_get_contents("link.txt"); $sites = explode("\r\n", $s); $domains=count($sites); unlink('link.txt'); if($method=='3'){ echo "

Total $domains sites found!



"; } echo "

Scaning Sites by 'wp-admin/setup-config.php'

"; for($i=0; $i<$domains; $i++){ $host= ($sites[$i]); $domain = Removecomma($host); $domain = str_replace(array("http://", "https://", "www."), "", trim($domain)); $domai = "http://" . $domain.'/wp-admin/setup-config.php'; if($domain ==''){ continue; } ob_flush(); flush(); $ch = curl_init($domai); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 5); $data = curl_exec($ch); if(eregi('Select a default language', $data )){ echo "

Found! install WP now => $domai

"; ob_flush(); flush(); continue; } if(eregi("already exists.", $data )){ echo "

Already WP Installed => $domain

"; $wp=$wp.$domain."\r\n"; ob_flush(); flush(); continue; } else{ echo "

HTTP Error => $domain

"; ob_flush(); flush(); continue; } } echo "

Scaning Sites by 'blog/wp-admin/setup-config.php'

"; for($i=0; $i<$domains; $i++){ $host= ($sites[$i]); $domain = Removecomma($host); $domain = str_replace(array("http://", "https://", "www."), "", trim($domain)); $domai = "http://" . $domain.'/blog/wp-admin/setup-config.php'; if($domain ==''){ continue; } ob_flush(); flush(); $ch = curl_init($domai); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 5); $data = curl_exec($ch); if(eregi('Select a default language', $data )){ echo "

Found! install WP now => $domai

"; ob_flush(); flush(); continue; } if(eregi("already exists.", $data )){ echo "

Already WP Installed => $domain

"; $wp=$wp.$domain."\r\n"; ob_flush(); flush(); continue; } else{ echo "

HTTP Error => $domain

"; ob_flush(); flush(); continue; } } echo "

Scaning Sites by 'wp/wp-admin/setup-config.php'

"; for($i=0; $i<$domains; $i++){ $host= ($sites[$i]); $domain = Removecomma($host); $domain = str_replace(array("http://", "https://", "www."), "", trim($domain)); $domai = "http://" . $domain.'/wp/wp-admin/setup-config.php'; if($domain ==''){ continue; } ob_flush(); flush(); $ch = curl_init($domai); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 5); $data = curl_exec($ch); if(eregi('Select a default language', $data )){ echo "

Found! install WP now => $domai

"; ob_flush(); flush(); continue; } if(eregi("lready exists.", $data )){ echo "

Already WP Installed => $domain

"; $wp=$wp.$domain."\r\n"; ob_flush(); flush(); continue; } else{ echo "

HTTP Error => $domain

"; ob_flush(); flush(); continue; } } echo "

Scaning Sites by 'wordpress/wp-admin/setup-config.php'

"; for($i=0; $i<$domains; $i++){ $host= ($sites[$i]); $domain = Removecomma($host); $domain = str_replace(array("http://", "https://", "www."), "", trim($domain)); $domai = "http://" . $domain.'/wordpress/wp-admin/setup-config.php'; if($domain ==''){ continue; } ob_flush(); flush(); $ch = curl_init($domai); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 5); $data = curl_exec($ch); if(eregi('Select a default language', $data )){ echo "

Found! install WP now => $domai

"; ob_flush(); flush(); continue; } if(eregi("already exists.", $data )){ echo "

Already WP Installed => $domain

"; $wp=$wp.$domain."\r\n"; ob_flush(); flush(); continue; } else{ echo "

HTTP Error => $domain

"; ob_flush(); flush(); continue; } } echo '

Scaning Finished .'; } $file = "wp.txt"; $handle = fopen($file, 'a'); fwrite($handle, "WordPress Sites \r\n"."$wp"); fclose($handle); } function Removecomma($host) { if (strrpos($host, ',', -1) == strlen($host) - 1) { return substr($host, 0, strrpos($host, ',', -1)); } else { return $host; } } function bing($site){ $ch=curl_init(); $i=1; while($i){ curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_URL,"http://www.bing.com/search?q=ip%3A$site&first=$i"); curl_setopt($ch,CURLOPT_COOKIEFILE,'cookie.txt'); curl_setopt($ch,CURLOPT_COOKIEJAR,'cookie.txt'); curl_setopt($ch,CURLOPT_USERAGENT,'msnbot/1.0 (+http://search.msn.com/msnbot.htm)'); curl_setopt($ch,CURLOPT_ENCODING,"gzip, deflate, compress"); $data=curl_exec($ch); preg_match_all('/