Hey๐♂️, This Post is the most advanced post for termux and if you can learn it then you can do almost all sorts of things a beginner hacker should know. This is an advanced post on Metasploit. This tool is one of the most awesome things that you can use in termux so read it well ๐ฅ.
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.
How to install Metasploit on termux?
If you don't know about termux you can [read this blog].Requirements:
- Your android version should be more than 5.0.
- Termux app: if you don't have termux app [DOWNLOAD TERMUX]
- Free space of 1GB on your device.
New Method To Install Metasploit in Termux (Updated 19/07/2022):
A lot of you were facing issues with ruby 2 error in Metasploit. By using the below new method, you won't get any errors. You just have to copy and paste the below command and it will install Metasploit for you.
pkg install wget && wget https://github.com/gushmazuko/metasploit_in_termux/raw/master/metasploit.sh && chmod +x && metasploit.sh && ./metasploit.sh
Whenever you will get prompted with any input, just type y and press Enter.
Old Method To Install Metasploit in Termux:
If you Don't want to read every detail about the installation just copy-paste one command at a time and hit enter and after completion of the process enter the second command or you can just download the file which will give you one command that will install everything for you.
Step 1:
Open the termux app and type or paste the below command to update and upgrade all the packages in the termux app.
pkg update && pkg upgradeThis command will update the termux so in the installation we don't get any error.
Step 2:
Now we will have to install some scripts and dependencies using the below command.
pkg install git curl wget nmap -ywe are installing 4 packages using a single command.
- git will allow us to copy the files from the GitHub repository.
- Wget will get the data from web servers.
- curl stands for Client URL and it will allow transferring data using various protocols.
- Nmap is a network mapper it's for network discovery.
Step 3:
Copy-paste this command and this command will Download the Metasploit in termux app.
curl -LO raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh
Please wait it can take some time to download.
Step 4:
We will use the chmod command to make the Metasploit.sh file executable.
chmod 777 metasploit.shIf you will type ls you can see that the Metasploit.sh file will be green now
Step 5:
Type this command to install Metasploit on your system.
./metasploit.shNow sit back and let the termux install the Metasploit on your Termux properly it can take a lot of time between 20-60 mins.
Check if Metasploit is properly installed or Not:
Just type the below command to run the Metasploit, It will take 20 to 60 Sec to open.
msfconsoleAfter opening the Metasploit it will show some type of logo and there will be M on that.
One Command Method to Download Metasploit:
If the above method is not working for you, You can download the given Pdf which contains all the methods for installing Metasploit using termux. It contains commands that will allow you to download Metasploit using a single command.
14 Comments
Hello sir plz a video tutorial for the installation . Thanks
ReplyDeleteI am working on vidoes
Deleteyour pdf file not download so many add
ReplyDeleteI have removed them, sorry for the trouble
DeleteCould not locate gem file error
ReplyDeletePliz help. But thanx though
have you tried upgrading termux?
DeleteHelp me how to solve meterpreter session issues
ReplyDeleteYou need to give me a little more info bro.
Deleteits working for me so far
ReplyDeleteSuccessfully installed. Thanks for the cmnd
ReplyDeletethank you very much for the commands
ReplyDeleteCan you help me install hydra on termux, since hydra no longer on repository
ReplyDeleteThanks for your sharing ๐
ReplyDeleteThanks brother, it worked!
ReplyDeleteIf you Wanna Learn about Termux and connect with more people like you then you can join our Discord Server Termux Discord Server