How to install WPScan on Ubuntu 20.04/ 18.04?

Windows Articles

Configure Samba File share Services with Ubuntu 20.04 LTS

Here, Today! let's discuss samba file share service with Ubuntu 20.04 LTS. If you need to share files between Linux and MS Windows...

Install Matomo on Ubuntu 20.04

Hello, friends. In this post, you will learn how to install Matomo on Ubuntu 20.04. It's quite useful to measure the traffic to our...

How to change DNS in Windows 10

Hi! Today we will talk a bit about networks. In fact, we will touch on a topic related to connectivity. Specifically we will see...

The new Windows 10 file explorer will arrive with 21H2 update.

Hello! Microsoft does not stop working (except at Christmas) to continue polishing to Windows 10. In fact, users are gradually receiving the 20H2 update....

How to create an FTP server in Android

Hello! How are you? Currently sharing files from your PC to Android can be more comfortable and easy, without the need to use a...
angeloma
angeloma
Senior Writer and partner

Security is something that all of us must care about quite a bit. Especially if we have a web site that we manage. And although it is true that, the security aspects of the various applications of a server have been greatly improved, it is also true that cyber thieves have also improved. In this sense, WordPress is one of the most popular CMS that exist today, is very well designed making it a safe option. However, it is convenient that we use tools to verify the possible vulnerabilities that our site may have built with WordPress. Therefore, I will teach you how to install WPScan on Ubuntu 20.04 / 18.04 so that you can use it and make a study on a website made with WordPress and thus know and improve the vulnerabilities.

According to its website, WPScan is a free, for non-commercial use, black box WordPress vulnerability scanner. It is written for security professionals and blog maintainers to test the security of their sites. Normally, WPScan comes pre-installed on operating systems specifically geared towards security audits.

Of course, this tool is Open Source so we can examine its source code to learn more. In addition, it is possible to access more information about it on its Github site. The requirements are Ruby, Git, Curl, and RubyGems.

So let’s install WPScan on Ubuntu 20.04/ 18.04.

Update the System

The first step is to update the system. So open a terminal and run the following command.

:~$ sudo apt update && sudo apt upgrade -y

1.- Upgrade the system
1.- Upgrade the system

Once the system has finished installing the security patches, you will have a more stable and robust system.

Install some required packages

The next step to install WPScan on Ubuntu 20.04 / 18.04, is to get some packages that are necessary for the installation. Some of them are libraries and others are applications as such.

:~$ sudo apt install curl git libcurl4-openssl-dev make zlib1g-dev gawk g++ gcc libreadline6-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config ruby ruby-bundler ruby-dev

2.- Install the required packages
2.- Install the required packages

So, you can now install WPScan.

Install WPScan on Ubuntu 20.04 / 18.04

Now you start the installation process. For this, you will use RubyGems.

:~$ sudo gem install wpscan

3.- Install WPScan on Ubuntu 20.04 / 18.04
3.- Install WPScan on Ubuntu 20.04 / 18.04

So, that’s it.

Basic usage of WPScan

Using WPScan is quite simple. To make a scan on a website, the following command is enough:

:~$ wpscan --url [url]

It is also possible to add some extra options through text files. These are the files:

  • ~/.wpscan/cli_options.json
  • ~/.wpscan/cli_options.yml

And to know in depth the use of the command, it is advisable to read its help from the terminal:

:~$ wpscan --help

4.- WPScan help
4.- WPScan help

So, enjoy it.

Conclusion

WPScan is an important tool in the security of websites built with WordPress. Its basic use is within everyone’s reach, but the information it shows is very complete. So it’s something you should always keep in mind.

Please share this post with your friends and join our Telegram Channel.

More articles

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

Configure Samba File share Services with Ubuntu 20.04 LTS

Here, Today! let's discuss samba file share service with Ubuntu 20.04 LTS. If you need to share files between Linux and MS Windows...

Install Matomo on Ubuntu 20.04

Hello, friends. In this post, you will learn how to install Matomo on Ubuntu 20.04. It's quite useful to measure the traffic to our...

How to change DNS in Windows 10

Hi! Today we will talk a bit about networks. In fact, we will touch on a topic related to connectivity. Specifically we will see...

The new Windows 10 file explorer will arrive with 21H2 update.

Hello! Microsoft does not stop working (except at Christmas) to continue polishing to Windows 10. In fact, users are gradually receiving the 20H2 update....

How to create an FTP server in Android

Hello! How are you? Currently sharing files from your PC to Android can be more comfortable and easy, without the need to use a...
x