root@kali:~# service postgresql start [ ok ] Starting PostgreSQL 9.1 database server: main. root@kali:~# service metasploit start [ ok ] Starting Metasploit rpc server: prosvc. [ ok ] Starting Metasploit web server: thin. [ ok ] Starting Me
root@kali:~# service postgresql start[*] postgresql connected to msf3
当然,kali已经自带了图形化命令
其实也就是执行了上面的两条命令
msf > db_connect postgres:toor@127.0.0.1/msf3