One of the coolest features of Metasploit Framework is the use of backend databases in order to store all the content related to a target. Follow these steps to set up the database when running MSF:
- Check whether the database is connected to MSF using the db_status command from the console, as follows:
- As shown in the preceding screenshot, the database is yet to be connected. We can connect to the database either by using a database config file, a one-liner command, or by using a RESTful HTTP API data service (a new feature of MSF 5). By default, there won't be a database.yml file, ...