Ultimate WPScan Cheat Sheet

Ultimate WPScan Cheat Sheet

The definitive black-box WordPress security scanner.

1. General Scanning

Basic non-intrusive scans to fingerprint the WordPress installation.

Simple Scan

Check WordPress version, theme, and basic vulnerabilities.

wpscan –url http://target.com

Aggressive Detection

Use active probing (mixed) instead of just passive methods.

wpscan –url http://target.com –detection-mode mixed

2. Enumeration (-e)

The -e flag is the core of WPScan. Combine multiple options with commas.

Enumerate Users

Find usernames via Author Archives (ID 1-10).

wpscan –url http://target.com -e u
wpscan –url http://target.com -e u1-100

Enumerate Components

Find vulnerable plugins (vp) and vulnerable themes (vt).

wpscan –url http://target.com -e vp,vt

Full Enumeration

Find Users, Vulnerable Plugins, Vulnerable Themes, and Timthumbs (tt).

wpscan –url http://target.com -e u,vp,vt,tt

3. Password Attacks

Perform a dictionary attack against found users or a specific user.

Brute Force All Found Users

wpscan –url http://target.com -e u –passwords rockyou.txt

Brute Force Specific User

wpscan –url http://target.com –usernames admin –passwords rockyou.txt

Multithreading

Increase speed with -t (Default is 5). Be careful not to crash the site.

wpscan –url http://target.com -U admin -P rockyou.txt -t 20

4. Plugins & Themes (Deep Dive)

Aggressive Plugin Detection

By default, WPScan checks ~1,500 popular plugins. To check ALL 80,000+ plugins (slow), use aggressive mode.

wpscan –url http://target.com -e ap –plugins-detection aggressive

Check Specific Plugin

Only scan for plugins in your custom list.

wpscan –url http://target.com –plugins-list my_plugins.txt

5. WPVulnDB API Token

Critical: Without an API token, WPScan only shows version numbers, NOT the actual vulnerabilities (CVEs).

Register & Get Token

Sign up at wpscan.com/api (Free tier allows 25 requests/day).

Using the Token

wpscan –url http://target.com –api-token YOUR_API_TOKEN
Pro Tip:

Save your token in a config file ~/.wpscan/scan.yml so you don’t have to type it every time.

6. Bypass & Performance

Bypass WAF / User-Agent

Randomize the User-Agent to avoid detection by security plugins (Wordfence, iThemes).

wpscan –url http://target.com –random-user-agent

Stealth / Throttle

Wait 500ms between requests.

wpscan –url http://target.com –throttle 500

HTTP Auth

Scan a site behind basic authentication (.htaccess).

wpscan –url http://target.com –basic-auth admin:password

Cookie Session

Scan as a logged-in user.

wpscan –url http://target.com –cookie-string “PHPSESSID=…”

Leave a Reply

Your email address will not be published. Required fields are marked *