Install Metasploit Framework in Termux

How to Install Metasploit Framework in Termux 

 

 Helo Guys, Today I will tell you about "How to Install Metasploit Framework in Termux Without Root" Like I said that I am going to start the series on Android Hacking, for which we had previously set up our Android Hacking Lab. Today we will be moving the same lab to know how to install Metasploit, the most powerful full tool of Hacking in your Android Phone. 

I request you to see the previous post because this post is maintaining a series in which every post is connected to each other. So you first see this post and then see this post

Metasploit

What is Metasploit 

Metasploit is a penetration testing framework that makes  hacking simple. It's an essential tool for many attackers and defenders. Point Metasploit at your target, pick an exploit, what payload to drop, and hit Enter.
 
 
Install Metasploit Framework in Termux, open termux an type the below commands 
 
 
Step 1 : -  pkg update && pkg upgrade
 
Step 2 :-   pkg install root-repo -y && pkg install unstable-repo -y && pkg install x11-repo -y &&
Step 3 : -  pkg install metasploit -y


"if an only the above steps are not working please follow the below steps"

How to Install Metasploit Framework in Termux Without Root|Installing MSFconsole In Android 2020

Step1; First of all, you should open Termux apps in your   android phone, then type command “cd” and hit enter button.

Step2; If storage is showing along with the name of your 
phone, then it is fine, but if it is not doing as it is not 
showing in my case. Now you have to setup Storage so that 
Storage Folder can show, for this you have to type this 
command, and hit enter key. 

termux-setup-storage

Step3; Now you have to upgrade the entire package of 
TERMUX application, so that if you do not face any 
problems later, type the command for it. 

pkg upgrade

As you can see, the package has been upgraded.

Step4; Now you have to install the package named Curl in your Termux Application. This Curl Package is being installed because after installing this package all the services of Termux will go to Start. 
Services mean whatever Termux has to be used like Ftp,   Http, Https, Pop3, Smtp, Smtps, Smb, Telnet, LDAP and so on. Now Type the command to install the curl, and hit enterf@ key. 

apt-get install curl

Step5; Now it is the turn of “wget”. This is Repository for  Linux, any file or data can be downloaded through the terminal. Now Type the command to install the “wget”, and hit enter key.

$ pkg install wget

$ pkg in unstable-repo

Step6; This will use some space, you have to do “Y” to   install your framework. Now you have to download METASPLOIT FRAMEWORK, for this type the command given below and press enter key.

$  wget http://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh

Step7; METASPLOIT FRAMEWORK download is done. Now   to install it, type the command given below and press enter 

$ chmod +x metasploit.sh

If METASPLOIT FRAMEWORK is not being installed in your case, then that file has to be given executable permissions.To give executable permission, type the command and press enter key. 

$ ./metasploit.sh

Now again try this above command to install Metasploit framework on termux.
METASPLOIT FRAMEWORK is ready to be installed. And you can see in the image how much space it is going to take. While the download file was from 10 to 12 MB and after installing 290 MB will use space, somuch space it has taken all its exploits to install. 
Now you will see that after some time your METASPLOIT FRAMEWORK has been installed on your termux. If you want, you can see all the install files from metasploit-framework cd and Is command.
Type the command “cd metasploit-framework” hit enter, and again type Is command to show directory listing on metasploit-framework folder. 
Finally, METASPLOIT Framework successfully installed your Android phone. Type the command1 below to start the   METASPLOIT framework.

$ msfconsole


Congratulation METASPLOIT-FRAMEWORK is open. You can see Now. Friends, in this series of Android Hacking, we will practice   Hacking and see how we will make Hacking possible by using Termux and Metasploit-Framework. If you have to learn hacking deeply, instead of using tools   or software, do some hard work by yourself, and research and develop your own Hacking Techniques.


So, friends, this is the end of the article, if you like this post   please share it with your friends. If you face some problem   in any steps please drop your email by going to contact us   section of this site. thank you

Comments