Skip to content

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

PasteBin reference event.

smicallef2304a05f3685
diff --git a/modules/sfp_pastebin.py b/modules/sfp_pastebin.py
index 60e65677..144be456 100644
--- a/modules/sfp_pastebin.py
+++ b/modules/sfp_pastebin.py
@@ -54,7 +54,7 @@ class sfp_pastebin(SpiderFootPlugin):
# This is to support the end user in selecting modules based on events
# produced.
def producedEvents(self):
- return [ "SEARCH_ENGINE_WEB_CONTENT" ]
+ return [ "SEARCH_ENGINE_WEB_CONTENT", "PASTEBIN_CONTENT" ]
# Scrape Google for content, starting at startUrl and iterating through
# results based on options supplied. Will return a dictionary of all pages
@@ -171,4 +171,9 @@ class sfp_pastebin(SpiderFootPlugin):
res['content'], self.__name__)
self.notifyListeners(evt)
+ evt = SpiderFootEvent("PASTEBIN_CONTENT",
+ link, self.__name__)
+ self.notifyListeners(evt)
+
+
# End of sfp_pastebin class