Add get-info-users module#769
Merged
Merged
Conversation
Signed-off-by: Sebastian Pauli <sebastian.pauli@protonmail.com>
Signed-off-by: Sebastian Pauli <sebastian.pauli@protonmail.com>
Member
Contributor
Author
|
Hi @NeffIsBack , You can set this field with the following command (Windows Server 2022) The field then affects the "Notes" field in the UI I came across this because I have the box from HTB, which is why I initially thought that this might be a good field to query. |
Member
|
No worries! If that's a thing that is being used by companies (and not a custom attribute) i am happy to integrate it as a module. I will take a deeper look at this tomorrow |
NeffIsBack
requested changes
Jul 4, 2025
Signed-off-by: Sebastian Pauli <sebastian.pauli@protonmail.com>
NeffIsBack
approved these changes
Jul 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Description
Similar to the "get-desc-users" which outputs the description field of domain users, this module is used to output the info field of domain users.
Similar to the description fields, users/admins can also write sensitive data in to the "info" fields.
An example is the "Support" box from hackthebox - " A user called
supportis identified in the users list, and theinfofield is found to contain his password"This module was also tested with the help of the manchine

The corresponding
ldapsearchType of change
Setup guide for the review
Checklist:
poetry run python -m ruff check . --preview, use--fixto automatically fix what it can)