facebook facebook twitter rss

bing.com | usa.gov | Cheking script joomla 1.7 , 1.6

Author: lOv3rDns , Published: 07-06-2014

<?php



    
/* You can develope .. Search SQL OR JCE */

    /* php joomlax3.php Dork -bingcom */

    /*  php joomlax3.php Dork -usagov */



    
@set_time_limit(0);
    @
error_reporting(0);
    echo (
"
    [*]-------------------------------------------------[*]
    [*] Script Joomla 1.6 | Joomla 1.7 On Search Engine [*]
    [*] Search Engine : www.bing.com | www.usa.gov      [*]
    [*]           Coder By Lov3rDns                     [*]
    [*] Thx : Allah, xSecurity , Mr.Dm4r , Shark Hidden [*]
    [*]-------------------------------------------------[*]\n"
);
    echo 
"
    [*] Usage : php 
$argv[0] Dork -usagov
    [*] Usage : php 
$argv[0] Dork -bingcom";
    echo 
"\n";
    echo 
"\n";
    if(
count($argv)<=2)
    {
    echo 
"
    ++++++++++++++++ Error ++++++++++++++++
    [*] Usage : php 
$argv[0] Dork -usagov
    [*] Usage : php 
$argv[0] Dork -bingcom
    ++++++++++++++++ Error ++++++++++++++++
    "
;
    exit();
               }
              function 
checke($dns){
             
$login $dns;
            
$ch curl_init();
           
curl_setopt($ch,CURLOPT_URL,$login);
          
curl_setopt($ch,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1');
         
curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
        
$result curl_exec($ch);
       
curl_close($ch);
      return 
$result;
     }
    function 
check($url,$dork)
     {
      
$url explode($dork,$url);
       
$url str_replace("www.","",$url);
        
$url str_replace("http://","http://www.",$url);
         return 
$url[0]."/";
          }
           
$options $argv[2];
            switch(
$options)
             {
              case 
"-usagov":
               
/*Start Scan On usa.gov */
                
$dork $argv[1];
                 
$fopen fopen('Gov.txt','a+');
                  
$result77 = array();
                   for(
$i=1;$i<=90;$i++)
                  {
                 
$url = @file_get_contents('http://search.usa.gov/search?affiliate=usagov&m=&page='.$i.'&query='.$dork.'');
                
preg_match_all("#<div class='url'>(.*?)</div>#i",$url,$new);
               foreach(
$new[1] as $dns)
              {
             
$dns "http://".$dns;
            if((
eregi($dork,$dns)) and (!in_array(check($dns,$dork),$result77))){
           
$scan checke($dns);
          
$result77[] = check($dns,$dork);
         if(
eregi('Joomla! 1.7 - Open Source Content Management',$scan) or eregi('Joomla! 1.6 - Open Source Content Management',$scan))
        {
       echo 
'[ + ] '.check($dns,$dork).''."\r\n";
      
flush();
     
fwrite($fopen,check($dns,$dork));
    }
     else {
      echo 
'[ - ] '.check($dns,$dork).''."\r\n";
       
flush();
        }
         }
          }
           }
            break;
            exit();
             
flush();
              
/* Start Scan On bing.com */
               
case "-bingcom":
                
//$ip = $argv[1];
                 
$dork $argv[1];
                  
$fopen fopen('joomla.txt','a+');
                   
// $num = 1;
                    
$result77 = array();
                   for(
$i=1;$i<=100000;$i++)
                  {
                 
$num $i*10;
                
$bing = @file_get_contents("http://www.bing.com/search?q={$dork}&go=&qs=ds&filt=all&first={$num}");
              
#$bing = @file_get_contents("http://www.bing.com/search?q={$dork}&qs=n&pq={$dork}&sc=8-9&sp=-1&sk=&cvid=a60d3d232fb448d6b46a178b277c7039&first={$num}&FORM=PERE");
            
preg_match_all('#(<div class="sb_tlst">.*<h3>.*<a href="(.*)".*>(.*)</a>.*</h3>.*</div>)#siU',$bing,$loop);
            foreach(
$loop[2] as $dns)
           {
          if((
eregi($dork,$dns)) and (!in_array(check($dns,$dork),$result77))){
         
$scan checke($dns);
        
$result77[] = check($dns,$dork);
       if(
eregi('Joomla! 1.7 - Open Source Content Management',$scan) or eregi('Joomla! 1.6 - Open Source Content Management',$scan))
      {
     echo 
'[ + ] '.$dns,$dork.''."\r\n";
    
flush();
     
fwrite($fopen,$dns,$dork);
      }
       else {
        echo 
'[ - ] '.$dns,$dork.''."\r\n";
         
flush();
          }
           }
            }
             }
              break;
               default:
                echo 
"";
                 exit();
                  
flush();
                 }
?>

Like us on Facebook :