/ Bug Bounty / Metasploit Basics, Part 14: Updating the msfconsole

Metasploit Basics, Part 14: Updating the msfconsole

Welcome back my novice hackers!

Recently, I have received numerous questions regarding how to update the msfconsole built into Kali. Until recently that was an easy question to answer. You simply enter “msfupdate” at the command line.

Now, Rapid7–the developers of Metasploit– have changed how we update Metasploit when it is built into an operating system like Kali. Remember, if you only need to add a new module, you can find my tutorial on adding a module here, but if you want to update the framework and get all the new modules this is how you do it now.

Before we start, let’s start the msfconsole and note the version and number of modules.

As you can see in the screenshot above, this is metasploit console version 4.14.5 and there are 1635 exploits.

Step #1: The Old Way

Until recently, we could simply update the Metasploit console (msfconsole) by entering;

kali > msfupdate

As you can see above, Metasploit now responds that when Metasploit is “part of an operating system” such as Kali, we need to use the apt package manager.

Step #2: APT Package Manager Update

As the message from Metasploit makes clear, we need to use the APT package manager update and then install the framework anew.

kali > apt update ; apt install metasploit-framework

As you can see above, we installed a brand new version of the Metasploit Framework from the repository.

Step #3: Verifying the Update

Now after updating, when we start the Metasploit console (msfconsole), we can now see that not only has the console been updated to version 4.17.5, but all of the new modules have been added as well. As you can see there are now 1801 exploit modules.

kali> msfconsole

Remember, not all Metasploit modules are included in Metasploit’s update, only those developed and approved by Rapid7. If you have developed a new module or found one of github or other places, you will need to add them manually.

Want to learn more about this powerful hacking/pentesting framework? You can purchase Metasploit Basics for Hackers videos in our online store or attend our Metasploit Basics for Hackers course!

CYBER WEEK IS LIVE

This month get 35% off training 

Use Code: CyberWeek2025

A complete cyberwarrior skill set now at an unbeatable price.

Train like the pros. 

Master offensive and defensive security. 

Join our community and explore the ADVANCED TOPICS OTHERS WON’T TEACH!

THE FUTURE BELONGS TO HACKERS

The best introduction to hacking is now AN UNBEATABLE Price

over 56 hours of videos, 10 courses, and 3 books

$149

Master OTW assembled this powerhouse bundle with everything you need to start hacking and build a career 

one purchaser wins a free 3-year Subscriber training package

don't miss out

;;