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

Update httprelayserver.py - re-encode username and domain #1822

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cauan
Copy link
Contributor

@cauan cauan commented Oct 1, 2024

utf-16le encode authenticateMessage['domain_name', 'user_name'] when ascii encoded to improve compatibility with other such as outputToJohnFormat which expect those parameters to be encoded as utf-16le.

At the moment it is generating broken dumps when users/domain is encoded as ascii.

image

utf-16le encode authenticateMessage['domain_name', 'user_name'] when ascii encoded to improve compatibility with other such as  outputToJohnFormat which is generating output files with wrong encoding.
Code fix to work with taget file.
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

Successfully merging this pull request may close these issues.

1 participant