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

Change desiredAccess to MAXIMUM_ALLOWED when getting user_handle in net.py #1708

Conversation

gabrielg5
Copy link
Collaborator

This PR fixes #1706.

…et.py. We could receive ACCESS_DENIED if authenticated user was not admin with previous value (USER_ALL_ACCESS)
@gabrielg5 gabrielg5 self-assigned this Mar 1, 2024
@gabrielg5
Copy link
Collaborator Author

Hi @Signum21,

Here is the PR in case you can take a look at it and give it a try also before going into our internal merge process

thanks!

@Signum21
Copy link

Signum21 commented Mar 1, 2024

Hi @gabrielg5, I tested the changes and now the command works, thank you for taking the time to fix it.

@anadrianmanrique anadrianmanrique merged commit 3ee3bb4 into fortra:master Mar 4, 2024
9 checks passed
@anadrianmanrique
Copy link
Contributor

I reviewed it. It works as expected. Thanks

@gabrielg5 gabrielg5 deleted the fix_user_handle_desired_access_in_net branch March 7, 2024 14:53
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.

Impacket-net access denied when specifying user
3 participants