Fix #6008 for avahi_portzero
parent
20ddb65ff8
commit
7b026676f1
|
@ -45,10 +45,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
p.udp_dport = datastore['RPORT'].to_i
|
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.payload = Rex::Text.rand_text(rand(0x20)) # UDP needs at least one data byte, may as well send a few.
|
||||||
p.recalc
|
p.recalc
|
||||||
capture_sendto(p, rhost)
|
capture_sendto(p, rhost) and print_status("Avahi should be down now")
|
||||||
|
|
||||||
close_pcap
|
close_pcap
|
||||||
|
|
||||||
print_status("Avahi should be down now")
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue