Metasploit Framework initialization and startup

  1. Begin by opening a terminal window by clicking on the terminal icon on the left. 
  2. Metasploit uses a database to store information about targets, exploits, and other information. We need to begin by starting the database daemon. From the Command Prompt enter the following commands:
service postgresql start
  1. Next, we will initialize the database (this only needs to be done once when first starting it):
 msfdb init
If you ever need to reinitialize the database to start over, you can use the msfdb reinit command. Be warned that all the existing data will be lost.
  1. Now, we can start the Metasploit ...

Get Kali Linux Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.