It is fairly simple to set up the new version of Metasploit, since Metasploit does not run as a service anymore, since version msf3:
- Start PostgreSQL by running systemctl start postgresql.service in the Terminal.
- Initialize the Metasploit database by running msdb init. Unless it is your first time doing this, the initialization will create the msf database, create a role, and add the msf_test and msf databases in the /usr/share/metasploit-framework/config/database.yml configuration file; otherwise, by default, the msf database will be created in the prebuild of Kali Linux, as shown in the following screenshot:
- Now, you are ready to access msfconsole.
- Once inside the console, you can verify the status ...