Here is a demo link uploaded by me .
http://www.onlineshoppingbangladesh.com/jmscan.php
<html>
<head>
<meta http-equiv="Content-Language" content="fr">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>~ JooMla serv3r ScaNN3r ~</title>
<style>
body,table{background: black; color: lime; font-size:13px; }
A:link {text-decoration: none;color: red;}
A:active {text-decoration: none;color: red;}
A:visited {text-decoration: none;color: red;}
A:hover {text-decoration: underline; color: red;}
#new,input,table,td,tr,#gg{border-style:solid;text-decoration:bold;}
input:hover,tr:hover,td:hover{background-color: #FFFFCC; color:green;}
</style>
</head>
<body>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><font size="5" color=#ff40a0>~# <font size="7" color=#00c0ff> JooMla Serv3r ScaNN3r</font></p><br>
<form method="POST">
<p align="center"><input type="text" name="site" size="65" style="border:1px dotted #60c0ff; font-family:Tahoma; font-size:10pt; color:red; background-color:#000000"><input type="submit" value="ScaN" style="border:1px dotted lime; font-family:Tahoma; font-size:10pt; color:red; background-color:#000000"></p>
</form><center>
<?php@set_time_limit(0);
@error_reporting(E_ALL | E_NOTICE);
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 ($_POST)
{
$ip = trim(strip_tags($_POST['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 . '&)siU', $x, $linksuiv) == 0)
break;
}
else
break;
}
$allDmns = array();
foreach ($allLinks as $kk => $vv){
$allDmns[] = $vv;
}
echo'<table border="1" width=\"80%\" align=\"center\">
<tr><td width=\"30%\"><b><font color="#00c020">Server IP : </font></b></td><td><b>'.$ip.'</b></td></tr>
<tr><td width=\"30%\"><b><font color="#00c020">Sites Found : </font></b></td><td><b><font color="#ffff40">'.count(array_unique($allDmns)).'</font></b></td></tr>
</table>';
echo "<br><br>";
echo'<table border="1" width="80%" align=\"center\">';
foreach(array_unique($allDmns) as $h3h3){
echo'<tr id=new><td><b><a href='.$h3h3.'>'.$h3h3.'</a></b></td>';
}
echo"</table>";
}
?></center>
<br><p align="center"><font size="3">
<font color="#00c0ff">~# <font color="#00ffa0"></b>Coded By <b> <font color="#ff60a0"> Challenges-HackerS<b>
</body>
</html>
credit to mhu@larm
Post a Comment