• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to footer
flicsDB

flicsDB

Every Pro was once a Noob

  • Home
  • Courses
  • About
  • Log In | Sign Up

Install Metasploit

May 18, 2019 by zshaik

metasploit logo

Introduction

In this blog post I will show you how to install Metasploit framework on kali linux or ubuntu. The Metasploit Project’s best-known creation, is a software platform for developing, testing, and executing exploits for security purpose.

Installation

sudo apt-get update

Lets download and install the framework using the command below,

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

There will be around 170-180 Mb data downloaded, so this can take a few minutes depending on your internet speed. If you get the below error, unable to connect to the database, this means that you don’t have postgres SQL installed. So, Let’s go ahead and install postgresql

error while installing metasploit

In Order to install postgresql, use the command below,

sudo apt-get update
sudo apt install postgresql postgresql-contrib

Finally, after the installation is complete, start the service using below command,

sudo systemctl start postgresql.service

Now, Let’s retry the launch by running, msfconsole

metasploit launch window

That’s it! You should be good to go with penetration testing using metasploit framework on kali linux. Please do check out other blog posts on flicsdb

References:

  • Nighty Installers
  • metasploit-framework on git
  • installing-the-metasploit-framework

Primary Sidebar

en English
ar Arabiczh-CN Chinese (Simplified)nl Dutchen Englishfr Frenchde Germanhi Hindiid Indonesianit Italianja Japanesems Malaypt Portugueseru Russianes Spanishte Telugu

Course Tags

free

Recent Posts

  • Restrict resources within a namespace in kubernetes
  • How to setup TLS certs in nginx ingress using certbot
  • Download kubeconfig using eksctl
  • How to install minikube on windows using virtual box
  • Kubernetes: Deploying on master node only
  • Facebook
  • GitHub
  • YouTube

Contact

Navigation

  • flicsDB pro
Install Golang »

Footer

Newsletter

Stay up to date by subscribing to our newsletter.

© Copyright 2016-2019 flicsDB · All Rights Reserved ·