Created
July 26, 2018 06:05
-
-
Save pich4ya/e7be40000c4fe7e487460dbebf1832fb to your computer and use it in GitHub Desktop.
Setup Metasploit Database in Kali Docker Container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ apt update && apt -y upgrade | |
$ apt install metasploit-framework | |
$ service postgresql start | |
Starting PostgreSQL 10 database server: main. | |
$ msfdb init | |
System has not been booted with systemd as init system (PID 1). Can't operate. | |
Failed to connect to bus: Host is down | |
[+] Starting database | |
System has not been booted with systemd as init system (PID 1). Can't operate. | |
Failed to connect to bus: Host is down | |
[+] Creating database user 'msf' | |
[+] Creating databases 'msf' | |
[+] Creating databases 'msf_test' | |
[+] Creating configuration file '/usr/share/metasploit-framework/config/database.yml' | |
[+] Creating initial database schema | |
$ msfconsole | |
msf > db_status | |
[*] postgresql connected to msf | |
msf > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am also facing the same issue, how did you resolve this. Thanks in advance.