To avoid any error,make sure to clear data of your termux or reinstall Termux from F-droid
source <(curl -fsSL https://raw.githubusercontent.com/TheBizarreAbhishek/Metasploit/main/metasploit.sh)
pkg install git -y
git clone https://github.com/TheBizarreAbhishek/Metasploit.git
cd Metasploit
chmod +x metasploit.sh
bash metasploit.sh
Metasploit can do all sorts of things. The first thing you'll want to do
is start msfconsole, but after that, you'll probably be best served by
reading the basics of using Metasploit
or Metasploit Unleashed
