How can Install Metasploit on Termux

Metasploit-Framework is an important and powerful tool used for Hacking by means of creating payload. I will tell you the way by which you can install it in your android phone using termux app.



If you don't know what is Metasploit see this Article

See Also : What is Metasploit ?

Requirements for installing Metasploit-Framework :-

  • Android 5.0+(Lollipop)
  • About 600MB of internal storage
  • Termux app


Installation instruction

Here we are providing two Methods to install Metasploit-Framework on Android by using Termux.

Method 1 is manual way of installing and

Method 2 is direct method by Installing it from Termux Package Library

Note : I personally recommend the Method 2

Step 1: Installation of Termux

Termux is an free android app that simulates Linux terminal and helps us to run linux command directly from your phone.



Step 2: Updating and Upgrading packages

Update the termux package by following command so that Metasploit would run smoothly on Android

apt update && apt upgrade -y

Now go to home directory by using this command :-

cd $HOME

Method 1


Step 3: Installation of some necessary packages


For installation of Metasploit we have to install basic packages like git,wget,curl as the install Metasploit-Framework.

pkg install wget -y && pkg install curl -y && pkg install git -y

Step 4: Installing Metasploit-Framework


To install Metasploit-Framework we have to install a script available on GitHub:-

wget Auxilus.github.io/metasploit.sh

Now to install Metasploit-Framework on Termux run the script by using command :-
 
bash metasploit.sh

This script will install the latest version of Metasploit-Framework script also include some extras to make updating Metasploit faster.

Finally,after the complete installation, you can run Metasploit, by entering this command (anywhere, because shortcut is created by the Script) :-

msfconsole

I hope you successfully installed the Metasploit-Framework. If you are facing any problem, please use Method 2.


Method 2

For this method, we first need to install Termux unstable-repo package.Run the following command to install it

pkg install unstable-repo

After installing unstable-repo, Type the following command to directly install Metasploit-Framework

pkg install metasploit

Type msfconsole to open metasploit.

Hope you Now Have Metasploit-Framework installed successfully on your Android.
Metasploit is used for creating payloads and sending it to victim to hack his device.


So stay connected and see other tutorials.
Thank you for reading...
Please share
Devesh Singh

I am Devesh Singh, Student in Varanasi India . I like to write blog on technology and ethical hacking and other tricks or solutions to problem that anyone face during using technology and Internet.

2 Comments

Previous Post Next Post