From fdcc47e974b51d1129b46ecf5c1592223f2329c1 Mon Sep 17 00:00:00 2001 From: kevross33 Date: Wed, 8 Jul 2026 15:56:23 +0100 Subject: [PATCH] Fix string encoding in network_c2_etherhiding.py --- modules/signatures/windows/network_c2_etherhiding.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/signatures/windows/network_c2_etherhiding.py b/modules/signatures/windows/network_c2_etherhiding.py index 0f3eafe8..fcea7945 100644 --- a/modules/signatures/windows/network_c2_etherhiding.py +++ b/modules/signatures/windows/network_c2_etherhiding.py @@ -62,9 +62,9 @@ def on_call(self, call, process): # Look for the JSON-RPC payload format if '"jsonrpc"' in buffer_lower and '"method"' in buffer_lower: if ( - '"eth_call"' in buffer_lower - or '"eth_gettransactionbyhash"' in buffer_lower - or '"eth_getstorageat"' in buffer_lower + "eth_call" in buffer_lower + or "eth_gettransactionbyhash" in buffer_lower + or "eth_getstorageat" in buffer_lower ): proc_name = process.get("process_name", "unknown")