db_status出现no connection
解决:
切换用户
su - postgres
运行命令:psql
psql
更改用户postgres的密码
alter user postgres with password 'toor';
进入msfconsole:
db_connect postgres:toor@127.0.0.1/postgres
db_status出现no connection
解决:
切换用户
su - postgres
运行命令:psql
psql
更改用户postgres的密码
alter user postgres with password 'toor';
进入msfconsole:
db_connect postgres:toor@127.0.0.1/postgres
转载于:https://www.cnblogs.com/xiaolangjun/p/7010215.html