debian10安装Metasploit

0x0 注释source.listdebian的更新源。

0x1 添加Kali源,在source.list.d新建kali.list,方便操作。

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

0x2 安装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

0x3 安装metasploit-framework

$apt-get install metasploit-framework #so easy

0x4 初始化metasploit-framework

$msfdb init 

0x5 完成安装,检查

msf启动

$msfconsole

检测数据库连接

msf>db_status

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

参考博文:https://www.cnblogs.com/little-kwy/p/11811130.html

猜你喜欢

转载自www.cnblogs.com/wdxgg/p/11996230.html