Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:it-security:host_discovery_msf_db [2024/02/04 21:32] – Automatic translation 135.181.140.143en:it-security:host_discovery_msf_db [2024/08/22 13:06] (current) psycore
Line 1: Line 1:
-{{tag>deutsch linux kali it-security pentest}}+{{tag>english linux kali it-security pentest}}
 ====== Host Discovery with Metasploit database ====== ====== Host Discovery with Metasploit database ======
  
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 =====