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

LsaLookupSids should also provide the SID_NAME_USE member (SID type) #10

Closed
GoogleCodeExporter opened this issue Apr 15, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

This is actually a feature request.

While coding the smb_lookupsid module for patator (which does the same as 
metasploit's auxiliary/scanner/smb/smb_lookupsid module), I came up with this 
patch for impacket in order to be able to print the SID type along with the 
account name (ie. SidTypeUser, SidTypeGroup, ... cf. 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa379601%28v=vs.85%29.as
px)

Do you think you might want to add this feature?

Original issue reported on code.google.com by lanjelot@gmail.com on 23 Apr 2012 at 4:48

Attachments:

@GoogleCodeExporter
Copy link
Author

Hey mate.. thanks for the report. Do you have a code snippet to perform a 
lookupsid?. The lsarpc portion was committed by a contributor but didn't send 
code to test.

I'll look your changes over the weekend.

cheers,
beto

Original comment by bet...@gmail.com on 26 Apr 2012 at 9:24

@GoogleCodeExporter
Copy link
Author

Changing type

Original comment by bet...@gmail.com on 26 Apr 2012 at 9:25

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

see attached for a sample code that works with my windows 2003 sp2 virtual 
machine

Original comment by lanjelot@gmail.com on 27 Apr 2012 at 6:52

Attachments:

@GoogleCodeExporter
Copy link
Author

Hey lanjelot:

Check http://code.google.com/p/impacket/source/detail?r=525

Let me know if it works for you and I'll close this ticket.

thanks for the report!,
beto

Original comment by bet...@gmail.com on 29 Apr 2012 at 8:45

@GoogleCodeExporter
Copy link
Author

works great, thank you for your quick response! :)

Original comment by lanjelot@gmail.com on 3 May 2012 at 1:51

@GoogleCodeExporter
Copy link
Author

awesome! let me know if you need anything else.. 

cheers!
beto

Original comment by bet...@gmail.com on 3 May 2012 at 2:25

  • Changed state: Done

p0dalirius pushed a commit to p0dalirius/impacket that referenced this issue Jan 16, 2023
…amps

add utc date to cached domain logon information
This issue was closed.
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