Skip to content

Commit

Permalink
Fix handling of a data field in NTLMSSP
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kamath <[email protected]>
  • Loading branch information
pwnfoo committed Mar 12, 2020
1 parent 899aeb4 commit c3713d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ntlmrecon/ntlmutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,10 @@ def gather_ntlm_info(url):
response_data[url]['meta']['status'] = 'ok'
response_data[url]['data'] = server_details
# Let's save some bytes
del (response_data[url]['data']['UNKNOWN'])
try:
del (response_data[url]['data']['UNKNOWN'])
except KeyError:
pass
"""
if 'ews' in url:
response_data[url]['data']['Server Type'] = 'Exchange Web Application'
Expand Down

0 comments on commit c3713d7

Please sign in to comment.