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

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

View File

@ -104,7 +104,7 @@ class MetasploitModule < Msf::Exploit::Remote
fail_with(Failure::Unreachable, 'Connection failed')
end
if res && res.code == 200 && (res.body =~ /#{Regexp.escape(fname)}/i || res.body =~ /id="showoverview"/i)
if res.code == 200 && (res.body =~ /#{Regexp.escape(fname)}/i || res.body =~ /id="showoverview"/i)
return
end