ubuntu安装渗透工具msfconsole,NMAP,SQLM
2019-06-28 本文已影响0人
时光与她Time
三条命令一件安装 msfconsole
MSF安装:
1.打开终端,在root权限下执行
#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,你想用自带到数据库就回车,想用自己到数据库就输入no回车
ubuntu终端输入msfconsole测试是否安装成功
#msfconsole

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

sqlmap 安装
apt-get install git
git clone git://github.com/sqlmapproject/sqlmap.git
修改环境变量 vi /.bashrc
alias sqlmap=‘python/opt/sqlmap/sqlmap.py’(注意标点符号英文状态下)

修改全局变量 vi /etc/profile
alias sqlmap=‘python /opt/sqlmap/sqlmap.py’(注意标点符号英文状态下)

启动sqlmap
