Install metasploit – Metasploit is a powerful penetration testing framework that allows security professionals to detect and exploit vulnerabilities in various systems. In this guide, we walk you through the process of installing Metasploit on Termux, a popular terminal emulator on Android.
Requirements
- Android device without root
- Storge more then 1 GB
- Wget package
- Curl package
- Internet
Install Metsploit in termux
Installing the Metasploit tool in Termux is very simple, however, it needs to be done carefully or there is a chance of getting some error.
Step 1: Updte and Upgrade the package
Before installing Metasploit, it’s important to ensure that your Termux is up to date. To do this, run the following commands:
pkg update && pkg upgrade
These commands will update the package repositories and upgrade any outdated packages on your termux.
Step 2: Instll Requirements
Metasploit requires a few required scripts to be installed in order to function properly. Run the following command to install these dependencies
pkg install curl git wget
Step 3: Download Metasploit
Now that we have all the dependencies installed, it’s time to download Metasploit. Run the following command to download the installation script
wget https://github.com/gushmazuko/metasploit_in_termux/raw/master/metasploit.sh
This command will use wget to download the installation script from the specified URL.
Step 4: Set Permissions
Before we can execute the installation script, we need to set the appropriate permissions. Run the following command to make the script executable
chmod +x metasploit.sh
This command will grant execute permissions to the installation script.
Step 5: Install Metasploit
Finally, we can install Metasploit by running the installation script. Execute the following command
bash metasploit.sh
This command will start the installation process. Follow the on screen instructions to complete the installation.
Excute termux in termux
Once the installation is complete, you can launch Metasploit by running the command
msfconsole
That’s it, this is the simple way to install the Metasploit tool on termux.
10 Most usefull metsploit command
COMMAND | DISCRIPTION |
---|---|
db_status | This command displays the status of the Metasploit database. |
use | This command is used to select a specific module or exploit. |
show options | This command displays the available options for the selected module. |
set | This command is used to set values for the options of the selected module. |
exploit | This command is used to launch the selected exploit. |
search | This command is used to search for specific modules or exploits. |
info | This command displays detailed information about a specific module or exploit. |
run | This command is used to execute a specific module or exploit. |
sessions | This command displays the active sessions. |
exit | This command is used to exit the Metasploit console. |
I hope I have explained clearly how to install the Metasploit tool in Termux, if you have any doubts you can ask me through the command section.