Skip to content

Add ability to bind with only NTLM Hash instead of password #269

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

Merged
merged 2 commits into from
Jun 22, 2020

Conversation

ropnop
Copy link
Contributor

@ropnop ropnop commented Jun 19, 2020

Hello again!

go-ntlmssp merged in my PR for processing challenges with hashes only (Azure/go-ntlmssp#27), so I wanted to quickly add this functionality to go-ldap also.

I added another exported function, NTLMBindWithHash that performs an NTLM bind with a valid NTLM hash in hex format. The NTLMChallengeBind flow is the same, it just checks whether password or hash is set to determine how to compute the response.

Oh I also committed in updated go.mod and go.sum (which I missed last PR)

Copy link
Member

@johnweldon johnweldon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ropnop

@johnweldon johnweldon merged commit 286b3cf into go-ldap:master Jun 22, 2020
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.

2 participants