Skip to content

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

Bug fix.

Steve Micallefc399d760287e
diff --git a/modules/sfp_robtex.py b/modules/sfp_robtex.py
index 5858a12a..a1d0d98b 100644
--- a/modules/sfp_robtex.py
+++ b/modules/sfp_robtex.py
@@ -158,6 +158,10 @@ class sfp_robtex(SpiderFootPlugin):
self.sf.error("Error parsing JSON from robtex API.", False)
return None
+ pas = data.get('pas')
+ if not pas:
+ return None
+
if len(data.get('pas')) > 0:
for r in data.get('pas'):
if 'o' not in r: