Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Filter out false positives

bcoles4c32625dad37
diff --git a/modules/sfp_scylla.py b/modules/sfp_scylla.py
index 81c2771f..388592f8 100644
--- a/modules/sfp_scylla.py
+++ b/modules/sfp_scylla.py
@@ -119,8 +119,11 @@ class sfp_scylla(SpiderFootPlugin):
if not email:
continue
- if "@" + eventData not in email:
- # Scylla sometimes returns broader results than the searched data
+ # Skip unrelated emails
+ # Scylla sometimes returns broader results than the searched data
+ mailDom = email.lower().split('@')[1]
+ if not self.getTarget().matches(mailDom):
+ self.sf.debug("Skipped address: " + match)
continue
breach = source.get('Domain')