fortra / impacket

Impacket is a collection of Python classes for working with network protocols.
https://www.coresecurity.com
Other
13.54k stars 3.58k forks source link

How to create a new WMI class with IWbemServices::PutClass #1186

Open Dliv3 opened 3 years ago

Dliv3 commented 3 years ago

Hi,

I want to create a new WMI class remotely with IWbemServices::PutClass but it always fails, and I didn't find any code samples about the IWbemServices::PutClass, is there anyone can help?

iWbemServices.PutClass(newClass, WBEM_CHANGE_FLAG_TYPE.enumItems.WBEM_FLAG_CREATE_OR_UPDATE)
XiaoliChan commented 2 years ago

I also want to know about how to use this function.

XiaoliChan commented 2 years ago

It's any others method in impacket use to create custom class?