Advertisement
AgusSR

WordPress U-Design Themes Uploadify Dorker

Apr 24th, 2016
1,372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.92 KB | None | 0 0
  1. <html>
  2. <form method="post">
  3. Dork: <input type="text" name="dork" value="inurl:/wp-content/themes/u-design" size="50" height="10">
  4. <input type="submit" value="scan">
  5. </form>
  6. </html>
  7. <?php
  8. // IndoXploit
  9. // Mr. Error 404 - shor7cut - tu5b0l3d - UstadCage_48 - sohai sec7or - cyber_taregh - ./MrJ - Mr. Xenophobic - bunglon_ijo - k3c0t - jackwild3r - wisnu404 - magelang6etar - Falcon-G21 - Rieqyns13
  10. class indoxploit {
  11.     public $dork;
  12.     public function google($dork, $page) {
  13.         $kunAPI = "AIzaSyDYG1FME1N7meBZLcywY7VojMHmtUAUIzY";
  14.         $dork = urlencode($dork);
  15.         $url = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&hl=iw&rsz=8&q={$dork}&key=$kunAPI&start={$page}";
  16.         $output = json_decode($this->http_getx($url, true), true);
  17.         if($output) {
  18.             return $output;
  19.         } else {
  20.             return false;
  21.         }
  22.     }
  23.     public function http_getx($url, $safemode = false) {
  24.         if($safemode === true) sleep(1);
  25.         $im = curl_init($url);
  26.         curl_setopt($im, CURLOPT_RETURNTRANSFER, 1);
  27.         curl_setopt($im, CURLOPT_CONNECTTIMEOUT, 10);
  28.         curl_setopt($im, CURLOPT_FOLLOWLOCATION, 1);
  29.         curl_setopt($im, CURLOPT_HEADER, 0);
  30.         return curl_exec($im);
  31.         curl_close();
  32.     }
  33.     public function buffer() {
  34.         ob_flush();
  35.         flush();
  36.     }
  37.    
  38. }
  39. $dorker = new indoxploit;
  40. $dork = $dorker->dork = $_POST['dork'];
  41. if(isset($dork)) {
  42.     $data = $dorker->google($dork, "0");
  43.     $dorker->buffer();
  44.     if($data) {
  45.         foreach($data['responseData']['cursor']['pages'] as $key => $data_page) {
  46.             $data = $dorker->google($dork, $data_page['start']);
  47.             foreach($data['responseData']['results'] as $key => $load_data) {
  48.                 if($_SESSION[$load_data['visibleUrl']]) {
  49.                 } else {
  50.                     $_SESSION[$load_data['visibleUrl']] = "1";
  51.                     $url = "http://".$load_data['visibleUrl']."/";
  52.                     echo $url."<br>";
  53.                 $dorker->buffer();
  54.                 }
  55.             }
  56.         }
  57.     $dorker->buffer();
  58.     } else {
  59.         echo "google captcha.";
  60.     }
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement