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

Added support for UTF8 usernames in TGTs #115

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

VbScrub
Copy link
Contributor

@VbScrub VbScrub commented Nov 30, 2021

Fixes #114

This also fixes the same problem with asreproast if the user with preauth disabled has unicode characters in their username

As ASCII and UTF8 are both the same width (1 byte) this shouldn't cause any problems but probably needs more testing than I've been able to do so far. I've tested with asktgt and asreproast using usernames that contain unicode characters (like é) and usernames that don't - both worked fine.

@HarmJ0y
Copy link
Member

HarmJ0y commented Dec 13, 2021

Confirming that this works for me for existing non-unicode usernames as well as unicode usernames.

@HarmJ0y HarmJ0y merged commit a8b3606 into GhostPack:master Dec 13, 2021
@VbScrub VbScrub deleted the UnicodeUsernames branch January 7, 2022 02:20
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.

Can't request TGT for username containing unicode characters
2 participants