more debug visual

This commit is contained in:
Luiz Costa 2023-10-21 21:32:36 +01:00
parent b50e42c8e9
commit 4ce9d89d0e

View File

@ -220,8 +220,8 @@ func (n *V2ServerSession) ProcessAuthenticateMessage(am *AuthenticateMessage) (e
return err return err
} }
log.Printf("(ProcessAuthenticateMessage) NTLM v2 Expected NTLM Response %s", n.ntChallengeResponse) log.Printf("DEBUG: NTLM v2 Expected NTLM Response:\n%s\n\n", n.ntChallengeResponse)
log.Printf("(ProcessAuthenticateMessage) Local NTLM Chanllenge %s", am.NtChallengeResponseFields.Payload) log.Printf("DEBUG: Local NTLM Chanllenge:\n%s\n\n", am.NtChallengeResponseFields.Payload)
if !bytes.Equal(am.NtChallengeResponseFields.Payload, n.ntChallengeResponse) { if !bytes.Equal(am.NtChallengeResponseFields.Payload, n.ntChallengeResponse) {
if !bytes.Equal(am.LmChallengeResponse.Payload, n.lmChallengeResponse) { if !bytes.Equal(am.LmChallengeResponse.Payload, n.lmChallengeResponse) {