Fixes error with the -U option (undefined method 'merge' for #WpTarget:)

This commit is contained in:
erwanlr
2013-04-13 23:26:55 +02:00
parent c570c1798a
commit f7a15e67cd

View File

@@ -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