Code Monkey home page Code Monkey logo

enumerate-wordpress-usernames's Introduction

Enumerate WordPress Usernames

A bash script to find usernames for self-hosted WordPress sites.

WordPress creates a unique ID for each author sequentially.

This script enumerates through the "ugly" permalink version of author archives to find usernames for ID's 1-100.

The first author on a site usually has an ID of 1. The author archive for that user will exist at https://domain.com/?author=1

Once we have an author archive URL, we can then find the username from the Location header.

For example, if the script is run on WPTavern.com, it'll find a user with an ID of 2 at https://wptavern.com/?author=2

That URL then redirects to https://wptavern.com/author/jeffr0

Based on that author archive URL, we now know that jeffr0 is one the usernames/login names.

How to use the script

Change the site URL from https://domain.com to your own domain.

Copy & paste the bash one liner into a terminal, then hit Enter.

Limitations

  • Won't work for WordPress.com sites. WP.com is essentially a giant multisite
  • Some security plugins will prevent usernames from being enumerated

enumerate-wordpress-usernames's People

Contributors

garybarrettdev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.