diff --git a/modules/auxiliary/scanner/rogue/rogue_recv.rb b/modules/auxiliary/scanner/rogue/rogue_recv.rb index cb1cd6c6ed..10bdd6e09e 100644 --- a/modules/auxiliary/scanner/rogue/rogue_recv.rb +++ b/modules/auxiliary/scanner/rogue/rogue_recv.rb @@ -73,6 +73,9 @@ class Metasploit3 < Msf::Auxiliary case ip.protocol when 1 icmp = Racket::ICMP.new(ip.payload) + if(icmp.id != datastore['ECHOID'].to_i) + return + end reply = {:raw => r, :eth => eth, :ip => ip, :icmp => icmp} reply[:type] = :icmp reply[:internal] = Rex::Socket.addr_ntoa(icmp.payload[0,4])