impacket
impacket copied to clipboard
ntlmrelayx.py: Hide unnecessary 'Unsupported MechType' log messages
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.