Treat access denied the same as logon failure

git-svn-id: file:///home/svn/framework3/trunk@10474 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-09-25 03:30:22 +00:00
parent faf58c2b62
commit 46db59c5af
1 changed files with 1 additions and 1 deletions

View File

@ -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()