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 errorsbug/bundler_fix
parent
7c0633f0a7
commit
ea57ad0126
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue