aniqfakhrul / powerview.py

Just another Powerview alternative
MIT License
427 stars 47 forks source link

Error when updating ACL, despite working on legacy powerview. #65

Closed Thy-GoD closed 1 year ago

Thy-GoD commented 1 year ago

I'm currently doing a retired HackTheBox machine called Forest.

And have noticed that there's differences between the Add-DomainObjectAcl in powerview.py and legacy powerview, mainly the -creds or credential flag is missing. And also the fact that there's an ACL error when I run the same commands in powerview.py, but it does not appear in the legacy version.

Maybe i'm fundementally missing something, but was just wondering if this is an issue with the missing -creds flag, the box itself, or I'm not using this command properly.

Thank you for your time. image

aniqfakhrul commented 1 year ago

Have you tried re-authenticate with the account? The command looks fine. Doesnt need the -Credential flag. It'll run as current user. If you need to run as a different identity, you need to auth powerview with the other identity.

Thy-GoD commented 1 year ago

Oh that's a good point, i'll try that

Thy-GoD commented 1 year ago

Thanks, it worked, guess it makes sense, other sources did it in one go so i didn't think of it, sorry for bothering!