Fix some mistakes pointed by @wchen-r7

bug/bundler_fix
jvoisin 2015-11-06 19:29:11 +01:00
parent c540ca763c
commit f93f3397ec
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ class Metasploit3 < Msf::Exploit::Remote
end
def check
res = send_request_cgi({ 'uri' => '/' })
if (res && res.body =~ /Version 5.1./ && res.body =~ /Copyright &copy; 2015 vBulletin Solutions, Inc./)
res = send_request_cgi({ 'uri' => target_uri.path })
if (res && res.body.include?("Version 5.1.") && res.body.include?('Copyright &copy; 2015 vBulletin Solutions, Inc.'))
return Exploit::CheckCode::Appears
else
return Exploit::CheckCode::Unknown