Metasploit Framework – Complete Installation & usage on Windows, Linux, and Termux

What is Metasploit Framework? Metasploit is popular hacking tool that is used by the most cyber-security professionals, whether they are white hat hacker, black hat hackers or grey hat hackers.

With the help of this powerful tool, ethical hackers as well as cybercriminals can explore someone’s systematic vulnerabilities on networks or servers. Since it is a free and open-source framework, users can easily customize it and use it in several operating systems.

Hackers can access your Computer or Mobile Phone  by sending malware or virus-based applications or web links using this framework.

How to Install Metasploit Framework ?

How To Use Metasploit Framework? And the right answer of this question can be given only when you install this powerful hacking tool on your computer device. And in this single article, I have covered the complete installation tutorial for all the most used operating systems where you can install this framework, like Windows, Kali Linux and Termux (for Android Users)

Installing Metasploit on Kali Linux

Kali Linux is a popular & free operating system that suits all the cyber security professionals.

Kali Linux provide its users with numerous hacking tools installed by default and Metasploit is one of them. But for some cases, Kali Linux comes without any pre-installed tools. For example, when we install Kali Linux on WSL2. It does not provide any hacking tool, for that we need to install all our required tools manually

We just need to apply one single command on our Kali Linux Terminal to install Metasploit.

The command is given below:

sudo apt install metasploit-framework

After installing the tool, check your Applications, here you may see the venom called “Metasploit Framework”, click there to open or simply type the command below-

msfconsole

Metasploit Framework on Termux

So Termux is the best application or platform for the android users to start learning and practicing ethical hacking technics for the beginners. Because this application provides a complete linux-like environment as Kali Linux, Ubuntu or other Linux OS. And the most exciting part is that, it is absolutely free. Here we have prepare some interesting tutorials on Termux which is designed to target all the beginners in this field. So click here to check it out.

How To Install Metasploit on Android Termux? Check all the following steps below to install this powerful and free hacking tool just on your Android device:

pkg update && pkg upgrade -y
pkg install wget git curl -y
pkg install openssh -y
pkg install python && python2 -y
pkg install ncurses-utils
cd $HOME
wget https://raw.githubusercontent.com/gushmazuko/metasploit_in_termux/master/metasploit.sh
chmod +x metasploit.sh
./metasploit.sh
./postgresql_ctl.sh start
msfconsole

Check this complete video tutorial also:

Installing Metasploit Framework on Windows 10

Metasploit Framework is not limited to Linux or OS X based Operating Systems only, even Windows users can also take the advantages of Metasploit tool.

So, for trying it on your windows machine, you must first install the tool on your computer. Just follow the simple steps given below to download and install the tool on your system.

  • First Download the latest Metasploit Windows Installer from here
  • Now, launch the installer and install the tool.
  • Following screenshots may help you installing the tool perfectly.
  • Click Next to continue..
  • Select “I accept the agreement” & click Next to continue
  • Change your installation path or keep as it is and click Next to continue.
  • Turn off your Anti-Virus Protection and click Next to continue. If you use Windows Security Service, then turn off the “real time protection”
  • Keep the default port set by the installer and click Next to continue.
  • Change your “localhost” name, if you want and click Next to continue.
  • Now installation will begin.
  • Now, click finish.

How To Use Metasploit Framework in Windows?

Here are some easy steps using which you can launch and use this msf tool on your windows system for ethical hacking. Hope it will work perfectly.

  • Open File Explorer and open the folder or path where you have installed Metasploit Framework
  • In my case, I have installed it on my C: Drive.
  • Now, open the folder named “Metasploit” or “Metasploit Framework” & copy the path of that folder.
  • Now open your Command Prompt or cmd and type the following commands.
cd ..
cd ..
cd C:\metasploit (your installation path copied in the above step)
  • Now type  console  and wait for a while.
  • Keep waiting, don’t close the window, the venom is getting ready to launch.
  • And here it is.

So, you have successfully launched your msfconsole. Now go through your all learnings and continue your ethical hacking journey. Thank You

Leave a Comment