Skip to content

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

sfp_punkspider: Implement new VULNERABILITY_* reporting approach.

smicallef71b5318ec570
diff --git a/modules/sfp_punkspider.py b/modules/sfp_punkspider.py
index 68d4f6d6..0e7fb22a 100644
--- a/modules/sfp_punkspider.py
+++ b/modules/sfp_punkspider.py
@@ -61,7 +61,7 @@ class sfp_punkspider(SpiderFootPlugin):
# What events this module produces
def producedEvents(self):
- return ["VULNERABILITY"]
+ return ["VULNERABILITY_GENERAL"]
def query(self, qry):
qryhash = hashlib.md5(qry.encode('utf-8', errors='replace').lower()).hexdigest() # noqa: DUO130
@@ -104,7 +104,7 @@ class sfp_punkspider(SpiderFootPlugin):
for vuln in res[rec]['vulns']:
if res[rec]['vulns'][vuln] == 0:
continue
- e = SpiderFootEvent("VULNERABILITY", f"{vuln}: {res[rec]['vulns'][vuln]}", self.__name__, event)
+ e = SpiderFootEvent("VULNERABILITY_GENERAL", f"{vuln}: {res[rec]['vulns'][vuln]}", self.__name__, event)
self.notifyListeners(e)
# End of sfp_punkspider class