
WPScan is a powerful vulnerability scanner designed for WordPress websites. Trusted by ethical hackers and security professionals, WPScan helps identify vulnerable plugins, themes, and core files. This cheatsheet includes essential commands, usage options, API integration, and real-world tips to secure WordPress efficiently.
WPScan Cheatsheet
The Ultimate WordPress Security Scanner Reference Guide
Basic WPScan Commands
wpscan --url https://example.com
wpscan --update
wpscan --help
wpscan --version
wpscan --url https://example.com --disable-tls-checks
wpscan --url https://example.com --random-user-agent
Enumeration Options
wpscan --url https://example.com --enumerate u
wpscan --url https://example.com --enumerate p
wpscan --url https://example.com --enumerate t
wpscan --url https://example.com --enumerate tt
wpscan --url https://example.com --enumerate cb
wpscan --url https://example.com --enumerate dbe
wpscan --url https://example.com --enumerate m
wpscan --url https://example.com --enumerate
wpscan --url https://example.com --plugins-detection mixed
wpscan --url https://example.com --enumerate u --limit 10
Brute Force Attacks
wpscan --url https://example.com --passwords passwords.txt
wpscan --url https://example.com --usernames users.txt --passwords passwords.txt
wpscan --url https://example.com --username admin --passwords passwords.txt
wpscan --url https://example.com --username admin --passwords passwords.txt --max-threads 10
wpscan --url https://example.com --passwords passwords.txt --cookie-string "wordpress_logged_in=..."
wpscan --url https://example.com --passwords passwords.txt --wp-content-dir custom-wp --multicall-max-passwords 50
Vulnerability Scanning
wpscan --url https://example.com --plugins-detection mixed
wpscan --url https://example.com --plugins-detection passive
wpscan --url https://example.com --plugin hello-dolly
wpscan --url https://example.com --theme twentytwenty
wpscan --url https://example.com --api-token YOUR_API_TOKEN
wpscan --url https://example.com --disable-tls-checks
Advanced Options
wpscan --url https://example.com --throttle 100
wpscan --url https://example.com --user-agent "Mozilla/5.0"
wpscan --url https://example.com --proxy http://127.0.0.1:8080
wpscan --url https://example.com --basic-auth user:password
wpscan --url https://example.com/blog --wp-content-dir custom-wp
wpscan --url https://example.com --stealthy
wpscan --url https://example.com --force
wpscan --url https://example.com --cookie-string "wordpress_logged_in=..."
Output Options
wpscan --url https://example.com --output scan.txt
wpscan --url https://example.com --format json
wpscan --url https://example.com --verbose
wpscan --url https://example.com --debug
wpscan --url https://example.com --no-color
wpscan --url https://example.com --quiet
Common Scan Combinations
wpscan --url https://example.com --enumerate u,p,t --plugins-detection mixed
wpscan --url https://example.com --stealthy --random-user-agent --throttle 500
wpscan --url https://example.com --plugins-detection passive --format json --output results.json
wpscan --url https://example.com --cookie-string "wordpress_logged_in=..." --enumerate vp,vt