Skip to content

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

Better error handling.

smicallef6162e9d3c348
diff --git a/modules/sfp_pwned.py b/modules/sfp_pwned.py
index 6f67621e..8258b759 100644
--- a/modules/sfp_pwned.py
+++ b/modules/sfp_pwned.py
@@ -69,7 +69,7 @@ class sfp_pwned(SpiderFootPlugin):
res = self.sf.fetchUrl(url, timeout=self.opts['_fetchtimeout'],
useragent="SpiderFoot", headers=hdrs)
- if res['code'] == "404":
+ if res['code'] == 404:
return None
try: