Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:it-security:host_discovery_msf_db [2024/02/05 08:30] – old revision restored (2024/02/04 23:26) 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 =====