def generateNegotiateMessage():
 s = struct.pack('<8sII8s8s8s', 'NTLMSSP\x00', 1, NTLM_FLAGS, ('\x00' * 8), ('\x00' * 8), '\x06\x00r\x17\x00\x00\x00\x0f')
 return s

def generateNegotiateMessage ( ) : s = struct . pack ( '<8sII8s8s8s' , 'NTLMSSP\x00' , 1 , NTLM_FLAGS , ( '\x00' * 8 ) , ( '\x00' * 8 ) , '\x06\x00r\x17\x00\x00\x00\x0f' ) return s
references: - [ms-nlmp]: 2 .