dnsx3

Find an inject 0day

May 8th, 2013
625
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.92 KB | None | 0 0
  1. <head>
  2. <style css="text/css">
  3. body {background-color: black}
  4. </style>
  5. <meta name="keywords" content="Tool Group x3">
  6. <meta name="description" content="Tool Group x3">
  7. <title>Tool Group x3</title>
  8. </head>
  9.  
  10. <body style="background-color: #4D4D4D">
  11. <html>
  12.  
  13.     <p align="center"><font face="Consolas" size="2" color="red">
  14.         <br>
  15.         </font><b><font face="Consolas" size="2">
  16.         \ Color Options /</font></b></p>
  17.         <center>
  18.             <table algin="center" border="1" width="36%" style="font-family: Consolas; border: 1px solid #C0C0C0; " >
  19.                     <tr>
  20.                             <td align="center">
  21.                             <p align="center"><b><font size="2">Joomla</font></b></td>
  22.                             <td align="center">
  23.                             <p align="center"><b><font face="Consolas" size="2">Joomla</font></b></td>
  24.                     </tr>
  25.                     <tr>
  26.                             <td height="24" align="center">
  27.                             <p align="center"><font size="2" color="#00FF00"><b>
  28.                             Green infected</b></font></td>
  29.                             <td height="24" align="center">
  30.                             <p align="center"><b><font size="2" color="#FFFFFF">
  31.                             White uninfected</font></b></td>
  32.                     </tr>
  33.             </table>
  34.             </center>
  35.             <font color=red>
  36.  
  37. <div style="text-align: left;">
  38.     &nbsp;</div></font>
  39. <div style="text-align: left;">
  40.     <font color=red><b><font color="FF0000" size="4">&nbsp;</font></b></div>
  41. <html>
  42. <body style="background-color: #4D4D4D">
  43.  
  44. <p>&nbsp;</p>
  45.  
  46. </body>
  47. </html>
  48.  
  49. <?php
  50.  
  51. set_time_limit(0);
  52. function checke($url){
  53.     $login = $url;
  54.     $ch = curl_init();
  55.     curl_setopt($ch,CURLOPT_URL,$login);
  56.     curl_setopt($ch,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1');
  57.     curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
  58.     $result = curl_exec($ch);
  59.     curl_close($ch);
  60.     return $result;
  61.     }
  62. function scan($ip)
  63. {
  64.     $dork = "/index.php?option=com";
  65.     $num = 1;
  66.     for($i=1;$i<=10;$i++)
  67.     {
  68.         $text = file_get_contents("http://www.bing.com/search?q=ip%3a{$ip}+{$dork}&go=&qs=ds&filt=all&first={$num}");
  69.         $num = $num + 10;
  70.         preg_match_all('#(<div class="sb_tlst">.*<h3>.*<a href="(.*)".*>(.*)</a>.*</h3>.*</div>)#siU',$text,$m);
  71.         foreach($m[2] as $s)
  72.         {
  73.             $array[] = check($s);
  74.             $dd = array_unique($array);
  75.         }
  76.     }
  77.     return $dd;
  78. }
  79. function check($url)
  80. {
  81.     $url = explode("/index.php?option=com",$url);
  82.     $url = str_replace("www.","",$url);
  83.     $url = str_replace("http://","http://www.",$url);
  84.     return $url[0]."/";
  85. }
  86. if($_POST['ip'])
  87. {
  88.     foreach(scan($_POST['ip']) as $url)
  89.     {
  90.         $dork = "index.php?option=com_jce&task=plugin&plugin=imgmanager&file=imgmanager&method=form&cid=20&6bc427c8a7981f4fe1f5ac65c1246b5f=9d09f693c63c1988a9f8a564e0da7743";
  91.         $text = checke($url.$dork);                    
  92.         if(eregi('{"result":null,"error":"No function call specified!"}',$text) or eregi('{"result":null,"error":"Cannot call function . Function not registered!"}',$text))
  93.         {
  94.             echo "<a href='{$url}{$dork}'><font color=#00FF00><b>{$url}</b></font></a><br />";
  95.             flush();
  96.         }else{
  97.             echo "<a href='{$url}'><font color=white><b>{$url}</b></font></a><br />";
  98.             flush();
  99.         }
  100.     }
  101. }else{
  102.  
  103.  
  104.  
  105.     echo "<font color=black><b>please enter ip address :</b></font></a><br /><form action='?' method='POST'><input name='ip' type='text' ><br><input type='submit' value='check'></form>";
  106.  
  107.  
  108. }
  109. ?></font><p>&nbsp;</p>
  110. <p><b><kbd><font face="Tahoma">These tool to develop ideas and not attack or penetration, we are here to develop the ethical hacker</font></kbd></b></p>
  111. <p><b><kbd><font face="Tahoma">Group x3 : Lov3rDNS , Shark Hidden , Mr.Dm4r</font></kbd></b></p>
Advertisement
Add Comment
Please, Sign In to add comment