系统版本:MacOS Monterey 12.2.1(M1)

安装

使用官方给的命令安装:

https://github.com/rapid7/metasploit-framework/wiki/Nightly-Installers

1 curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
2 
3   chmod 755 msfinstall && \
4 
5   ./msfinstall

 

 

然后进入/opt/metasploit-framework/bin/msfconsole从终端窗口启动./msfconsole

 

安装完成。

 

使用

版本

 

查询扫描模块

使用并设置模块

  

执行

  

 

设置快捷方式

编辑添加如下命令,保存退出后source ~/.bash_profile  #使得配置生效

 

之后只要打开终端输入msf即可启动。

设置参考https://www.cnblogs.com/Yuuki-/p/14764682.html

2022-03-14 16:02:16