Update register descriptions

This commit is contained in:
Jacob Robles 2018-11-28 19:37:35 -06:00
parent e142f5716e
commit 9d33891652
No known key found for this signature in database
GPG Key ID: 3EC9F18F2B12401C
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ module Msf::Exploit::Remote::HTTP::Wordpress::Helpers
#
# @param user [String] Username
# @param email [String] Email Address
# @param redirect URL [String] to redirect after successful login
# @param redirect URL [String] to redirect after successful registration
# @return [Hash] The post data for vars_post Parameter
def wordpress_helper_register_post_data(user, email, redirect = nil)
{

View File

@ -6,7 +6,7 @@ module Msf::Exploit::Remote::HTTP::Wordpress::Register
# @param user [String] Username
# @param email [String] Email Address
# @param timeout [Integer] The maximum number of seconds to wait before the request times out
# @return [Bool] the session cookies as a single string on successful login, nil otherwise
# @return [Bool] registration request success status
def wordpress_register(user, email, timeout = 20)
redirect = "#{target_uri}#{Rex::Text.rand_text_alpha(8)}"
res = send_request_cgi({