Skip to content

Instantly share code, notes, and snippets.

View MediumOne's full-sized avatar
🎯
Focusing

Sivasubramaniam S MediumOne

🎯
Focusing
  • Bangalore, India
View GitHub Profile
@aseering
aseering / ntlmdecoder.py
Last active July 25, 2024 03:45
NTLM auth-string decoder
#!/usr/bin/env python
## Decodes NTLM "Authenticate" HTTP-Header blobs.
## Reads the raw blob from stdin; prints out the contained metadata.
## Supports (auto-detects) Type 1, Type 2, and Type 3 messages.
## Based on the excellent protocol description from:
## <http://davenport.sourceforge.net/ntlm.html>
## with additional detail subsequently added from the official protocol spec:
## <http://msdn.microsoft.com/en-us/library/cc236621.aspx>
##