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/

Suche
Kategorien
Mehr lesen
Tech
How a Livewire Vulnerability Led to Crypto Mining on Our Server
Last week, what initially looked like a routine performance problem turned into a full-scale...
Von Luckyy 2026-01-29 00:41:20 0 1KB
Tech
Windows 11 Tutorial: A Complete Beginner’s Guide
Windows 11 is Microsoft’s modern, simplified, and visually polished operating system...
Von Luckyy 2025-11-23 21:43:15 0 875
Tech
AI Security Threats: What Every IT Professional Needs to Know in 2026
The Evolving AI Threat Landscape As artificial intelligence becomes increasingly integrated into...
Von techhub 2026-02-27 13:15:48 0 561
Tech
Google Patches High-Severity WebView Vulnerability (CVE-2026-0628) — Update Now
Google has released an urgent security update to fix a high-severity vulnerability in the Chrome...
Von techhub 2026-02-27 13:15:47 0 861
Tech
Windows 11: How to Add or Remove Startup Apps
Press Ctrl + Shift + Esc. Open Startup Apps. Disable or enable apps.
Von Luckyy 2025-11-23 21:52:53 0 892