安装源
- github 中 已有的模块
https://github.com/rapid7/metasploit-framework/tree/master/modules
- exploit-db 中已有的模块
msfconsole
msfupdate
kali > cd /usr/share/metasploit-framework/modules/exploits/windows/smb
git clone the module into the appropriate directory