Skip to content

WPScan ​

TIP

WPScan is a WordPress security scanner used to find vulnerabilities, enumerate users, plugins, and themes, and perform other security checks on WordPress sites.

πŸ”— Official Resources ​

οΏ½οΏ½ Common Commands ​

TaskCommand
Basic scanwpscan --url https://target.com
Enumerate userswpscan --url https://target.com --enumerate u
Enumerate pluginswpscan --url https://target.com --enumerate p
Check for vulnerable themeswpscan --url https://target.com --enumerate t

🏷️ Useful Flags ​

FlagDescription
--urlTarget WordPress site
--enumerateEnumeration options (u: users, p: plugins, t: themes, vp: vulnerable plugins, vt: vulnerable themes)
--api-tokenWPScan API token for vulnerability data
-eShort for --enumerate
-oOutput file
--random-user-agentUse a random user agent
--disable-tls-checksDisable SSL/TLS certificate checks

WARNING

Always have permission before scanning a WordPress site with WPScan. Unauthorized scanning is illegal and unethical.

πŸ“š Resources ​

πŸ† HTB CTF Go-To Command ​

A common WPScan command for enumerating users and plugins in HTB CTFs:

bash
wpscan --url http://10.10.10.10 --enumerate u,p --disable-tls-checks -o wpscan_results.txt
  • --url : Target WordPress site (replace with the actual target IP)
  • --enumerate u,p : Enumerate users and plugins
  • --disable-tls-checks : Ignore SSL/TLS errors (useful for CTFs)
  • -o : Output results to a file