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-b9f4589650daunstable
parent
bd94145d8d
commit
1c6891a3f8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue