From 4e235be484e142a27c7700981421f0baeaa20402 Mon Sep 17 00:00:00 2001 From: William Vu Date: Fri, 9 Dec 2016 16:53:58 -0600 Subject: [PATCH] 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. --- modules/auxiliary/scanner/http/drupal_views_user_enum.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/scanner/http/drupal_views_user_enum.rb b/modules/auxiliary/scanner/http/drupal_views_user_enum.rb index 93faeeac1b..002c5af932 100644 --- a/modules/auxiliary/scanner/http/drupal_views_user_enum.rb +++ b/modules/auxiliary/scanner/http/drupal_views_user_enum.rb @@ -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)