Skip to content

Commit

Permalink
minor changes in even6
Browse files Browse the repository at this point in the history
  • Loading branch information
NtAlexio2 committed Sep 3, 2024
1 parent a6bfe40 commit 2525a03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion impacket/dcerpc/v5/even6.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def hEvtRpcRegisterControllableOperation(dce):
def hEvtRpcRegisterLogQuery(dce, path, flags, query='*\x00'):
request = EvtRpcRegisterLogQuery()
request['Path'] = checkNullString(path)
request['Query'] = query
request['Query'] = checkNullString(query)
request['Flags'] = flags
resp = dce.request(request)
return resp
Expand Down
4 changes: 2 additions & 2 deletions tests/dcerpc/test_even6.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class EVEN6Tests(DCERPCTests):
authn = True
authn_level = RPC_C_AUTHN_LEVEL_PKT_PRIVACY

def test_EvtRpcClearLog(self):
def test_hEvtRpcClearLog(self):
dce, rpctransport = self.connect()

resp = even6.hEvtRpcRegisterControllableOperation(dce)
Expand All @@ -49,7 +49,7 @@ def test_EvtRpcClearLog(self):
resp = even6.hEvtRpcClose(dce, control_handle)
resp.dump()

def test_EvtRpcExportLog(self):
def test_hEvtRpcExportLog(self):
dce, rpctransport = self.connect()

resp = even6.hEvtRpcRegisterControllableOperation(dce)
Expand Down

0 comments on commit 2525a03

Please sign in to comment.