more logging

This commit is contained in:
2025-03-17 11:26:58 +11:00
parent f8cadb2287
commit 468f0240be

View File

@@ -134,7 +134,7 @@ func ProcessChallenge(challengeMessageData []byte, user, password string) ([]byt
cm.ServerChallenge[:], clientChallenge)
}
PrintDebug("Challenge response: NT %s; LM %s", am.NtChallengeResponse, am.LmChallengeResponse)
PrintDebug("Challenge response:\nNT '%s';\nLM '%s'\n", base64.StdEncoding.EncodeToString(am.NtChallengeResponse), base64.StdEncoding.EncodeToString(am.LmChallengeResponse))
return am.MarshalBinary()
}