I am currently trying to write a function to create a NTLM Challenge Message in python3.
Are there any modules/ functions which would help me to get the values to create the AV_PAIRs? I am not quite sure when to use which functions to get the right values and I also want to avoid the option via input string parameters.
- MsvAvNbComputerName (socket.gethostname())
- MsvAvNbDomainName
- MsvAvDnsComputerName (socket.getfqdn())
- MsvAvDnsDomainName
- MsvAvDnsTreeName
- MsvAvFlags
- MsvAvTimestamp
- MsAvRestrictions
NTLM AV_PAIR definition: http://msdn.microsoft.com/en-us/library/cc236646.aspx
Background: I want to write an NTLM authentication for Flask within Windows ActiveDirectory environment.