DEV Community

Cover image for How To Install Metasploit6 In Android With Out Root?
yaswanthteja
yaswanthteja

Posted on

How To Install Metasploit6 In Android With Out Root?

What is Metasploit?

Metasploit contains a lot of tools that allow you to test vulnerabilities and execute attacks on another system. it is one of the most used penetration testing tools. You can basically remotely access the victim’s data.

Metasploit is not just a single tool. It is a complete framework. It is a Ruby-based, modular penetration testing platform that enables you to write, test, and execute exploit code, it is flexible and extremely robust and has tons of tools to perform various simple and complex tasks.

How to install Metasploit Framework 6 in Android?

Here you need to install few files to set up metasploit6 in android

Pre-requirements

  • First you need to download an app called Termux here you can download it from F-Droid but not from playstore(outdated).

Click Here

To download termux from F-droid.

  • Your android version should be more than 5.0

  • Free space of 2GB on your device.

  • Good Internet

Github Repo you can visit this github repo for more details.

  • now open Termux app and type the followimg commands on it.

Image description

termux-setup-storage

Enter fullscreen mode Exit fullscreen mode

By this command it will ask the storage permission, so you need to give this permission by allowing the permission.

Image description

Now you will get a popup like this click on allow and paste these following commands in termux

It will update all the packages in the termux app.

apt update -y
Enter fullscreen mode Exit fullscreen mode

It will upgrade all the packages in the termux app.

apt upgrade -y
Enter fullscreen mode Exit fullscreen mode

we are installing 4 packages using a single command.

pkg install wget curl openssh git -y
Enter fullscreen mode Exit fullscreen mode
pkg install ncurses-utils -y
Enter fullscreen mode Exit fullscreen mode

Now there are two ways to insatll metasploit

1.Automatic installation

for this you can directy install the metasploit directly by pasting the following command

source <(curl -fsSL https://kutt.it/msf)
Enter fullscreen mode Exit fullscreen mode

2 Manual Process


wget https://github.com/gushmazuko/metasploit_in_termux/raw/master/metasploit.sh


chmod +x metasploit.sh

./metasploit.sh
Enter fullscreen mode Exit fullscreen mode
  • Now sit back and let the termux install the Metasploit on your Termux properly it can take a lot of time between 20-60 mins. BAsed on your device and internet speed.

  • After complete installation type the following command to run metasploit

Launch metasploit

msfconsole

Enter fullscreen mode Exit fullscreen mode

Now you can find like this or may be with different banner

Image description

To change the banner use this command

banner
Enter fullscreen mode Exit fullscreen mode

Now you succesfully installed Metasploit6 in android

Top comments (0)