三條命令一件安裝 msfconsole
MSF安裝:
1.打開終端,在root權限下執(zhí)行
#cd opt
#curl? https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb> msfinstall
#chmod +x msfinstall
#./msfinstall? ? ? ? ? ? ? 安裝
等它自動安裝完畢,然后先不要啟動,目前最新版的這個msf會問你要不要用自帶到database,你想用自帶到數(shù)據庫就回車,想用自己到數(shù)據庫就輸入no回車
ubuntu終端輸入msfconsole測試是否安裝成功
#msfconsole

NMAP安裝:
安裝命令:
sudo apt-get install nmap

sqlmap 安裝
apt-get install git?
git clone git://github.com/sqlmapproject/sqlmap.git
修改環(huán)境變量?? vi /.bashrc???
alias sqlmap=‘python/opt/sqlmap/sqlmap.py’(注意標點符號英文狀態(tài)下)

修改全局變量 vi /etc/profile
alias sqlmap=‘python /opt/sqlmap/sqlmap.py’(注意標點符號英文狀態(tài)下)

啟動sqlmap
