[PHP] Joomla Server Scanner

<html>
<head>
<meta http-equiv="Content-Language" content="fr">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<p align="center">
<div align="center" class="banner">Joomla Server Scanner</div>
<p align="center">&nbsp;</p>
<img border="0" src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/370365_100003795511051_561161049_n.jpg"</p>
<link href="http://dz48-coders.org/indexi/pic/favicon.ico" type="image/x-icon" rel="shortcut icon" />
<title>Joomla Server Scanner</title>
<style>
body{background-color:#222222;color:#A52A2A;font-family: "Comic Sans MS", cursive, sans-serif;text-align:center}
span,h1,a{font-weight: bolder;text-decoration:none;}
div.content{padding: 5px;margin-left:5px;background-color:#222;}
a:hover{text-decoration:underline;}
input,textarea,select{margin:0;color:#999;background-color:#222;border:1px solid $color;font: 8pt Tahoma,"Tahoma";}
.banner {font-size: 36px;color: #FFFFFF;background-color: #000000;font-family: Georgia, "Times New Roman", Times, serif;}
</style>
</head>
<body>
<p align="center">&nbsp;</p>
<form method="GET">
<p align="center">IP :<input type="text" name="site" size="65"><input type="submit" value="ScaN"></p>
<p align="center">&nbsp;</p>
</form><center>
<?php
/*
 
File Writed By Damane2011

Thanks To: Lagripe-Dz(n4ss!m)
 
Email: Damane-Dz@hotmail.com
 
Twitter: @DamaneDz
 
*/

@set_time_limit(0);
@error_reporting(0);

function sec($site){
preg_match_all('{http://(.*?)(/index.php)}siU',$site, $sites);
if(eregi("www",$sites[0][0])){
return $site=str_replace("index.php","",$sites[0][0]);
}else{
return $site=str_replace("http://","http://www.",str_replace("index.php","",$sites[0][0]));
}}

$npages = 50000;

if ($_GET) 
{
  $ip = trim(strip_tags($_GET['site']));
  $npage = 1;
  $allLinks = array();
  while($npage <= $npages) 
  { 
  $x=@file_get_contents('http://www.bing.com/search?q=ip%3A'.$ip.'+index.php?option=com&first='.$npage);
 if ($x)
 {
       preg_match_all('(<div class="sb_tlst">.*<h3>.*<a href="(.*)".*>(.*)</a>.*</h3>.*</div>)siU', $x, $findlink);
  foreach ($findlink[1] as $fl)
  $allLinks[]=sec($fl);
  $npage = $npage + 10;
  if (preg_match('(first=' . $npage . '&amp)siU', $x, $linksuiv) == 0) 
   break;      
 }
    else
  break;
  }
$allsites = array();
foreach ($allLinks as $kk => $vv){
$allsites[] = $vv;
} 
echo'<table border="1"  width=\"80%\" align=\"center\">
<tr><td width=\"30%\"><b>Server IP&nbsp;&nbsp;&nbsp;&nbsp; : </b></td><td><b>'.$ip.'</b></td></tr>   
<tr><td width=\"30%\"><b>Sites Found&nbsp; : </b></td><td><b>'.count(array_unique($allsites)).'</b></td></tr>
</table>';
echo "<br><br>";
echo'<table border="1" width="80%" align=\"center\">';
foreach(array_unique($allsites) as $dom){
       flush();
echo'<tr id=new><td><b><a href='.$dom.'>'.$dom.'';
}
echo"</table>";
}
?>
<p align="center">&nbsp;</p>
<p align="center"><font color="#F6358A" size="4">By Damane2011</font><br><br>
MaDe in AlGeria 2012 &copy</p>
</center>
</body>
</html>
[PHP] Joomla Server Scanner Reviewed by Nguyen Nam Hong on 10:33 AM Rating: 5
Copyright © Kid1412 Blog's 💖 2016
Development by Hong Nguyen Nam
Powered by Blogger.