Ensure a trailing slash for base_uri

Technically, the GET parameters should be in vars_get, but we don't want
to refactor the entire module right now.
bug/bundler_fix
William Vu 2016-12-09 16:53:58 -06:00
parent 17c12a78f5
commit 4e235be484
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class MetasploitModule < Msf::Auxiliary
end end
def base_uri 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 end
def check_host(ip) def check_host(ip)