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

Fixing shadow.py to add more than 1 KeyCredential object and correctly list them #200

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GeisericII
Copy link

As per title, this PR makes allows to set multiple KeyCredential objects for the same account (certipy currently overwrites the existing one) and allows properly listing them (which seemed to be faulty before).

Before:
immagine

Powerview.py can successfully read them:
immagine

After:
immagine

This can be very useful when performing abusing GenericWrite/All privileges against an object that has the msDS-KeyCredentialLink already populated as it prevents attribute overwrites and then allows retrieving the device-id for easy removal.

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