I'm using Metasploit to exploit ms08-067_netapi targeting windows xp sp3. I'm going along with the book Penetration Testing-A Hands-on Introduction to Hacking.
This is how I'm doing it.
use windows/smb/ms08_067_netapi
set RHOST <ip for windows xp>
exploit
I get the message
Exploit Completed, but no session was created
with many payloads that I tried.
I've checked for everything that internet told me could cause this problem like network connection between attacker and target, changing the payload, checking the firewall (disabled) but I get the message every time.
Can someone tell me what this message is and how to overcome it? What am I doing wrong?