Hi Guys, as you know that Metasploit version 6.0 is out now. You can install Latest Metasploit on your android device ( Termux ). Before that do you know, what's the difference with the previous version of Metasploit? it's the same as Metasploit. In this latest Metasploit there are 2 additional modules named evasion. For more information about what is the latest on Metasploit 6, please read on the official website https://blog.rapid7.com
Requirements
1. Android 5.0 +
2. TermuX (Download it from Google Play Store)
3. About 700mbs of internal storage (For proper installation of Metasploit)
Installing a Metasploit
I posted 3 methods for installing Metasploit, You can use any method:
First Method to Install Metasploit in Termux
1. Before Installing Metasploit Script, install basic pkgs in termux(given below)
termux-setup-storage
pkg update && pkg upgrade
pkg install git
pkg install php wget curl openssh perl ruby
gem install lolcat nokogiri
2. Now Download Metasploit-Framework 6 Script.
Or you can use the below link
https://github.com/rapid7/metasploit-framework/archive/refs/tags/6.2.27.zip
3. now open Termux and copy your Metasploit 6 script from Download Folder to Termux
cd /sdcard/Download
cp metasploit-framework-6.2.27.zip /data/data/com.termux/files/home
Note:-Upper command is only for example. enter the path where your script is located.
4. Enter the below commands
cd
cd metasploit-framework-6.2.27.zip
unzip metasploit-framework-6.2.27.zip
5. That's it. now you can run your Metasploit.
./msfconsole
2nd Method to Install Metasploit in Termux
pkg install axel
pkg install tar
axel --alternate https://github.com/rapid7/metasploit-framework/archive/refs/tags/6.2.27.tar.gz
tar -xf $HOME/metasploit-framework-6.2.27.tar.gz
3rd Method to Install Metasploit in Termux pkg install unstable-repo
pkg install metasploit
msfconsole
6. if you facing an error then you can try the below commands.
bundle install
gem update --system
apt install -y autoconf bison clang coreutils axel curl findutils git apr apr-util libffi-dev libgmp-dev libpcap-dev postgresql-dev readline-dev libsqlite-dev openssl-dev libtool libxml2-dev libxslt-dev ncurses-dev pkg-config wget make ruby-dev libgrpc-dev termux-tools ncurses-utils ncurses unzip zip tar postgresql term
gem update --system
bundle install
gem install bundle
gem install bundler
gem install nokogiri
bundle update nokogiri
gem build grpc.gemspec
gem install grpc
gem install nokogiri -- --use-system-libraries
okay, that's it. hope you like it. if you still facing a problem then you can comment screenshot of the error. I will update this post with new error solutions.
you can watch the video tutorial also Click Here
2. TermuX (Download it from Google Play Store)
3. About 700mbs of internal storage (For proper installation of Metasploit)
I posted 3 methods for installing Metasploit, You can use any method:
1. Before Installing Metasploit Script, install basic pkgs in termux(given below)
pkg update && pkg upgrade
pkg install git
pkg install php wget curl openssh perl ruby
gem install lolcat nokogiri
2. Now Download Metasploit-Framework 6 Script.
Or you can use the below link
https://github.com/rapid7/metasploit-framework/archive/refs/tags/6.2.27.zip
3. now open Termux and copy your Metasploit 6 script from Download Folder to Termux
cd /sdcard/Download
cp metasploit-framework-6.2.27.zip /data/data/com.termux/files/home
Note:-Upper command is only for example. enter the path where your script is located.
4. Enter the below commands
cd
cd metasploit-framework-6.2.27.zip
unzip metasploit-framework-6.2.27.zip
5. That's it. now you can run your Metasploit.
./msfconsole
pkg install tar
axel --alternate https://github.com/rapid7/metasploit-framework/archive/refs/tags/6.2.27.tar.gz
tar -xf $HOME/metasploit-framework-6.2.27.tar.gz
pkg install metasploit
msfconsole
6. if you facing an error then you can try the below commands.
bundle install
gem update --system
apt install -y autoconf bison clang coreutils axel curl findutils git apr apr-util libffi-dev libgmp-dev libpcap-dev postgresql-dev readline-dev libsqlite-dev openssl-dev libtool libxml2-dev libxslt-dev ncurses-dev pkg-config wget make ruby-dev libgrpc-dev termux-tools ncurses-utils ncurses unzip zip tar postgresql term
gem update --system
bundle install
gem install bundle
gem install bundler
gem install nokogiri
bundle update nokogiri
gem build grpc.gemspec
gem install grpc
gem install nokogiri -- --use-system-libraries
okay, that's it. hope you like it. if you still facing a problem then you can comment screenshot of the error. I will update this post with new error solutions.
you can watch the video tutorial also Click Here