Debian9安裝Metasploit

參考博文:https://www.jianshu.com/p/ea0629b9e367sql

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   //安裝簽名

更新包列表post

$apt-get update

0x1 安裝postgresql

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

安裝postgresqlui

$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啓動spa

$msfconsole

檢測數據庫鏈接postgresql

msf>db_status

出現postgresql connected to xxx說明數據庫鏈接正常code

相關文章
相關標籤/搜索