First I just curious in the msf3 directory and I found the msf3 directory in the /opt/metasploit was empty. I try to unzip msf3.zip to create the msf3 directory, and It was successfully then I run msfconsole again. But after I run msfconsole the issue was not solved yet as well as with the msfupdate 🙁 .
Then I just remember that the Metasploit will allow user to update the metasploit from git protocol. OK then I’m reading the manual of Metasploit’s github. And Finally the issue was solved by following the two steps below :
- cd /opt/metasploit
- git clone https://github.com/rapid7/metasploit-framework.git msf3
After the git clone process finished, try to run msfconsole again.
Now I’m able to run msfconsole and msfupdate :
I hope this is useful for you 🙂 & I’d like say thanks to esmnemon in https://community.rapid7.com/message/6717#6717