diff --git a/modules/exploits/multi/ids/snort_dce_rpc.rb b/modules/exploits/multi/ids/snort_dce_rpc.rb index 702b3fbadc..04491e6dc0 100644 --- a/modules/exploits/multi/ids/snort_dce_rpc.rb +++ b/modules/exploits/multi/ids/snort_dce_rpc.rb @@ -97,7 +97,7 @@ class Metasploit3 < Msf::Exploit::Remote print_status("#{rhost}:#{rport} Sending crafted SMB packet from #{shost}...") - capture_sendto(p, rhost) + return unless capture_sendto(p, rhost) handler end