Land #17851, fix check function which always prints vulnerable
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user