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

Combine the enumerate and codepage PRs #159

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

Conversation

AndrewDodd42
Copy link

This PR combines the WQL enumeration and codepage changes. The only additional change should be setting the codepage in the buildClient() method.

knalli and others added 9 commits August 23, 2022 15:22
Basically, this adds these:
* generated service/client `WinRm` adapter gets support for the enumerate a resourceUri using a filter, and its corresponding enumration-pull operation
* the high-level client `WinRmClient` gets support for the aggregated operation enumerateAndPull for fetching all elements using a reosurceUri and a filter
* as an easy-to-use operation, the client also gets support for `runWql(namespace, query)` which allows executing a wmi query and fetching the results (using the `enumerateAndPull`)

Ref https://www.w3.org/Submission/WS-Enumeration/
Ref https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wsmv/10cfb548-845b-4979-aae3-3f39d7080e17
Ref https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wsmv/b79bcdd9-125c-49e0-8a4f-bac4ce878592
Ref https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wsmv/dfe7084a-dea6-4f7f-b35c-cc7d1ad8060d
Ref https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wsmv/939e283a-5518-4e43-9d9f-4f0b1a199815
Ref https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wsmv/0fddd40a-b5c4-4a63-a0bf-3ff9966e9e3e
Ref https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wsmv/8923a1bb-ea8b-49cb-8495-5f2612e7a0f9
executeCommand() method as well.
@AndrewDodd42 AndrewDodd42 changed the title Combine the enumerate and codepage Combine the enumerate and codepage PRs Aug 24, 2022
@AndrewDodd42 AndrewDodd42 marked this pull request as ready for review August 24, 2022 09:28
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.

2 participants