Skip to content

Commit f93f339

Browse files
committed
Fix some mistakes pointed by @wchen-r7
1 parent c540ca7 commit f93f339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/unix/webapp/vbulletin_unserialize.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def initialize(info = {})
4646
end
4747

4848
def check
49-
res = send_request_cgi({ 'uri' => '/' })
50-
if (res && res.body =~ /Version 5.1./ && res.body =~ /Copyright © 2015 vBulletin Solutions, Inc./)
49+
res = send_request_cgi({ 'uri' => target_uri.path })
50+
if (res && res.body.include?("Version 5.1.") && res.body.include?('Copyright © 2015 vBulletin Solutions, Inc.'))
5151
return Exploit::CheckCode::Appears
5252
else
5353
return Exploit::CheckCode::Unknown

0 commit comments

Comments
 (0)