Treat access denied the same as logon failure
git-svn-id: file:///home/svn/framework3/trunk@10474 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
faf58c2b62
commit
46db59c5af
|
@ -105,7 +105,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
rescue ::Rex::Proto::SMB::Exceptions::LoginError => e
|
||||
|
||||
case e.error_reason
|
||||
when 'STATUS_LOGON_FAILURE'
|
||||
when 'STATUS_LOGON_FAILURE', 'STATUS_ACCESS_DENIED'
|
||||
# Nothing interesting
|
||||
vprint_status("#{rhost} - FAILED LOGIN (#{smb_peer_os}) #{user} : #{pass} (#{e.error_reason})")
|
||||
disconnect()
|
||||
|
|
Loading…
Reference in New Issue