Skip to content

Commit

Permalink
Remove unnecessary AV_EOL, this is done by impackets struct anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
NeffIsBack committed Nov 5, 2024
1 parent 8eccbea commit 1743157
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions impacket/ntlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,9 +933,6 @@ def computeResponseNTLMv2(flags, serverChallenge, clientChallenge, serverName, d

if len(channel_binding_value) > 0:
av_pairs[NTLMSSP_AV_CHANNEL_BINDINGS] = channel_binding_value

# The following variable length AvPairs must be terminated like so
av_pairs[NTLMSSP_AV_EOL] = b''

# Format according to:
# https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/aee311d6-21a7-4470-92a5-c4ecb022a87b
Expand Down

0 comments on commit 1743157

Please sign in to comment.