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 filters #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Adding filters #15

wants to merge 2 commits into from

Conversation

alhkytran
Copy link

This pull request was created to add filters to GPOs I added the flags -FIlterUser and -FilterComputer to choose the kind of filter. Then you need to add -Samaccount and -SID to fill the user or computer info which is affected by the GPO. Other option is to use the flag -file to add more than one filters, the format of the file would be one SAMACCOUNT:SID per line.

In addition I added the flag -TV for change the Task version because is necessary to modify it with each GPO modification

An execution example would be:
pygpoabuse.py DOMAIN/USER -gpo-id "GPO-ID" -powershell -command "cmd.exe /c calc.exe" -taskname "GPOAbuses" -user -dc-ip DC_IP -FilterUser -Samaccount USER_SAMACCOUNT_GPO_AFFECTED -SID USER_SID_GPO_AFFECTED -TV "1.6" -v -f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant