impacket icon indicating copy to clipboard operation
impacket copied to clipboard

ntlmrelayx.py: Hide unnecessary 'Unsupported MechType' log messages

Open rtpt-erikgeiser opened this issue 1 year ago • 0 comments

This PR changes the log level for Unsupported MechType messages from CRITICAL to DEBUG. These messages occur almost exclusively during SMB authentication when the counterpart prefers Kerberos over NTLM. I think there is no reason that these messages should be displayed outside of debug mode because they imply that something is wrong when rejecting the Kerberos preference is perfectly normal when NTLM is negotiated.

rtpt-erikgeiser avatar Nov 09 '23 15:11 rtpt-erikgeiser