We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c540ca7 commit f93f339Copy full SHA for f93f339
modules/exploits/unix/webapp/vbulletin_unserialize.rb
@@ -46,8 +46,8 @@ def initialize(info = {})
46
end
47
48
def check
49
- res = send_request_cgi({ 'uri' => '/' })
50
- if (res && res.body =~ /Version 5.1./ && res.body =~ /Copyright © 2015 vBulletin Solutions, Inc./)
+ res = send_request_cgi({ 'uri' => target_uri.path })
+ if (res && res.body.include?("Version 5.1.") && res.body.include?('Copyright © 2015 vBulletin Solutions, Inc.'))
51
return Exploit::CheckCode::Appears
52
else
53
return Exploit::CheckCode::Unknown
0 commit comments