always keep metasploit up to date
apt update; apt install metasploit-framework
always keep in mind metasploit might not be updated
search google:
version + exploit + service +
find source code.
install new exploit
Momothechi@htb[/htb]$ locate exploits
https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits