In this part of the post i will guide you all the way through to Installing Metasploit-Framework in Android. 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.
Moreover in addition to this i will also tell you how to hack an Android using another Android (Android to Android Hacking) by Metasploit-Framework in my next post.
Here’s a link to that post =>
Requirements for installing Metasploit-Framework :-
- Android 5.0+(Lollipop)
- About 600MB of internal storage
- Termux application
Step 1: Installation of Termux
Termux is an free android app that simulates Linux environment hence allows you to run linux command directly from your phone.
After installing Termux just open it. It will automatically install some necessary packages within seconds(depends on internet connection)
Step 2: Updating and Upgrading packages
Firstly we need to update and upgrade packages of Termux and to do so you need to type this command
apt update && apt upgrade -y
then hit enter.
Secondly we have to change our directory to home. For this type this command :-
Step 3: Installation of some necessary scripts
To go through further steps you need to install some additional packages like git,wget,curl because they will be certainly required for installing Metasploit-Framework . To install them just run these commands on termux :-
pkg install wget -y && pkg install curl -y && pkg install git -y
Step 4: Installing Metasploit-Framework
Metasploit is one of the most powerful tool of Kali Linux. We will use it as a main tool for Android to Android Hacking.
To install Metasploit-Framework first of all we have to install a script :-
- To run the newly installed script for installing Metasploit Framework, enter this command:-
If you are experiencing a problem probably like metasploit is not running by msfconsole command then don’t worry here i’m providing you two solutions for that :
(i) Manual Way
First of all just open new session in termux app and go to metasploit-framework directory and and enter ./msfconsole command, like this
./msfconsole or ./msfvenom
(II) Shortcut Method
(III) Remedy for All problem
If you are still facing any problem then don’t worry just reinstall TERMUX app and just copy and paste this command .It will do everything from start to end.
pkg install unstable-repo
pkg install metasploit
Type msfconsole to open metasploit.
Hence it seems like you are finally all done with Installating Metasploit-Framework in android.So as a result you will see such kind of screen(depends on version of Metasploit) .
Now furthermore if you are probably looking for using Metasploit-Framework, and creating undetectable payloads for Hacking anyone’s Android phones then do visit part 2 of this post Android to Android Hacking
Note – This is only for educational purpose and I’m not responsible for any misuse or harm done.
If you need any help then feel free to ask me in comment.