Update modules/exploits/multi/http/cmsms_showtime2_rce.rb

Co-Authored-By: fabiocogno <fabio.cogno@gmail.com>
master
bcoles 2019-03-20 14:13:25 +01:00 committed by GitHub
parent 365e032452
commit e0a3e01d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class MetasploitModule < Msf::Exploit::Remote
return CheckCode::Unknown
end
if res && res.code == 200
if res.code == 200
module_version = Gem::Version.new(res.body.scan(/^version = "?(\d\.\d\.\d)"?/).flatten.first)
if module_version < Gem::Version.new('3.6.3')
# Showtime2 module is uploaded and present on "Module Manager" section but it could be NOT installed.