diff --git a/modules/exploits/linux/http/apache_couchdb_cmd_exec.rb b/modules/exploits/linux/http/apache_couchdb_cmd_exec.rb index 2b6fcd43b4..d438aa30f1 100644 --- a/modules/exploits/linux/http/apache_couchdb_cmd_exec.rb +++ b/modules/exploits/linux/http/apache_couchdb_cmd_exec.rb @@ -69,6 +69,7 @@ class MetasploitModule < Msf::Exploit::Remote def check get_version + return CheckCode::Unknown if @version.nil? version = Rex::Version.new(@version) return CheckCode::Unknown if version.version.empty? vprint_status "Found CouchDB version #{version}"