kail linux
以下
postgresql start
sudo -u postgres psql postgres
alter user postgres with password ‘toor‘; 有分号!!
用户名postgres 密码toor
接下来直接连接msf
db_connect postgres:toor@127.0.0.1/postgres
db_status
参考
http://www.myhack58.com/Article/html/3/8/2014/51268.htm