We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d9c0da commit bb35254Copy full SHA for bb35254
lib/metasploit/framework/login_scanner/smb.rb
@@ -188,7 +188,7 @@ def attempt_login(credential)
188
# If we made it this far without raising, we have a valid
189
# login
190
status = :success
191
- rescue ::Rex::Proto::SMB::Exceptions::ErrorCode => e
+ rescue ::Rex::Proto::SMB::Exceptions::LoginError => e
192
status = case e.get_error(e.error_code)
193
when *StatusCodes::CORRECT_CREDENTIAL_STATUS_CODES
194
:correct
0 commit comments