Unconfigured Ad Widget

Collapse

Anúncio

Collapse
No announcement yet.

Easy bing dorker

Collapse
X
 
  • Filter
  • Tempo
  • Show
Clear All
new posts

  • Font Size
    #1

    Tools Easy bing dorker

    Boas!
    Segue um script simples para captura de sites através de dorks utilizando o bing como intermédio.

    Code:
    Código PHP:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>Domestic by FCT</title>
    <link href="http://fonts.googleapis.com/css?family=Dancing+Script|Oswald" rel="stylesheet" type="text/css" />
    <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
    <style type="text/css">
    .asd {
        color: #FF9900;
    }
    .asd {
        color: #000000;
    }
    #wrapper #logo h1 .asd .asd {
        color: #999999;
    }
    </style>
    </head>
    <body>
    <div id="wrapper">
        <div id="menu-wrapper">
            <div id="menu" class="container">
                <div align="justify">
                  <ul>
                    <li class="current_page_item"><a href="http://janissaries.org/">Janissaries.org</a></li>
                    
                  </ul>
              </div>
            </div>
        </div>
      <div id="logo" class="container">
        <h1><a href="http://janissaries.org/" class="asd">Easy B<span class="asd">ing dorker</span></a></h1>
            <p>by n4sss</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
      </div>
    <!-- end #page --></div>

    <br />

    <form action="" method="post" name="form1">
    Dork List:<br />

    <textarea class="asd" name="dorks" cols="30" rows="10"></textarea><br />

    Log to save results:<br />
    <input name="log" type="text" value="ok_dorks.txt" maxlength="50" /><br /><br />
    <input name="submit" type="submit" value="BING!" />
    </form>
    </body>
    </html>

    <?php
    /*
     * Simple Bing dorker
     * By n4sss.
     * */

    set_time_limit(0);
    error_reporting(0);

    function 
    save($content$file){
        
    $fp fopen($file"a");
              
    fwrite($fp$content."\r\n");
              
    fclose($fp);
    }
     
    function 
    sec($site){
    preg_match_all('{http://(.*?)(/)}siU',$site$sites);
    if(
    preg_match("/www/",@$sites[0][0])){
        return 
    $site;
    }
    else{
        return 
    $site=str_replace("http://","http://www.",str_replace("index.php","",@$sites[0][0]));
    }
    }

    function 
    dorker($dorks$log){
        
    $npages 100;
    foreach(
    $dorks as $dork){
        
    $npage 1;
        
    $allLinks = array();
        while(
    $npage <= $npages) { 
            
    $x=@file_get_contents("http://www.bing.com/search?q=".str_replace(" ","+",$dork)."&go=&filt=all&first=".$npage."");
            
    flush();
            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;
        }

        
    $allDmns = array();
        foreach (
    $allLinks as $kk => $vv){
            
    $allDmns[] = $vv;
        }

        foreach(
    array_unique($allDmns) as $h3h3){
            
    save($h3h3,$log);
        }
        echo 
    "<br>Sites writed to -> $log<br>";
        }
    }

    if(
    $_POST){
        
    $dorks explode("\r\n"$_POST['dorks']);
        
    $log trim($_POST['log']);
        
    dorker($dorks$log);
    }else{echo 
    "<br>Insert dorks and -> BING!<br>";}
    ?>
    Youtube:
    Apenas usuários registrados e ativados podem ver os links., Clique aqui para se cadastrar...

    []'s
    n4sss@m4g1cl4b~#$I
    just this.

  • Font Size
    #2
    Ficou legal, ainda uso o google, mas o código ficou massa, parabéns

    Comment


    • Font Size
      #3
      Sony

      Postado Originalmente por n4sss Ver Post
      Boas!
      Segue um script simples para captura de sites através de dorks utilizando o bing como intermédio.

      Code:
      Código PHP:
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="content-type" content="text/html; charset=utf-8" />
      <title>Domestic by FCT</title>
      <link href="http://fonts.googleapis.com/css?family=Dancing+Script|Oswald" rel="stylesheet" type="text/css" />
      <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
      <style type="text/css">
      .asd {
          color: #FF9900;
      }
      .asd {
          color: #000000;
      }
      #wrapper #logo h1 .asd .asd {
          color: #999999;
      }
      </style>
      </head>
      <body>
      <div id="wrapper">
          <div id="menu-wrapper">
              <div id="menu" class="container">
                  <div align="justify">
                    <ul>
                      <li class="current_page_item"><a href="http://janissaries.org/">Janissaries.org</a></li>
                      
                    </ul>
                </div>
              </div>
          </div>
        <div id="logo" class="container">
          <h1><a href="http://janissaries.org/" class="asd">Easy B<span class="asd">ing dorker</span></a></h1>
              <p>by n4sss</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p>
        </div>
      <!-- end #page --></div>

      <br />

      <form action="" method="post" name="form1">
      Dork List:<br />

      <textarea class="asd" name="dorks" cols="30" rows="10"></textarea><br />

      Log to save results:<br />
      <input name="log" type="text" value="ok_dorks.txt" maxlength="50" /><br /><br />
      <input name="submit" type="submit" value="BING!" />
      </form>
      </body>
      </html>

      <?php
      /*
       * Simple Bing dorker
       * By n4sss.
       * */

      set_time_limit(0);
      error_reporting(0);

      function 
      save($content$file){
          
      $fp fopen($file"a");
                
      fwrite($fp$content."\r\n");
                
      fclose($fp);
      }
       
      function 
      sec($site){
      preg_match_all('{http://(.*?)(/)}siU',$site$sites);
      if(
      preg_match("/www/",@$sites[0][0])){
          return 
      $site;
      }
      else{
          return 
      $site=str_replace("http://","http://www.",str_replace("index.php","",@$sites[0][0]));
      }
      }

      function 
      dorker($dorks$log){
          
      $npages 100;
      foreach(
      $dorks as $dork){
          
      $npage 1;
          
      $allLinks = array();
          while(
      $npage <= $npages) { 
              
      $x=@file_get_contents("http://www.bing.com/search?q=".str_replace(" ","+",$dork)."&go=&filt=all&first=".$npage."");
              
      flush();
              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;
          }

          
      $allDmns = array();
          foreach (
      $allLinks as $kk => $vv){
              
      $allDmns[] = $vv;
          }

          foreach(
      array_unique($allDmns) as $h3h3){
              
      save($h3h3,$log);
          }
          echo 
      "<br>Sites writed to -> $log<br>";
          }
      }

      if(
      $_POST){
          
      $dorks explode("\r\n"$_POST['dorks']);
          
      $log trim($_POST['log']);
          
      dorker($dorks$log);
      }else{echo 
      "<br>Insert dorks and -> BING!<br>";}
      ?>
      Youtube:
      Apenas usuários registrados e ativados podem ver os links., Clique aqui para se cadastrar...

      []'s
      Parabéns! n4sss também programo em PHP
      sigpic

      Comment


      • Font Size
        #4
        Arquivo -> Apenas usuários registrados e ativados podem ver os links., Clique aqui para se cadastrar...
        n4sss@m4g1cl4b~#$I
        just this.

        Comment

        X
        Working...
        X