Skip to content

Commit 7eec88c

Browse files
committed
Land rapid7#4957, glassfish_login symbol cleanup
2 parents 5649620 + 94ab2f9 commit 7eec88c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/auxiliary/scanner/http/glassfish_login.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,9 @@ def bruteforce(ip)
133133
when Metasploit::Model::Login::Status::SUCCESSFUL
134134
print_brute :level => :good, :ip => ip, :msg => "Success: '#{result.credential}'"
135135
do_report(ip, rport, result)
136-
:next_user
137136
when Metasploit::Model::Login::Status::DENIED_ACCESS
138137
print_brute :level => :status, :ip => ip, :msg => "Correct credentials, but unable to login: '#{result.credential}'"
139138
do_report(ip, rport, result)
140-
:next_user
141139
when Metasploit::Model::Login::Status::UNABLE_TO_CONNECT
142140
if datastore['VERBOSE']
143141
print_brute :level => :verror, :ip => ip, :msg => "Could not connect"
@@ -152,7 +150,6 @@ def bruteforce(ip)
152150
realm_value: result.credential.realm,
153151
status: result.status
154152
)
155-
:abort
156153
when Metasploit::Model::Login::Status::INCORRECT
157154
if datastore['VERBOSE']
158155
print_brute :level => :verror, :ip => ip, :msg => "Failed: '#{result.credential}'"

0 commit comments

Comments
 (0)