Debian7安装msf

 
安装metasploit

curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall

chmod 755 msfinstall && ./msfinstall
安装postgresql数据库

安装数据库的时候会自动创建系统用户postgres,数据库用户postgres,数据库postgres

apt-get install postgresql    # 安装postgresql数据库
sudo passwd postgres        # 修改postgres的密码
su - postgres                    # 切换到postgres用户
psql                                # 登陆postgresql数据库,首次登陆没有密码
\password postgres            # 修改数据库用户postgres的密码
msf使用数据库

msfconsole              #启动msf
db_connect postgres:hehehe@127.0.0.1/msfdb
db_status                # 查看数据库连接状态

再按照上述教程成功

posted @ 2018-03-26 20:16  软刺sec  阅读(502)  评论(0编辑  收藏  举报