From cf0375f7e627eeb3598d33ca0adc47a0ac6169a9 Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Thu, 19 Sep 2013 14:17:45 -0500 Subject: [PATCH] Fix check return value --- modules/exploits/unix/webapp/openemr_sqli_privesc_upload.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/unix/webapp/openemr_sqli_privesc_upload.rb b/modules/exploits/unix/webapp/openemr_sqli_privesc_upload.rb index 384ec7c58d..8e4fe17c9f 100644 --- a/modules/exploits/unix/webapp/openemr_sqli_privesc_upload.rb +++ b/modules/exploits/unix/webapp/openemr_sqli_privesc_upload.rb @@ -71,7 +71,7 @@ class Metasploit3 < Msf::Exploit::Remote print_status("#{peer} - Version #{version} detected") if version < "4.1.2" - return Exploit::CheckCode::Vulnerable + return Exploit::CheckCode::Detected else return Exploit::CheckCode::Safe end