A photo of Mitesh Shah

Mitesh Shah

Linux Enthusiast
System Administrator

Email Skype Github Twitter Google+ Resume Hire Me Keybase LinkedIn Stackoverflow


Overview

Start Required Services

  • Metasploit uses PostgreSQL as its database so it needs to be launched first.
$ sudo service postgresql start

Initialise the Metasploit PostgreSQL Database

  • With PostgreSQL up and running, we next need to create and initialize the msf database.
$ sudo msfdb init

Launch msfconsole in Kali

$ sudo msfconsole
msf > db_status
[*] postgresql connected to msf3

Fix Metasploit Cache Issue

msf > search wordpress
[!] Database not connected or cache not built, using slow search

# Rebuid Cache
# It takes some time for the cache to be rebuild
msf> db_rebuild_cache




Post Navigation