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

Only username should be used for construction #23

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

Conversation

kost
Copy link

@kost kost commented Jul 11, 2013

According to protocol specification, only username should be used for
construction (without domain name).

https://tools.ietf.org/html/rfc2759#section-8.2

According to protocol specification, only username should be used for
construction (without domain name).

https://tools.ietf.org/html/rfc2759#section-8.2
@@ -47,6 +47,13 @@ def getUserName(self):
assert self.isComplete()
return self.handshake['response'].getName()

def getOnlyUserName(self):
Copy link

Choose a reason for hiding this comment

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

It looks like your indentation is way off here. Tabs vs spaces?

Copy link
Author

Choose a reason for hiding this comment

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

Looks like. Fixed. Look newest commit to this pull request.

@moxie0
Copy link
Owner

moxie0 commented Jul 15, 2013

Thanks, is there a reason not to just make getUserName do this?

@kost
Copy link
Author

kost commented Jul 15, 2013

My initial patch was doing that. But, on the end it's really worth displaying domainName as domain name have to be specified during logon once NT hash is cracked. So, it is useful information worth having in output.

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.

3 participants