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

Adding some logger when users have been dumped #343

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

Anhydrite
Copy link
Contributor

Hello there,
Just a little PR because I saw that the log "Enumerated domain users" disappeared, so i just added it back (I don't know if this was for a specific reason).

The purpose of these prints make sense when we try to enumerate local users and logged_on users. There is no separation between these two informations
image

And I also changed it when enumerating domain users just to make it a little consistent. There are other cases where the "-Username- -LastPwdSet-" is printed without further detail of what it is but since i do not use actively these features i prefer not touching it.

Cordially :)

Copy link
Contributor

@NeffIsBack NeffIsBack left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!
Can you also the len(users) to the samruser.py output? That way it is similar to the ldap --users flag.
Also we should leave it as .display() instead of .success() is it is informative and not really a "success" message (regarding the amount of users) imo.

@NeffIsBack NeffIsBack added the enhancement New feature or request label Jun 11, 2024
@Anhydrite
Copy link
Contributor Author

Done ! :)

Copy link
Contributor

@NeffIsBack NeffIsBack left a comment

Choose a reason for hiding this comment

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

LGTM

@NeffIsBack NeffIsBack merged commit e4ca4f9 into Pennyw0rth:main Jun 11, 2024
5 checks passed
@mpgn mpgn added this to the v1.3.0 milestone Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants