From 24dad6bcc4f881aaed7c00ee185fda42d7eceb4d Mon Sep 17 00:00:00 2001 From: Aayush Goel <81844215+Aayush-Goel-04@users.noreply.github.com> Date: Wed, 30 Aug 2023 21:48:48 +0530 Subject: [PATCH] Update capa/rules/__init__.py Co-authored-by: Moritz --- capa/rules/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/rules/__init__.py b/capa/rules/__init__.py index 92af15f8..46176fdc 100644 --- a/capa/rules/__init__.py +++ b/capa/rules/__init__.py @@ -244,7 +244,7 @@ def translate_com_feature(com_name: str, com_type: str) -> ceng.Or: ] guid_bytes = bytes.fromhex("".join(reordered_hex_pairs)) prefix = VALID_COM_TYPES[com_type]["prefix"] - com_features.append(capa.features.common.StringFactory(guid_string, f"{prefix+com_name} as guid string")) + com_features.append(capa.features.common.StringFactory(guid_string, f"{prefix+com_name} as GUID string")) com_features.append(capa.features.common.Bytes(guid_bytes, f"{prefix+com_name} as bytes")) return ceng.Or(com_features)