Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat(enrichers): to_dummy_domains

dextmorgnc2b044231833
diff --git a/flowsint-enrichers/src/flowsint_enrichers/ip/to_dummy_domains.py b/flowsint-enrichers/src/flowsint_enrichers/ip/to_dummy_domains.py
index 46f47f27..d7f616e2 100644
--- a/flowsint-enrichers/src/flowsint_enrichers/ip/to_dummy_domains.py
+++ b/flowsint-enrichers/src/flowsint_enrichers/ip/to_dummy_domains.py
@@ -86,12 +86,12 @@ class IpToDummyDomainsEnricher(Enricher):
ip_normalized = ip_obj.address.replace(".", "-")
# Generate 20 dummy domains per IP
- for i in range(530):
+ for i in range(20):
service = services[i % len(services)]
tld = tlds[i % len(tlds)]
# Create dummy domain with pattern: {service}-{ip}.{tld}
- dummy_domain = f"{service}-{i}-{ip_normalized}.{tld}"
+ dummy_domain = f"{service}-{ip_normalized}.{tld}"
domain_obj = Domain(domain=dummy_domain)
results.append(domain_obj)