wpscan --url https://example.comPerforms a simple scan to detect core version, main theme, and common plugins.
A WordPress security scanner that enumerates versions, plugins, themes and users and checks them against a vulnerability database.
sudo apt install wpscanwpscan --url https://example.comPerforms a simple scan to detect core version, main theme, and common plugins.
wpscan --url https://example.com --verboseRuns a basic scan with verbose output to show more details about the execution.
wpscan --url https://example.com --no-bannerRuns the scan without displaying the WPScan ASCII art banner.
wpscan --url https://example.com --enumerate vpEnumerates only plugins that are known to be vulnerable.
wpscan --url https://example.com --enumerate pEnumerates the most popular WordPress plugins.
wpscan --url https://example.com --enumerate apEnumerates all plugins (aggressive detection, may take a long time).
wpscan --url https://example.com --enumerate ttScans specifically for TimThumb files (image resizing scripts often vulnerable).
wpscan --url https://example.com --enumerate cbScans for configuration backup files (e.g., wp-config.php.bak).
wpscan --url https://example.com --enumerate dbeScans for database export files which may contain sensitive data.
wpscan --url https://example.com --enumerate mEnumerates media IDs range to identify attachment names.
wpscan --url https://example.com --enumerate vp,vt,tt,cb,dbe,u,mRuns a comprehensive enumeration for vuln plugins, themes, timthumbs, backups, DB exports, users, and media.
wpscan --url https://example.com --api-token YOUR_TOKENUses the WPVulnDB API token to display specific vulnerability data for identified components.
Example
wpscan --url https://example.com --api-token ABC123XYZwpscan --url https://example.com --detection-mode passiveForces passive detection mode, processing only the homepage and avoiding aggressive requests.
wpscan --url https://example.com --detection-mode aggressiveForces aggressive detection mode, requesting every potential plugin/theme url to verify existence.
wpscan --url https://example.com --plugins-detection mixedUses a mix of passive and aggressive methods for plugin detection.
wpscan --url https://example.com --plugins-version-detection passiveChecks plugin versions solely based on the readme file or file headers without aggressive probing.
wpscan --url https://example.com --stealthyAlias command that enables random user agent, passive detection, and passive version detection.
wpscan --url https://example.com --throttle 500Waits 500 milliseconds between requests to avoid hitting rate limits.
wpscan --url https://example.com --request-timeout 60Sets the request timeout to 60 seconds for slow servers.
wpscan --url https://example.com --connect-timeout 30Sets the connection timeout to 30 seconds.
wpscan --url https://example.com --proxy http://127.0.0.1:8080Routes all traffic through an HTTP proxy (e.g., Burp Suite).
wpscan --url https://example.com --proxy socks5://127.0.0.1:9050Routes all traffic through a SOCKS5 proxy (e.g., Tor).
wpscan --url https://example.com --proxy-auth username:passwordProvides authentication credentials for the proxy server.
Example
wpscan --url https://example.com --proxy http://1.2.3.4:8080 --proxy-auth admin:secretwpscan --url https://example.com --http-auth username:passwordUses HTTP Basic Authentication for targets protected by .htaccess/htpasswd.
Example
wpscan --url https://example.com --http-auth admin:secretwpscan --url https://example.com --cookie "wordpress_logged_in_hash=value"Supplies a session cookie to simulate a logged-in user scan.
Example
wpscan --url https://example.com --cookie "wordpress_logged_in_x=12345"wpscan --url https://example.com --headers "X-Custom-Header: value"Adds custom HTTP headers to every request sent by the scanner.
Example
wpscan --url https://example.com --headers "X-Bug-Bounty: user123"wpscan --url https://example.com --disable-tls-checksDisables SSL/TLS certificate verification (useful for self-signed certificates).
wpscan --url https://example.com --forceForces the scan to proceed even if the target does not appear to be WordPress.
wpscan --url https://example.com --ignore-main-redirectPrevents the scanner from following a redirect on the main URL.
wpscan --url https://example.com --wp-content-dir custom-contentManually specifies the wp-content directory if it has been renamed for security.
Example
wpscan --url https://example.com --wp-content-dir wp-content-renamedwpscan --url https://example.com --wp-plugins-dir custom-pluginsManually specifies the plugins directory location.
Example
wpscan --url https://example.com --wp-plugins-dir assets/pluginswpscan --url https://example.com --enumerate uFirst step of brute force: identifying valid usernames to attack.
wpscan --url https://example.com --passwords rockyou.txt --usernames adminPerforms a password dictionary attack against a single username 'admin'.
Example
wpscan --url https://example.com -P rockyou.txt -U adminwpscan --url https://example.com --passwords pass.txt --usernames users.txtPerforms a password attack using a list of usernames and a list of passwords.
Example
wpscan --url https://example.com -P pass.txt -U users.txtwpscan --url https://example.com --wordlist dictionary.txt --threads 20Runs a brute force attack with increased concurrency (20 threads).
Example
wpscan --url https://example.com -P dictionary.txt -U admin -t 20wpscan --url https://example.com --password-attack wp-loginForces the brute force attack to use the standard wp-login.php form.
Example
wpscan --url https://example.com -P list.txt -U admin --password-attack wp-loginwpscan --url https://example.com --password-attack xmlrpcForces the brute force attack to use the XML-RPC interface (faster than wp-login).
Example
wpscan --url https://example.com -P list.txt -U admin --password-attack xmlrpcwpscan --url https://example.com --multicall-max-passwords 500Attempts 500 passwords per single XML-RPC request to optimize speed.
Example
wpscan --url https://example.com -P list.txt -U admin --password-attack xmlrpc --multicall-max-passwords 500wpscan --url https://example.com --exclude-content-based "Error"Excludes responses containing specific text 'Error' from valid login results.
Example
wpscan --url https://example.com -U admin -P list.txt --exclude-content-based "Error"wpscan --url https://example.com -U users.txt -P passwords.txt --login-uri /my-custom-loginTargets a custom login page URL instead of the default wp-login.php.
wpscan --url https://example.com -U admin -P pass.txt --password-attack wp-login --request-timeout 90Brute force on wp-login with extended timeout to handle server lag.
wpscan --url https://example.com -U admin -P pass.txt --view-state "XYZ"Passes a specific ViewState parameter if required by the login form.
wpscan --url https://example.com --format jsonOutputs the scan results to the console in JSON format.
wpscan --url https://example.com --format cli-no-colourOutputs text results without ANSI color codes (good for logging).
wpscan --url https://example.com --output report.txtSaves the default output into a file named report.txt.
wpscan --url https://example.com --format json --output result.jsonSaves the scan results in JSON format to a specific file.
wpscan --url https://example.com --debug-outputPrints raw requests and responses to the console for debugging scan issues.
wpscan --updateUpdates the WPScan internal database (requires internet connection).
wpscan --versionDisplays the currently installed version of WPScan.
wpscan --url https://example.com --no-updatePrevents WPScan from attempting to update the database before scanning (faster start).
wpscan --url https://example.com --scope-include-contentAllows the scanner to analyze content that might be outside the main domain scope.
wpscan --url https://example.com --enumerate u --users-detection-mode mixedUses both passive (author archives) and aggressive (login error messages) techniques to find users.
wpscan --url https://example.com --wp-themes-dir css/themesSpecifies a custom location for the themes directory.
wpscan --url https://example.com --config-file custom_config.ymlUses a YAML configuration file to define scan parameters instead of command line flags.
wpscan --url https://example.com --api-token TOKEN --enumerate vp,vtCombines API token with vulnerable plugin/theme enumeration for rich vulnerability data.
wpscan --url https://example.com --exclude-usernames admin,rootExcludes specific usernames from being reported or attacked.
Example
wpscan --url https://example.com --enumerate u --exclude-usernames admin,rootwpscan --url https://example.com --log file.logCreates a log file capturing the standard output of the scan.
wpscan --url https://example.com -e vp,vt,u --api-token TOKEN --random-user-agent --ignore-main-redirectA realistic red-team scan: enumerate vulns/users, use API, fake UA, and ignore redirects.
wpscan --url https://example.com --stealthy --api-token TOKEN --format json --output scan.jsonA stealthy, automated scan saving results to JSON for CI/CD pipelines.
wpscan --url https://example.com --enumerate ttSpecific check for legacy TimThumb vulnerability existence.
wpscan --url https://example.com --ssl-client-cert client.crt --ssl-client-key client.keyProvides client-side SSL certificates if the server requires mutual TLS.
wpscan --helpDisplays the full help menu with all available flags and options.
wpscan --url https://example.com --enumerate ap --plugins-list plugins.txtUses a custom list of plugins to check against the target instead of the default database.
wpscan --url https://example.com --enumerate at --themes-list themes.txtUses a custom list of themes to check against the target.
wpscan --url https://example.com --enumerate u --users-list users.txtChecks for the existence of specific users from a provided list.
wpscan --url https://example.com --cookie "PHPSESSID=123; path=/"Sets a generic PHP session ID cookie for the scan.
wpscan --url https://example.com --random-user-agent --throttle 1000Slow, randomized scan (1 request/sec) to evade WAF rate limiting.
wpscan --url https://example.com --enumerate vp,vt,tt,cb,dbe,u,m --detection-mode aggressiveMaximum noise scan: enumerates everything possible with aggressive detection enabled.
wpscan --url https://example.com --server https://githack.comSpecifies a custom server URL for WPScan updates (rarely used).
Example
wpscan --url https://example.com --server https://custom-update-server.comwpscan --url https://example.com --headers "Authorization: Bearer XYZ"Passes an OAuth bearer token in the headers for scans behind API gateways.
wpscan --url https://example.com --enumerate m1-100Enumerates media attachments specifically within ID range 1 to 100.
wpscan --url https://example.com --enumerate vp,vt,u --api-token TOKEN --random-user-agent --format json --output audit.jsonComplete audit command generating a JSON report with vuln data and randomized agent.
Example
wpscan --url https://example.com -e vp,vt,u --api-token TOKEN --ua --format json -o audit.jsonA web server scanner that checks for thousands of dangerous files, outdated software and common misconfigurations. Noisy by design.
A fast, template-based vulnerability scanner. Thousands of community YAML templates detect CVEs, misconfigurations and exposures.
Identifies the technologies behind a website — CMS, frameworks, server software, analytics and versions — using over 1,800 plugins.