Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError #1

Open
seajaysec opened this issue Nov 15, 2019 · 0 comments
Open

UnicodeDecodeError #1

seajaysec opened this issue Nov 15, 2019 · 0 comments

Comments

@seajaysec
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant