The install process is mandatory before you can run and use the Metasploit Framework tools on Termux Android.
There are 4 ways that you can choose to install this multi-purpose tool.
Well, in this article I will provide a complete tutorial for you.
Oh yes, this Metasploit Framework can be run on Android devices without root.
What is the Metasploit Framework?
Before going any further, it’s a good idea to first know what the Metasploit Framework is.
So, this Metasploit Framework is a program or call it a tool whose function is to exploit and perform security testing.
So with these tools later you can exploit or can also look for security holes on a device (context: with a remote path).
Functions of Metasploit Framework
There are so many functions or uses of the Metasploit Framework, and because the tool is open source you can do a lot of things.
Read also: 3 Ways to Bomb SMS with the Latest Termux Spam Script 2022
Some of the most commonly used functions include:
- Inserting a backdoor on a media such as applications, images, document files, etc.
- Make payload
- etc…
Actually, the purpose of this tool is made of course for positive activities, for example to detect weaknesses in a system.
But in reality, users actually use it a lot for negative activities such as hacking and so on.
How to Install Metasploit on Termux
So, here are 4 ways to install Metasploit on Termux Android:
1. Metasploit Verluchie
The first is Metasploit sourced from Verluchie’s github repository, to do the installation, of course, just clone it.
Please follow the steps below:
- Open the Termux application.
- Please enter the 2 commands below:
– apt update & & apt upgrade
– apt install git
- Clone Metasploit from Verluchie’s github repository by entering the command below:
– git clone https://github.com/verluchie/termux-metasploit
- Enter the 3 commands below to start the installation:
– cd termux-metasploit
– chmod 777 install.sh
– sh install.sh
At this stage, please wait for the installation process to complete.
2. Metasploit TechzIndia
The second one is also sourced from the github repository, only uploaded by a user under the name TechzIndia.
Slightly different from Verluchie’s because this repository is in the form of a file, just follow the steps below:
- Open the Termux application.
- Enter the 2 commands below:
– apt update & & apt upgrade
– apt install git
- Clone the file by entering the command below:
– pkg install curl
– curl -LO https://raw.githubusercontent.com/Techzindia/Metasploit_For_Termux/master/metasploitTechzindia.sh
- Enter the 2 commands below to start the installation:
– sh metasploitTechzindia.sh
– metasploit-framework cd
At this point, please wait for the installation process to complete.
To run Metasploit when the installation process is complete, please enter the command ./msfconsole.
3. Metasploit Hax4us
To install Metasploit by Hax4us, please follow the steps below:
- Open the Termux application.
- Enter the 2 commands below:
– apt update & & apt upgrade
– apt install git
- Please enter all the commands below one by one:
– pkg install python
– pkg install python2
– pkg install git
– pkg install wget
– pkg install ruby
– pkg install curl
– git clone https://github.com/Hax4us/Metasploit_termux$cd metasploit-termux
– ./metasploit.sh
– cd $HOME/metasploit-framework
Please wait until the installation process is complete, if you want to run Metasploit enter the command ./msfconsole.
4. Metasploit Rapid7
Well, this last method is quite different from the 3 methods previously discussed.
If you choose this method then you don’t have to worry about repeating the installation when the network is disconnected.
You could say this method is an offline installation method. However, you must first download the tools before installing them into the Termux application.
For more details, please follow the steps below:
- First, please download the Metasploit by Rapid7 tools file via the link below:
Download Metasploit by Rapid7
After the download process is complete, please move the tools file (with .zip extension) to any folder on your device’s internal storage.
If you have followed these steps:
- Open the Termux application.
- Enter the 2 commands below:
– apt update & & apt upgrade
– apt install git
- Followed by entering all the commands below:
– termux-setup-storage
– pkg install unzip
– cd /sdcard
– unzip metasploit-framework-5.0.0.zip
– cd metasploit-framework-5.0.0.zip
Please wait until the installation process is complete, if it is finished you can run Metasploit by entering the command ./msfconsole.
Solution Failed to Install Metasploit on Termux
Maybe some of you have failed when installing Metasploit on Termux…
You should know that the Metasploit installation process requires these 3 main things:
- Stable internet connection
- Sufficient internet quota
- Sufficient storage space
Now! Make sure these 3 things are safe!
This is because the size of this Metasploit tool is quite large, so a stable internet connection and sufficient quota are needed.
Because of its large size, the size of the Termux application itself will swell, if your device does not have free storage it will likely freeze and the installation process will fail.
So that’s the discussion this time about how to install Metasploit Framework on Termux Android.