How To Install Metasploit In Termux 2024

Video Tutorial

If you are from India or if you know the Hindi language, you can follow the video by watching it. If not, you can scroll down below.


What is Metasploit?

Metasploit is a widely-used open-source framework for penetration testing and ethical hacking. Developed by Rapid7, it aids security professionals, ethical hackers, and penetration testers in identifying and exploiting vulnerabilities in computer systems, networks, and applications to enhance overall security.


How To Install Metasploit on Android

Step 1: For installing Metasploit, first, you have to set up Termux correctly

If you don’t do this, you will get many errors while installing Metasploit. This is the most important step. Please do it.

Check This post: How to Install Termux on Android?

Step 2: Install Proot-Distro

apt install proot-distro

Install proot-distro

Step 3: Install ubuntu With Proot-Distro

proot-distro install ubuntu

Install Ubuntu

Ubuntu installation progress

Step 4: Login Ubuntu In Proot-Distro

proot-distro login ubuntu

Login to Ubuntu

Step 5: Update Ubuntu Shell

apt update && yes | apt upgrade

Update Ubuntu shell

Step 6: Install Curl

apt install curl

Install curl

Step 7: Install gnupg

apt-get install gnupg

Install gnupg

Step 8: Now install Metasploit (It takes time please wait for 10 to 15 minutes)

curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
chmod 755 msfinstall && \
./msfinstall

Install Metasploit

Metasploit installation progress

Step 9: Now lets Start Metasploit

Type msfconsole in Ubuntu

Start msfconsole

Metasploit console loading

Metasploit console ready


Enjoy Metasploit!


How to restart Metasploit after closing Termux?

Step 1: Open Termux and Login Ubuntu

proot-distro login ubuntu

Restart - Login Ubuntu

Step 2: Start Metasploit

Type msfconsole in Ubuntu

Restart - Start msfconsole


All commands in one place, Link