Land #7690, drupal_views_user_enum user count fix

bug/bundler_fix
William Vu 2016-12-09 16:55:01 -06:00
commit 2b0bce6459
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ class MetasploitModule < Msf::Auxiliary
end
def base_uri
@base_uri ||= "#{normalize_uri(target_uri.path)}?q=admin/views/ajax/autocomplete/user/"
@base_uri ||= normalize_uri("#{target_uri.path}/?q=admin/views/ajax/autocomplete/user/")
end
def check_host(ip)
@ -126,9 +126,9 @@ class MetasploitModule < Msf::Auxiliary
return
end
end
results = results.flatten.uniq
print_status("Done. #{results.length} usernames found...")
results.flatten.uniq.each do |user|
results.each do |user|
print_good("Found User: #{user}")
report_cred(