For smb_login, quit trying a username if we learn that the password is expired or if the account is locked out or disabled.

git-svn-id: file:///home/svn/framework3/trunk@9117 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2010-04-22 22:12:13 +00:00
parent bd94145d8d
commit 1c6891a3f8
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class Metasploit3 < Msf::Auxiliary
print_status("#{rhost} - FAILED LOGIN (#{smb_peer_os}) #{user} : #{pass} (#{e.error_reason})")
disconnect()
return
return :next_user # These reasons are sufficient to stop trying.
end
if(simple.client.auth_user)