1、主页下载地址:http://www.metasploit.com/download/
windows版本下载地址:http://downloads.metasploit.com/data/releases/metasploit-latest-windows-installer.exe
2、安装完成后直接访问https://127.0.0.1:3790/,第一次启动非常慢请耐心等待,提示如下
If you've just finished installing Metasploit, the application will now take up to 5 minutes to initialize. It's normal - please be patient and have a coffee...
3、将自己写的exploit代码放入到安装目录\metasploit\msf3\modules\exploits\中可以自己建一个目录如/test/test.rb
4、重新启动metasploit控制台或web ui进行测试。