A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
fix: read social enricher outputs as utf-8
Ghraven4e14df6c615c
diff --git a/flowsint-enrichers/src/flowsint_enrichers/social/to_maigret.py b/flowsint-enrichers/src/flowsint_enrichers/social/to_maigret.pyindex a216543f..97f0759a 100644--- a/flowsint-enrichers/src/flowsint_enrichers/social/to_maigret.py+++ b/flowsint-enrichers/src/flowsint_enrichers/social/to_maigret.py@@ -53,7 +53,7 @@ class MaigretEnricher(Enricher):return resultstry:- with open(output_file, "r") as f:+ with open(output_file, "r", encoding="utf-8") as f:raw_data = json.load(f)except Exception as e:Logger.error(diff --git a/flowsint-enrichers/src/flowsint_enrichers/social/to_sherlock.py b/flowsint-enrichers/src/flowsint_enrichers/social/to_sherlock.pyindex 057d0647..5e2a26b6 100644--- a/flowsint-enrichers/src/flowsint_enrichers/social/to_sherlock.py+++ b/flowsint-enrichers/src/flowsint_enrichers/social/to_sherlock.py@@ -63,7 +63,7 @@ class SherlockEnricher(Enricher):continuefound_accounts = {}- with open(output_file, "r") as f:+ with open(output_file, "r", encoding="utf-8") as f:for line in f:line = line.strip()if line and line.startswith("http"):