Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
Update proto_args.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanRII authored Sep 9, 2023
1 parent e300d27 commit 2c7bdf2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cme/protocols/ldap/proto_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ def proto_args(parser, std_parser, module_parser):
vgroup.add_argument("--groups", action="store_true", help="Enumerate domain groups")
vgroup.add_argument("--dc-list", action="store_true", help="Enumerate Domain Controllers")
vgroup.add_argument("--get-sid", action="store_true", help="Get domain sid")
vgroup.add_argument("--get-user-groups", action="store_true", help="Enumerate domain groups of a domain user")
vgroup.add_argument("--query-user", help="Username to query")
vgroup.add_argument("--get-group-users", action="store_true", help="Enumerate domain users of a domain group")
vgroup.add_argument("--query-group", help="Group to query")

ggroup = ldap_parser.add_argument_group("Retrevie gmsa on the remote DC", "Options to play with gmsa")
ggroup.add_argument("--gmsa", action="store_true", help="Enumerate GMSA passwords")
Expand All @@ -48,4 +52,4 @@ def __call__(self, parser, namespace, values, option_string=None):
x.required = True
super(ConditionalAction, self).__call__(parser, namespace, values, option_string)

return ConditionalAction
return ConditionalAction

0 comments on commit 2c7bdf2

Please sign in to comment.