# How To Install Metasploit Framework In Termux Application

**URL:** <https://onehack.st/t/how-to-install-metasploit-framework-in-termux-application/73415>\
**Category:** Tools & Scripts\
**Tags:** programming, hacking\
**Created:** [March 14, 2020, 6:59pm UTC](https://onehack.st/t/how-to-install-metasploit-framework-in-termux-application/73415 "2020-03-14T18:59:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parizaad](https://onehack.st/user_avatar/onehack.st/parizaad/32/174871_2.png) [@Parizaad](https://onehack.st/u/Parizaad)\
**Post date:** [March 14, 2020, 6:59pm UTC](https://onehack.st/t/how-to-install-metasploit-framework-in-termux-application/73415/1 "2020-03-14T18:59:27Z")

</div>

**Metasploit Framework** maybe a known creation and as you’ll say its a package platform for developing, testing, and executing exploits. It has the ability to produce security testing tools and exploit modules and additionally as a penetration testing system. But today, I’m progressing to install this **Metasploit Framework** in Android phone with the assistance of **Termux** application in a simple manner.

Before running the Metasploit Framework firstly you have to install the [Termux Application](https://play.google.com/store/apps/details?id=com.termux&hl=en_IN) from Google Play Store.

After that open the Termux Application and type the below commands step wise step.

**apt-get update** : apt-get update really installs newer versions of the packages you’ve got. once you change the lists, the package manager is aware of concerning accessible updates for the code you’ve got.

**apt-get install git** : Like you guys, know GIT is a free and open-source distributed version system designed to handle everything from little to terribly giant comes with speed and potency.

**apt install clang** : Well!! it’s used for compiling the UNIX Kernel

**apt-get install python2** : This command is run to put in the Python2 in Termux App.

**apt install curl** : This command can facilitate to transfer the information from a server using one of the supported protocols like FTP, FTPS, GOPHER, HTTP, HTTPS etc

Type the below command to download the shell file of Metasploit.

**curl -LO [https://raw.githubusercontent.com/Hax4us/Metasploit\_termux/master/metasploit.sh](https://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh)**

**ls** : It’s use for seeing the files in the current directory.

**bash Metasploit.sh** : To understands and executes the commands when a user enters. In some systems, the shell is additionally referred to as a command interpreter.

**msfconsole** :This command is used to access the Metasploit Framework.

 ![image](https://onehack.st/uploads/default/original/3X/b/5/b5210a178f280e43ac6522d1d29a0eb5e3831841.png)

when you type **msfconsole** command and after few moments the heart-shaped Metasploit logo comes.It changes automatically whenever you login.

enjoy…

---

<div class="post-metadata">

**Author:** ![No\_Name1](https://onehack.st/user_avatar/onehack.st/no_name1/32/41792_2.png) [@No\_Name1](https://onehack.st/u/No_Name1)\
**Post date:** [May 13, 2020, 6:13am UTC](https://onehack.st/t/how-to-install-metasploit-framework-in-termux-application/73415/2 "2020-05-13T06:13:53Z")

</div>

> [@Parizaad](#):
>
> msfconsole

After typing command msfconsole it says command not found plz help

---

<div class="post-metadata">

**Author:** ![Hyperdemongod](https://onehack.st/user_avatar/onehack.st/hyperdemongod/32/26170_2.png) [@Hyperdemongod](https://onehack.st/u/Hyperdemongod)\
**Post date:** [May 13, 2020, 6:29am UTC](https://onehack.st/t/how-to-install-metasploit-framework-in-termux-application/73415/3 "2020-05-13T06:29:46Z")

</div>

@No_Name1  
Check this:  
[https://github.com/termux/termux-packages/issues/1886](https://github.com/termux/termux-packages/issues/1886)

---

<div class="post-metadata">

**Author:** ![blackmamba](https://onehack.st/user_avatar/onehack.st/blackmamba/32/35883_2.png) [@blackmamba](https://onehack.st/u/blackmamba)\
**Post date:** [May 13, 2020, 7:39am UTC](https://onehack.st/t/how-to-install-metasploit-framework-in-termux-application/73415/4 "2020-05-13T07:39:58Z")

</div>

![Screenshot_20200513-103421](https://onehack.st/uploads/default/original/3X/3/d/3d694c7e935aa0bed713ed89cbf23434f4e8fb44.png)

I get the error ..no such file or directory  
After I run metasploit
