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

Fix #668 - Remove @requires_admin flag for WMI queries #669

Merged
merged 1 commit into from
Nov 7, 2022

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
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants