Install Metasploit Framework 6 in Termux
In order to have updated Termux:
source <(curl -fsSL https://kutt.it/msf)
pkg install wget
wget https://github.com/gushmazuko/metasploit_in_termux/raw/master/metasploit.sh
chmod +x metasploit.sh
./metasploit.sh
After installation start Metasploit using the command:
msfconsole