In order to have updated Termux:
- Purge all data of Termux in Android Settings
- Uninstall and reinstall latest Termux version from F-Droid (Version on Play Store is outdated)
- Then launch Termux to initialization, close it (force stop, not swap)
- Reopen and follow the instructions below
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