Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:it-security:host_discovery_msf_db [2024/01/25 22:15] – created psycoreen:it-security:host_discovery_msf_db [2024/08/22 13:06] (current) psycore
Line 5: Line 5:
  
 Create PostgreSQL database and set up a user with access rights for it. Create PostgreSQL database and set up a user with access rights for it.
 +
 +<code bash>
 +root@kali:~# msfdb init
 +Creating database user 'msf'
 +Enter password for new role:
 +Enter it again:
 +Creating databases 'msf' and 'msf_test'
 +Creating configuration file in /usr/share/metasploit-framework/config/database.yml
 +Creating initial database schema
 +</code>
  
 ===== Metasploit: Connect database ===== ===== Metasploit: Connect database =====