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

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

View File

@ -119,7 +119,8 @@ class MetasploitModule < Msf::Exploit::Remote
) )
unless res unless res
fail_with(Failure::Unreachable, 'Connection failed') vprint_error 'Connection failed'
return CheckCode::Unknown
end end
if res && res.code == 200 if res && res.code == 200