- Begin by opening a terminal window by clicking on the terminal icon on the left.
- 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
- 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.
- Now, we can start the Metasploit ...