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

Handle error in enum_users #20

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

AnotherShen
Copy link
Contributor

If a blank response is received from rpcclient the data processing is skipped preventing errors.

If a blank response is received from rpcclient the data processing is skipped preventing errors.
@AnotherShen
Copy link
Contributor Author

#4

@AnotherShen
Copy link
Contributor Author

Uninitialized value $users occurs when the rpcclient command does not receive anything in response. I've added a pull request to handle it but they can be safely ignored. It just means the command failed to find anything.

The RID cycling can definitely be made more efficient/faster as well but maybe another time. Currently it just misses the important Unix UIDs and searches across known Windows SIDs.

@timb-machine timb-machine merged commit 072168b into CiscoCXSecurity:master Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants