fix connection error on base

missed a reference to connection_error on the
loginscanner base. this would prevent us from
bailing out early if we have too many connection errors
bug/bundler_fix
David Maloney 2014-07-15 16:21:13 -05:00
parent 7c0633f0a7
commit ea57ad0126
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ module Metasploit
break if stop_on_success
successful_users << credential.public
else
if result.status == :connection_error
if result.status == Metasploit::Model::Login::Status::UNABLE_TO_CONNECT
consecutive_error_count += 1
total_error_count += 1
break if consecutive_error_count >= 3