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

add more requests to even6 protocol #1798

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

NtAlexio2
Copy link
Contributor

This PR adds 2 operations to Windows Eventlog Protocol (EVEN6) implementation:

  1. EvtRpcRegisterControllableOperation (opnum 4)
  2. EvtRpcClearLog (opnum 6)

by these two, Impacket is able to clear eventlogs on remote computer.

This PR also contains a 2 minor changes:

  1. Checking string parameters for null termination (required by protocol specifications). The associated function is checkNullString().
  2. Parse rpc context handles in structured and more accurate way (handle_t()) instead of treating them as string (20s="")

@NtAlexio2 NtAlexio2 changed the title add two requests to even6 protocol add more requests to even6 protocol Sep 3, 2024
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.

1 participant