impacket icon indicating copy to clipboard operation
impacket copied to clipboard

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

Open Dliv3 opened this issue 2 years ago • 2 comments

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)

Dliv3 avatar Oct 15 '21 07:10 Dliv3

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

XiaoliChan avatar Jul 23 '22 12:07 XiaoliChan

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

XiaoliChan avatar Jul 23 '22 12:07 XiaoliChan