In this Thread, I`m gonna show you how to install Metasploit Framework in TermuX. You can use it for Android to Android/Windows hacking. It is the best way to hack another android like WATCH_DOGS Style :)
So, lets start...
1). Android 5.0 + (For older Androids, visit this Thread.)
2). TermuX (Download it from Google Play or Play Store)
3). About 500mbs of internal storage (For proper installation of Metasploit)
After Installing TermuX , follow these steps :
To install Metasploit-Framework in TermuX, enter the following commands carefully and one by one in the TermuX (After entering a single command line, don`t forget to press enter, and wait for the process to complete if any).
- First of all, we have to install some scripts, for this, enter:
pkg update && pkg upgrade -y && pkg install wget curl openssh git -y
(Wait till it is Completely installed)
- Now we have to go to HOME directory, for this enter:
- Now, we have to install a script for Completely Installing All-in-One Metasploit Package. For this, enter:
- To run the newly installed script for installing Metasploit Framework, enter this command:
- This script will install the latest version of Metasploit-Framework script also include some extras to make updating Metasploit faster. If all goes well, i.e. No red colored warnings, you can start Metasploit using the following simple steps:
- Now, after the complete installation, you can run Metasploit, by entering this command (anywhere, because shortcut is created by the Script) :
- (Optional) This is an all in one script for the installation of MSF in TermuX. Use it if you are busy in other work. Enter the following command, and wait for its complete installation:
pkg update && pkg upgrade -y && pkg install curl wget tsu wget git && wget Auxilus.github.io/metasploit.sh && bash metasploit.sh
If the above method is causing any errors or something like it, then use the following other (one-step) commands to install Metasploit:
- All.in.One Script of Hax4Us :
pkg update && pkg upgrade && pkg install git curl wget nmap -y && curl -LO raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh && chmod 777 metasploit.sh && ./metasploit.sh
- V3rluchie's Method :
pkg update && pkg upgrade && pkg install curl wget git && git clone github.com/verluchie/termux-metasploit && chmod 777 termux-metasploit/install.sh && sh termux-metasploit/install.sh
- Tech-X3 's Trick
apt update && apt upgrade && apt install curl && curl -LO raw.githubusercontent.com/1Tech-X/Metasploit-4.16.12/master/metasploit.sh && chmod 777 metasploit.sh && sh metasploit.sh
- Some people are experiencing this problem, that they are not able to open metasploit framework console via msfconsole command. So, I`ve made two solutions for that.
- 1). Manual Way
Just open a New Session and go to metasploit-framework directory, and enter ./msfconsole command, Like This (same for msfvenom):
- 2). Shortcut Method
Those people who are not satisfied with the first one, and want to create a shortcut command, as the other programs set, enter the following commands one by one in a new session (msfvenom included):
ln -s /data/data/com.termux/files/home/metasploit-framework/msfconsole
mv msfconsole $PREFIX/bin
ln -s /data/data/com.termux/files/home/metasploit-framework/msfvenom
mv msfvenom $PREFIX/bin
This Thread is created for education purposes only. I`ll not be responsible of any Illegal use of this information.
If you have any problems or getting any type of error or you think that I`ve missed something , then please inform me in Comments Section. I`ll fix that soon...
Moreover, this Guide is originally taken from TermuX Official Website , for more information (specially for manual installation of Metasploit on TermuX) visit their Official website.
Anyway, Thanks for reading my thread (You can also join our WhatsApp Group (Link Updated) for more information and Guides.
- H4ck3R _777