
How to update metasploit framework
Time needed: 5 minutes.
If you need to update Metasploit framework and get all new modules including exploits and auxiliary, then you can follow this procedure
- Update your Linux package lists
Update the package lists from the repositories and “update” the information of the newest versions and their dependencies with the command “sudo apt update”
- Upgrade Metasploit framework
Upgrade the Metasploit framework to the lastest version available from your repository with the command “sudo apt install metasploit-framework”
- Install the Bundler Gem required
Go to /usr/share/metasploit-framework/ and run the following command
“sudo gem install bundler ; sudo bundle install ; sudo gem update –system” - Run msfconsole
As soon as the Bundler Gem is installed, run msfconsole as usual.