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

Conversation

@juliourena
Copy link
Contributor

Although not typical, a non-administrator user can be assigned WMI privileges.

By removing @requires_admin, we allow non-administrators with special privileges to query WMI. If we do not have the privilege to make queries to WMI, we will receive an access denied error, which makes it more evident what is happening.

Although not common, it is possible for a user to be assigned WMI privileges. Removing @requires_admin in case we do not have privileges to make queries to WMI we will receive an access denied error, which makes it clearer what is happening.
@mpgn mpgn merged commit 4562cea into byt3bl33d3r:master Nov 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants