Skip to content

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

sfp_phishtank: Fix blacklist host check (#1309)

bcoles22fdfb65fbc5
diff --git a/modules/sfp_phishtank.py b/modules/sfp_phishtank.py
index d4dd37bc..5f11ad3a 100644
--- a/modules/sfp_phishtank.py
+++ b/modules/sfp_phishtank.py
@@ -82,9 +82,9 @@ class sfp_phishtank(SpiderFootPlugin):
continue
if target.lower() in item[1]:
self.sf.debug(f"Host name {target} found in phishtank.com blacklist.")
- return item[0]
+ return item[0]
- return
+ return None
def retrieveBlacklist(self):
blacklist = self.sf.cacheGet('phishtank', 24)