From b8e09f6abd45657aec6cd0ebe093b90e2260e05f Mon Sep 17 00:00:00 2001 From: NtAlexio2 Date: Tue, 3 Sep 2024 10:26:27 +0330 Subject: [PATCH] add wmi ObjectFlags to improve human-readability --- impacket/dcerpc/v5/dcom/wmi.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/impacket/dcerpc/v5/dcom/wmi.py b/impacket/dcerpc/v5/dcom/wmi.py index 79a1fb1afc..ab3e4fd13b 100644 --- a/impacket/dcerpc/v5/dcom/wmi.py +++ b/impacket/dcerpc/v5/dcom/wmi.py @@ -91,8 +91,12 @@ def __str__( self ): WBEM_FLAVOR_ORIGIN_SYSTEM = 0x40 WBEM_FLAVOR_AMENDED = 0x80 + # 2.2.6 ObjectFlags OBJECT_FLAGS = 'B=0' +CIM_CLASS = 0x01 +CIM_INSTANCE = 0x02 +CIM_DECORATION = 0x04 #2.2.77 Signature SIGNATURE = '