'Parse NTLM hashes out'

def parse_netntlm(self, authenticate_header, authorization_header, headers, ack, seq):

    if (authenticate_header != None):
        chal_header = authenticate_header.group()
        self.parse_netntlm_chal(headers, chal_header, ack)
    elif (authorization_header != None):
        resp_header = authorization_header.group()
        msg = self.parse_netntlm_resp_msg(headers, resp_header, seq)
        if (msg != None):
            return msg
