Fix #6008 for wireshark_lwres_getaddrbyname

This commit is contained in:
Jon Hart 2015-09-27 14:55:19 -07:00
parent bbd08b84e5
commit bd2f73f40a
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 2 additions and 2 deletions

View File

@ -204,10 +204,10 @@ class Metasploit3 < Msf::Exploit::Remote
p.payload = sploit
p.recalc
capture_sendto(p, rhost)
sent = capture_sendto(p, rhost)
close_pcap
handler
handler if sent
else
print_status("Sending malformed LWRES packet to #{rhost}")
connect_udp