1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00
git-svn-id: file:///home/svn/framework3/trunk@7310 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2009-10-30 17:05:18 +00:00
parent 1ca1e1cc84
commit 02c3bc232b

View File

@ -75,7 +75,7 @@ class Metasploit3 < Msf::Auxiliary
icmp = Racket::ICMP.new(ip.payload)
reply = {:raw => r, :eth => eth, :ip => ip, :icmp => icmp}
reply[:type] = :icmp
return if(icmp.payload[4,2] != [datastore['ECHOID']].pack('n')
return if(icmp.payload[4,2] != [datastore['ECHOID']].pack('n'))
reply[:internal] = Rex::Socket.addr_ntoa(icmp.payload[0,4])
reply[:external] = ip.src_ip
return reply