How To Install Metasploit In Termux: A Simple, Step-by-Step Guide - Get Trick

 The Metasploit framework is a very powerful tool which can be used by cybercriminals as well as ethical hackers to probe systematic vulnerabilities on networks and servers. Because it’s an open-source framework, it can be easily customized and used with most operating systems

How To Install Metasploit In Termux: A Simple, Step-by-Step Guide


What is Metasploit?

Metasploit is an open-source penetration testing framework that is being used by cybercriminals and ethical hackers to attack systems and networks. Metasploit is written in C/C++, therefore, you need a machine that can run and access the programming language. It was developed by security professionals and penetration testers after the exploit kit called Nuclear exploit kit was cracked down by the FBI. The code in the kit had been used to create thousands of malicious software. After the bust, the developer decided to design a better tool that could be used for information gathering and exploiting security flaws. Metasploit was released in 1999 and became a very popular tool for ethical hackers. A penetration tester uses this tool to make unauthorized access to the system.


The Basic Setup

Most of the Metasploit packages are available in tar archives so all you need to do is extract the latest package to the specified location and to start the Metasploit service. echo "deb http://ppa.launchpad.net/~skhyber/metasploit-unstable/ppa/ubuntu keys" | sudo tee /etc/apt/sources.list.d/setup.list sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xC9913311F1DBDC9 1 sudo apt-get update && sudo apt-get install -y ruby ruby-dev zlib1g-dev libssl-dev libboost-all-dev libxslt1.2-dev libpdf-dev libtiff5-dev libgmp-dev liblzma-dev 1 Installing Metasploit You can check out the complete installation guide here. For our purposes, we need a config file and we will be using ./config/rnd-config.rb for that purpose. git clone git://github.com/Skhyber/metasploit-unstable.


Installing Termux

To install Metasploit on your phone, you must first install Termux. You can download it from here: After that, simply open up the Terminal application and type the following commands:

sudo apt install termux

sudo apt install microsoft driver-tools

sudo nano /boot/config.txt

Paste the following line in the nano text editor. Make sure you type these commands in the correct order, which includes the ‘0’, the ‘_’ character, and the ‘%’ character in the first place:

nodev /usr/local/etc/termux/configuration

Command Prompt You will now enter the Command Prompt window by pressing the CTRL + ALT + T key combination on your keyboard. Type ‘tv’ to open it. Navigate to the path where you have downloaded Termux.


Installing Metasploit-Framework in Termux

Before you get started, let’s first install and setup our first development environment. To install the metasploit framework and all the required dependencies and a development environment on the development machine, first we need to add the packages in the sesssions folder There are two types of development environments, one for Windows and Linux and another for Mac OS. There is a third development environment, but you have to run the following command in Terminal in order to install it.

sudo apt-get install -y git gimp git

The below line should be added to /etc/apt/sources.list file to include metasploit. deb http://www.metasploit.com/ unstable main deb-src http://www.metasploit.com/ unstable main This is what will be automatically downloaded for us.


Getting Started with the Framework

The first step is to install a GNU/Linux distribution of your choice. If you use Debian, Ubuntu, Linux Mint, or other Debian based distro, the installation is quite simple. You will first have to install all of the packages for your distribution, which includes programs needed to install the framework itself. For a complete list of Debian packages that you can install on Debian, refer to this page. Once you have all the packages installed, you can install Metasploit using apt-get. As I mentioned earlier, the syntax of apt-get is extremely simple and easy to understand. If you are using a live cd to boot your system, then you can simply use a graphical interface to install it, and then use “apt-get” to install it.

For video tutorials








No comments:

Post a Comment