Debian9安装Metasploit

82941732 2019-11-07

参考博文:https://www.jianshu.com/p/ea0629b9e367

0x0 添加Kali源

deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib

添加数字证书 

$wget archive.kali.org/archive-key.asc   //下载签名
$apt-key add archive-key.asc   //安装签名

更新包列表

$apt-get update

0x1 安装postgresql

添加postgresql源
deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main

安装postgresql

$wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
//添加数字证书
$apt-get update
$apt-get install postgresql

0x2 安装metasploit-framework

$apt-get install metasploit-framework #so easy

0x3 初始化metasploit-framework

$msfdb init

0x4 完成安装,检查

msf启动

$msfconsole

检测数据库连接

msf>db_status

出现postgresql connected to xxx说明数据库连接正常

 
 

相关推荐