—->吐槽:通过git下载后安装的,那种是闲蛋疼的,我不反对那么装,反正有时间折腾就行。
进入正题:
首先到官网下载metasploit framework,我的是最新版mac MacOS Sierra 10.12.4
你可以直接 axel或者wget 这个地址:http://osx.metasploit.com/metasploitframework-latest.pkg
然后呢在命令行输入msconsole你会发现,没这个命令。
就此结束。哈哈
开玩笑.
command+空格输入,msfconsole,然后回车,会出来个shell对话框,会问你“
Would you like to use and setup a new database (recommended)?” 当然是yes
然后还会问你
“Would you like to use and setup a new database (recommended)?”依旧是yes
然后。。。。你想看到的msf小母牛就出来了。
或者更加省事一点:
brew install metasploit