CravateRouge / bloodyAD

BloodyAD is an Active Directory Privilege Escalation Framework
MIT License
1.12k stars 112 forks source link

Argument issue ? #2

Closed TH3xACE closed 2 years ago

TH3xACE commented 2 years ago

python3 bloodyAD.py -d marvel.com -u ironman -p "Pass123" --host 192.168.102.101 getGroupMembers -identity spiderman

Error > bloodyAD.py: error: unrecognized arguments: -identity

python3 bloodyAD.py -d marvel.com -u ironman -p "Pass123" --host 192.168.102.101 getGroupMembers identity spiderman

Error > You provided too many arguments

CravateRouge commented 2 years ago

It should be:

python3 bloodyAD.py -d marvel.com -u ironman -p "Pass123" --host 192.168.102.101 getGroupMembers [Name of the Group]

The functions' arguments are positional so you must not give an option name as -identity before. getGroupMembers and some other functions don't have a complete documentation yet.

PS: getGroupMembers gives you the members of a group so you should provide avengers instead of spiderman

TH3xACE commented 2 years ago

Oh! I see my bad... Thanks... working fine ;)