def parse_netntlm_resp_msg(headers, resp_header, seq):
 try:
  header_val3 = headers[resp_header]
 except KeyError:
  return
 header_val3 = header_val3.split(' ', 1)
 if ((header_val3[0] == 'NTLM') or (header_val3[0] == 'Negotiate')):
  try:
   msg3 = base64.decodestring(header_val3[1])
  except binascii.Error:
   return
  return parse_ntlm_resp(msg3, seq)

def parse_netntlm_resp_msg ( headers , resp_header , seq ) : try : header_val3 = headers [ resp_header ] except KeyError : return header_val3 = header_val3 . split ( ' ' , 1 ) if ( ( header_val3 [ 0 ] == 'NTLM' ) or ( header_val3 [ 0 ] == 'Negotiate' ) ) : try : msg3 = base64 . decodestring ( header_val3 [ 1 ] ) except binascii . Error : return return parse_ntlm_resp ( msg3 , seq )
parse the client response to the challenge .