Skip to content

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

Bug fix for empty web servers.

smicalleffb76ce4a3bf5
diff --git a/modules/sfp_websvr.py b/modules/sfp_websvr.py
index 79a44074..dca5ea3a 100644
--- a/modules/sfp_websvr.py
+++ b/modules/sfp_websvr.py
@@ -93,7 +93,8 @@ class sfp_websvr(SpiderFootPlugin):
if tech != None and '.php' in eventSource:
tech = "PHP"
- evt = SpiderFootEvent("WEBSERVER_TECHNOLOGY", tech, self.__name__, parentEvent)
- self.notifyListeners(evt)
+ if tech != None:
+ evt = SpiderFootEvent("WEBSERVER_TECHNOLOGY", tech, self.__name__, parentEvent)
+ self.notifyListeners(evt)
# End of sfp_websvr class