From 109201a5da0f3c6e726a4377394439ae0e7f00a1 Mon Sep 17 00:00:00 2001 From: Michael Messner Date: Thu, 10 Jul 2014 20:45:49 +0200 Subject: [PATCH] little auto detect fix --- modules/exploits/linux/http/dlink_dspw215_info_cgi_rop.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/exploits/linux/http/dlink_dspw215_info_cgi_rop.rb b/modules/exploits/linux/http/dlink_dspw215_info_cgi_rop.rb index 5d323a8ab0..94e1499a2d 100644 --- a/modules/exploits/linux/http/dlink_dspw215_info_cgi_rop.rb +++ b/modules/exploits/linux/http/dlink_dspw215_info_cgi_rop.rb @@ -71,6 +71,10 @@ class Metasploit3 < Msf::Exploit::Remote break end end + + else + # no supported device found + return Exploit::CheckCode::Unknown end print_status("#{peer} - Selected Target: #{@mytarget.name}")