Fix #6008 for avahi_portzero

bug/bundler_fix
Jon Hart 2015-09-27 14:47:05 -07:00
parent 20ddb65ff8
commit 7b026676f1
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 1 additions and 4 deletions

View File

@ -45,10 +45,7 @@ class Metasploit3 < Msf::Auxiliary
p.udp_dport = datastore['RPORT'].to_i
p.payload = Rex::Text.rand_text(rand(0x20)) # UDP needs at least one data byte, may as well send a few.
p.recalc
capture_sendto(p, rhost)
capture_sendto(p, rhost) and print_status("Avahi should be down now")
close_pcap
print_status("Avahi should be down now")
end
end