A Complete Guide to Install Metasploit in Termux

Are you looking for a way to install Metasploit on your Android device? Do you want to learn how to use Metasploit in Termux? If yes, then you have come to the right place. In this article, we will guide you step by step on how to install Metasploit in Termux.

What is Metasploit?

Metasploit is a powerful open-source framework used for penetration testing and ethical hacking. It is used by cybersecurity professionals to identify vulnerabilities in computer systems and networks. The framework includes a suite of tools, including an exploit development kit, a payload generator, and a command-line interface.

Why Use Metasploit in Termux?

Termux is a powerful terminal emulator for Android that allows you to access the Linux command line. With Metasploit installed on Termux, you can use your Android device to run Metasploit commands and conduct penetration testing on the go. Additionally, installing Metasploit in Termux is much easier than setting it up on a desktop computer.

How to Install Metasploit in Termux?

Follow the steps below to install Metasploit in Termux:

Step 1: Install Termux

If you don’t have Termux installed on your Android device, you can download it from the F-Droid.

Step 2: Update Termux

Open Termux and run the following command to update the packages:

pkg update && pkg upgrade

Step 3: Install the Required Packages

Run the following command to install the packages required for Metasploit:

pkg install curl wget git -y

Step 4: Install Metasploit

Once you have installed the required packages, run the following command to install Metasploit:

curl -LO https://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh

Next, run the following command to make the script executable:

chmod 777 metasploit.sh

Finally, run the script to install Metasploit:


Step 5: Launch Metasploit

Once Metasploit is installed, you can launch it by running the following command:



Q: Is it legal to use Metasploit?

A: Yes, it is legal to use Metasploit for ethical hacking and penetration testing purposes.

Q: Can I install Metasploit on an iPhone?

A: No, Metasploit is not supported on iOS devices.

Q: Do I need root access to install Metasploit in Termux?

A: No, you don’t need root access to install Metasploit in Termux.

Q: Can I run Metasploit on a low-end Android device?

A: Yes, you can run Metasploit on a low-end Android device. However, some of the more resource-intensive modules may not work properly.


In conclusion, Metasploit is a powerful framework for ethical hacking and penetration testing, and Termux is a convenient tool to use it on an Android device. By following the steps in this article, you can easily install Metasploit in Termux and start using it for your cybersecurity needs.