Skip to content

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

Bug fix.

rootf5ecf7b86cd7
diff --git a/modules/sfp_ripe.py b/modules/sfp_ripe.py
index 8469fc5d..bc54a407 100644
--- a/modules/sfp_ripe.py
+++ b/modules/sfp_ripe.py
@@ -80,7 +80,7 @@ class sfp_ripe(SpiderFootPlugin):
self.sf.debug("Error processing JSON response.")
return None
- prefix = j["data"]["prefix"]
+ prefix = j["data"].get("prefix")
if prefix is None:
self.sf.debug("Could not identify network prefix.")
return None