Skip to content

Commit 10a6945

Browse files
author
Brent Cook
committed
Land rapid7#5617, record the success on which we stopped (fixes rapid7#5616)
2 parents 52b4950 + b4656f4 commit 10a6945

File tree

1 file changed

+1
-1
lines changed
  • lib/metasploit/framework/login_scanner

1 file changed

+1
-1
lines changed

lib/metasploit/framework/login_scanner/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def scan!
220220

221221
if result.success?
222222
consecutive_error_count = 0
223-
break if stop_on_success
224223
successful_users << credential.public
224+
break if stop_on_success
225225
else
226226
if result.status == Metasploit::Model::Login::Status::UNABLE_TO_CONNECT
227227
consecutive_error_count += 1

0 commit comments

Comments
 (0)