Redhalo

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

  1. 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”

  2. Upgrade Metasploit framework

    Upgrade the Metasploit framework to the lastest version available from your repository with the command “sudo apt install metasploit-framework”

  3. 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”

  4. Run msfconsole

    As soon as the Bundler Gem is installed, run msfconsole as usual.