byt3bl33d3r / CrackMapExec

A swiss army knife for pentesting networks
BSD 2-Clause "Simplified" License
8.45k stars 1.64k forks source link

STATUS_LOGON_FAILURE true cred #544

Closed anasbousselham closed 2 years ago

anasbousselham commented 2 years ago

Hi, Trying to connect to my target with a true creds crackmapexec smb 192.168.1.10 -u 'user1' -p 'pass123' and I'm getting STATUS_LOGON_FAILURE. However with smbclient smbclient -L 192.168.1.10 -U "user1%pass123" with the same creds it works fine. I'm confused..

mpgn commented 2 years ago

use the flag --local-auth

mpgn commented 2 years ago

no answer, closing