Skip to content

Option for custom filter for description聽#7

Description

@noraj

When auditing active directory on languages other than english some filters are rarely useful, for example the filter on the description is looking for pwd and password but in french 馃嚝馃嚪 it will more likely be mdp or mot? de passe .

OBJECT_TO_SEARCH = '(&(objectCategory=user)(|(description=*pwd*)(description=*password*)))'

It results in false negative where juicy description are missed:

[-] Users with an interesting description                                                                                                                                                                            
[!] No entry found !

It would be nice to have an option --description-regexp where one can pass a custom LDAP regexp to filter for, eg. *mdp* that would be added in addition to the default one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions