I have tried 4 different retired HTB challenges and have been trying to familiarise myself with all of the processes and tools and have come so close to completing them, but with 3 of them I get an error message after running 'metasploit'.
The reverse TCP loads, each time, the script runs, but then I get to the end and get the dreaded line:
'Exploit completed, but no session was created'
I have trawled Google and all I can see is maybe you're not connecting to the right port, but when I ping the port I get a positive result. I am sure I am missing something tiny. Can anyone offer any help please.