Ok, sorry if this is a stupid question, but I'm trying to get NTLM Authentication to work with w / Node.js. I read this ( http://davenport.sourceforge.net/ntlm.html#theNtlmMessageHeaderLayout ). I send the header and get the Base64 authentication header.
I tried converting it from Base64 to UTF8, creating a new base64 encoded buffer, and then calling toString('utf8') , which returns a string like
NTLMSSP\u0000\u0001\u0000\u0000\u0000\u0007�\b�\u0000
I need help here. I understand that NTLMSSP \ u0000 is a null-terminated signature, but also something that should indicate the rest, but for me it's just rubbish. These are unicode characters, but how can I get data from this? Perhaps I am converting it incorrectly, which may add to my problems, but I hope someone can help.
A wizard did it
source share