How to Install WPScan on Linux (2026)

0
456

Install Steps for WPScan on Ubuntu

If Git is not installed, install it first. Git allows you to clone and update the WPScan repository.

sudo apt-get update
sudo apt-get install git -y

Install Prerequisites

WPScan requires several dependencies:

sudo apt-get install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev -y

Make sure Ruby is installed:

ruby -v

If needed:

sudo apt-get install ruby-full -y

Clone WPScan Repository

Clone the official WPScan repository:

git clone https://github.com/wpscanteam/wpscan.git

Move into the directory:

cd wpscan

Install required Ruby gems:

sudo gem install bundler
bundle install --without test development

Launch WPScan

Run WPScan using Ruby:

ruby wpscan.rb

You should see the WPScan banner displayed in the terminal.


Examples

Help menu:

ruby wpscan.rb --help

Basic scan:

ruby wpscan.rb --url https://www.example.com

Enumerate plugins:

ruby wpscan.rb --url https://www.example.com --enumerate p

Enumerate themes:

ruby wpscan.rb --url https://www.example.com --enumerate t

Enumerate users:

ruby wpscan.rb --url https://www.example.com --enumerate u

Use HTTP proxy:

ruby wpscan.rb --url https://www.example.com --proxy 127.0.0.1:8118

Use SOCKS5 proxy:

ruby wpscan.rb --url https://www.example.com --proxy socks5://127.0.0.1:9000

Custom content directory:

ruby wpscan.rb -u https://www.example.com --wp-content-dir custom-content

Custom plugins directory:

ruby wpscan.rb -u https://www.example.com --wp-plugins-dir wp-content/custom-plugins

Debug output:

ruby wpscan.rb --url https://www.example.com --debug-output 2>debug.log

Updating WPScan

WPScan should be updated regularly to keep vulnerability signatures current.

From inside the installation directory:

cd wpscan
git pull

Note

Only scan websites you own or have explicit permission to test. Unauthorized scanning may violate laws or platform policies.




Read the full article: https://luckyy.uk/how-to-install-wpscan-on-linux-2026/

Search
Categories
Read More
Tech
Why Big Social Media Feels Fake Now
Not long ago, social media felt personal. You followed people you knew, saw posts in real time,...
By Luckyy 2026-01-02 18:23:16 0 2K
Tech
YouTube Deletes Major “AI Slop” Channels in Platform Crackdown
YouTube has begun removing some of the platform’s largest so-called “AI slop” channels in a...
By techhub 2026-02-27 13:15:45 0 415
Tech
How to Install Burp Suite on Ubuntu (2026 Guide)
Burp Suite Community Edition can be installed on Ubuntu using the official Linux installer...
By techhub 2026-02-27 13:15:43 0 455
Tech
HOW TO STRIP METADATA (THE RIGHT WAY)
FIRST: THE CORE RULE If you didn’t strip metadata yourself, assume it’s still there....
By Luckyy 2025-12-24 10:17:18 0 2K
Tech
Myrient to Shut Down on March 31, 2026
Myrient, a widely used online archive for video game preservation files, has announced it will...
By techhub 2026-02-27 13:15:41 0 594