Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Land rapid7#5617, record the success on which we stopped (fixes rapid…
  • Loading branch information
Brent Cook committed Jun 26, 2015
2 parents 52b4950 + b4656f4 commit 10a6945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/metasploit/framework/login_scanner/base.rb
Expand Up @@ -220,8 +220,8 @@ def scan!

if result.success?
consecutive_error_count = 0
break if stop_on_success
successful_users << credential.public
break if stop_on_success
else
if result.status == Metasploit::Model::Login::Status::UNABLE_TO_CONNECT
consecutive_error_count += 1
Expand Down

0 comments on commit 10a6945

Please sign in to comment.