Metasploit on Ubuntu

Windows Articles

How to get the Nextcloud desktop client on Linux?

Hello friends. We already know how to install a Nextcloud server but now the client is missing. So in this post, you...

How to Backup your call and SMS history in Android

Many times we find ourselves in the situation of having to change our phone, for different reasons, and one of the questions...

Install and configure Apache Guacamole on Debian 10

Hello, friends in this post, you will learn how to install and configure Apache Guacamole in Debian 10. It will be a...

Ubuntu 20.10 available

The new version of Ubuntu is now available, under the code name "groovy gorilla". Ubuntu 20.10 focuses on improving and refining the...

Monitoring Ubuntu 20.04 with Stacer

Normally if we use Linux on a production server, it is important to monitor it. On the other hand, in everyday use, many users...

Metasploit is a computer security project that provides valuable information about the security vulnerabilities of a system. It can also help a system admin penetration testing and IDS signature development. With Metasploit, security teams can not only verify the vulnerabilities but also manage security calculations and improves security awareness; it can allow the team to stay ahead of the attackers with strong defense.

Metasploit uses Ruby at its core. Ruby is a powerful interpreted language. Metasploit is available in 2 editions – open-source (community edition) and paid (Metasploit Pro, Express).

As a Linux enthusiast, let’s check out the free, open-source version of Metasploit into our Ubuntu system!

Installing Metasploit

  • Installing dependencies

At first, we have to make sure that the system is ready for the installation.

Update all the system components –

sudo apt update && sudo apt upgrade -y

Now, it’s time to install all the dependencies.

sudo apt install curl gpgv2 autoconf bison build-essential git-core libapr1 postgresql libaprutil1 libcurl4-openssl-dev libgmp3-dev libpcap-dev openssl libpq-dev libreadline6-dev libsqlite3-dev libssl-dev locate libsvn1 libtool libxml2 libxml2-dev libxslt-dev wget libyaml-dev ncurses-dev  postgresql-contrib xsel zlib1g zlib1g-dev

  • Installing Metasploit

Now, time to finally install Metasploit. Run the following command –

curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \

chmod 755 msfinstall && \

./msfinstall

Firing Metasploit

Metasploit offers various ways of enjoying the service – GUI (Cobal Strike and Armitage) and CLI (msfcli and msfconsole). Metasploit also offers various APIs for controlling Metasploit from a remote computer. It can also be a great solution for scripting, especially performing automated tasks.

Let’s check out firing “msfconsole”. At first, we need the PostgreSQL service to run.

sudo service postgresql start

Time to start Metasploit!

sudo msfconsole

You’ll see the Metasploit console running.

For all the available commands, type help or “?” (without quotes).

For exiting the console, run the following command –

exit

Enjoy!

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to get the Nextcloud desktop client on Linux?

Hello friends. We already know how to install a Nextcloud server but now the client is missing. So in this post, you...

How to Backup your call and SMS history in Android

Many times we find ourselves in the situation of having to change our phone, for different reasons, and one of the questions...

Install and configure Apache Guacamole on Debian 10

Hello, friends in this post, you will learn how to install and configure Apache Guacamole in Debian 10. It will be a...

Ubuntu 20.10 available

The new version of Ubuntu is now available, under the code name "groovy gorilla". Ubuntu 20.10 focuses on improving and refining the...

Monitoring Ubuntu 20.04 with Stacer

Normally if we use Linux on a production server, it is important to monitor it. On the other hand, in everyday use, many users...
x