From f7a15e67cd539c0b2460393361619b163f8044a5 Mon Sep 17 00:00:00 2001 From: erwanlr Date: Sat, 13 Apr 2013 23:26:55 +0200 Subject: [PATCH] Fixes error with the -U option (undefined method 'merge' for #WpTarget:) --- wpscan.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpscan.rb b/wpscan.rb index 25a45fcd..cc10826b 100755 --- a/wpscan.rb +++ b/wpscan.rb @@ -282,7 +282,7 @@ def main else # FIXME : Change the .username to .login (and also the --username in the CLI) - wp_users = WpUsers.new << WpUser.new(wp_target, login: wpscan_options.username) + wp_users = WpUsers.new << WpUser.new(wp_target.uri, login: wpscan_options.username) end # Start the brute forcer