Update register descriptions
This commit is contained in:
parent
e142f5716e
commit
9d33891652
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue