Skip to content

UnicodeDecodeError #1

@seajaysec

Description

@seajaysec

When running with python3 ntlm_challenger.py 'http://autodiscover.$TARGET.com/autodiscover/ I receive the following error.

Traceback (most recent call last):
  File "ntlm_challenger.py", line 258, in <module>
    main()
  File "ntlm_challenger.py", line 251, in main
    challenge = parse_challenge(challenge_message)
  File "ntlm_challenger.py", line 151, in parse_challenge
    signature = decode_string(challenge_message[0:7]) # b'NTLMSSP\x00' --> NTLMSSP
  File "ntlm_challenger.py", line 17, in decode_string
    return byte_string.decode('UTF-8').replace('\x00', '')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcc in position 2: unexpected end of data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions