Advertisement
Elmagico

Wordpress Users Extractor

May 26th, 2015
795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.45 KB | None | 0 0
  1. <html>
  2. <head>
  3. <meta content="text/html; charset=ISO-8859-1"
  4. http-equiv="content-type">
  5. <title></title>
  6. </head>
  7. <body style="background-color: black; color: rgb(0, 0, 0);"
  8. alink="#ee0000" link="#0000ee" vlink="#551a8b">
  9. <span style="color: rgb(51, 204, 0); font-weight: bold;">Wordpress
  10. Users Extractor By <a style="color: red;"
  11. href="https://www.facebook.com/ElKiller.2013">Magico</a></span><br>
  12. <span style="color: rgb(51, 51, 255);">
  13. <?php
  14. @header('Content-Type: text/html; charset=utf-8');
  15. error_reporting(0);
  16. set_time_limit(0);
  17. //==============================================================
  18. echo'<form method="post">
  19. <input name="s" type="text" value="" />
  20. <input name="g" type="submit" />
  21. </form>';
  22. //==============================================================
  23. $site= $_POST['s'];
  24. $go= $_POST['g'];
  25. //==============================================================
  26. if(isset($go) and !empty($site)){
  27.  
  28. echo "<span style=\"color: rgb(204, 102, 0);\">[#] Users Of $site :</span><br>";
  29. for($x = 0; $x <= 50; $x++){
  30.    
  31.   $url = $site."/?author=$x";
  32.     $ch = curl_init();
  33.     curl_setopt ($ch, CURLOPT_URL, $url);
  34.     curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
  35.     curl_setopt ($ch, CURLOPT_TIMEOUT, 30);
  36.     $back = curl_exec($ch);
  37.    
  38.     preg_match('#<title>(.*)\|(.*)<\/title>#',$back,$user);
  39.    
  40.     if(!empty($user[1])){
  41.         echo "$user[1]<br>";
  42.     }
  43.  
  44.   }//end for
  45. } // end if
  46. //==============================\\ The Ebd // =================================
  47. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement