SHOW:
|
|
- or go back to the newest paste.
1 | <html> | |
2 | <head> | |
3 | <meta http-equiv="Content-Language" content="fr"> | |
4 | <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> | |
5 | <p align="center"> | |
6 | <div align="center" class="banner">Joomla Server Scanner</div> | |
7 | <p align="center"> </p> | |
8 | <img border="0" src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/370365_100003795511051_561161049_n.jpg"</p> | |
9 | <link href="http://dz48-coders.org/indexi/pic/favicon.ico" type="image/x-icon" rel="shortcut icon" /> | |
10 | <title>Joomla Server Scanner</title> | |
11 | <style> | |
12 | body{background-color:#222222;color:#A52A2A;font-family: "Comic Sans MS", cursive, sans-serif;text-align:center} | |
13 | span,h1,a{font-weight: bolder;text-decoration:none;} | |
14 | div.content{padding: 5px;margin-left:5px;background-color:#222;} | |
15 | a:hover{text-decoration:underline;} | |
16 | input,textarea,select{margin:0;color:#999;background-color:#222;border:1px solid $color;font: 8pt Tahoma,"Tahoma";} | |
17 | .banner {font-size: 36px;color: #FFFFFF;background-color: #000000;font-family: Georgia, "Times New Roman", Times, serif;} | |
18 | </style> | |
19 | </head> | |
20 | <body> | |
21 | <p align="center"> </p> | |
22 | <form method="GET"> | |
23 | <p align="center">IP :<input type="text" name="site" size="65"><input type="submit" value="ScaN"></p> | |
24 | <p align="center"> </p> | |
25 | </form><center> | |
26 | <?php | |
27 | /* | |
28 | ||
29 | File Writed By Damane2011 | |
30 | ||
31 | Thanks To: Lagripe-Dz(n4ss!m) | |
32 | ||
33 | Email: Damane-Dz@hotmail.com | |
34 | ||
35 | Twitter: @DamaneDz | |
36 | ||
37 | */ | |
38 | ||
39 | @set_time_limit(0); | |
40 | @error_reporting(0); | |
41 | ||
42 | function sec($site){ | |
43 | preg_match_all('{http://(.*?)(/index.php)}siU',$site, $sites); | |
44 | if(eregi("www",$sites[0][0])){ | |
45 | return $site=str_replace("index.php","",$sites[0][0]); | |
46 | }else{ | |
47 | return $site=str_replace("http://","http://www.",str_replace("index.php","",$sites[0][0])); | |
48 | }} | |
49 | ||
50 | $npages = 50000; | |
51 | ||
52 | if ($_GET) | |
53 | { | |
54 | $ip = trim(strip_tags($_GET['site'])); | |
55 | $npage = 1; | |
56 | $allLinks = array(); | |
57 | while($npage <= $npages) | |
58 | { | |
59 | $x=@file_get_contents('http://www.bing.com/search?q=ip%3A'.$ip.'+index.php?option=com&first='.$npage); | |
60 | if ($x) | |
61 | { | |
62 | preg_match_all('(<div class="sb_tlst">.*<h3>.*<a href="(.*)".*>(.*)</a>.*</h3>.*</div>)siU', $x, $findlink); | |
63 | foreach ($findlink[1] as $fl) | |
64 | $allLinks[]=sec($fl); | |
65 | $npage = $npage + 10; | |
66 | if (preg_match('(first=' . $npage . '&)siU', $x, $linksuiv) == 0) | |
67 | break; | |
68 | } | |
69 | else | |
70 | break; | |
71 | } | |
72 | $allsites = array(); | |
73 | foreach ($allLinks as $kk => $vv){ | |
74 | $allsites[] = $vv; | |
75 | } | |
76 | echo'<table border="1" width=\"80%\" align=\"center\"> | |
77 | <tr><td width=\"30%\"><b>Server IP : </b></td><td><b>'.$ip.'</b></td></tr> | |
78 | <tr><td width=\"30%\"><b>Sites Found : </b></td><td><b>'.count(array_unique($allsites)).'</b></td></tr> | |
79 | </table>'; | |
80 | echo "<br><br>"; | |
81 | echo'<table border="1" width="80%" align=\"center\">'; | |
82 | foreach(array_unique($allsites) as $dom){ | |
83 | flush(); | |
84 | echo'<tr id=new><td><b><a href='.$dom.'>'.$dom.''; | |
85 | } | |
86 | echo"</table>"; | |
87 | } | |
88 | ?> | |
89 | <p align="center"> </p> | |
90 | <p align="center"><font color="#F6358A" size="4">By Damane2011</font><br><br> | |
91 | MaDe in AlGeria 2012 ©</p> | |
92 | </center> | |
93 | </body> | |
94 | </html> |