From 06a10e136a03a61736fa9a1e6da3d31e60c823ae Mon Sep 17 00:00:00 2001 From: Jon Hart Date: Sun, 27 Sep 2015 14:12:23 -0700 Subject: [PATCH] Fix #6008 for rogue_send --- modules/auxiliary/scanner/rogue/rogue_send.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/auxiliary/scanner/rogue/rogue_send.rb b/modules/auxiliary/scanner/rogue/rogue_send.rb index 73b585bfdc..f9c8818c55 100644 --- a/modules/auxiliary/scanner/rogue/rogue_send.rb +++ b/modules/auxiliary/scanner/rogue/rogue_send.rb @@ -43,9 +43,7 @@ class Metasploit3 < Msf::Auxiliary pcap = self.capture - capture_sendto(build_tcp_syn(ip), ip) - - capture_sendto(build_icmp(ip), ip) + capture_sendto(build_tcp_syn(ip), ip) && capture_sendto(build_icmp(ip), ip) close_pcap end