Skip to content

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

Renamed modules to fit with their data source.

Steve788c88aac6ef
diff --git a/modules/sfp_archiveorg.py b/modules/sfp_archiveorg.py
index ccf186ce..7b8b9df3 100644
--- a/modules/sfp_archiveorg.py
+++ b/modules/sfp_archiveorg.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# -------------------------------------------------------------------------------
-# Name: sfp_historic
+# Name: sfp_archiveorg
# Purpose: Queries archive.org (Wayback machine) for historic versions of
# certain pages.
#
@@ -19,8 +19,8 @@ import json
from sflib import SpiderFoot, SpiderFootPlugin, SpiderFootEvent
-class sfp_historic(SpiderFootPlugin):
- """Historic Files:Footprint:Search Engines:slow:Identifies historic versions of interesting files/pages from the Wayback Machine."""
+class sfp_archiveorg(SpiderFootPlugin):
+ """Archive.org:Footprint:Search Engines:slow:Identifies historic versions of interesting files/pages from the Wayback Machine."""
# Default options
opts = {
@@ -148,4 +148,4 @@ class sfp_historic(SpiderFootPlugin):
evt = SpiderFootEvent(name, wbmlink, self.__name__, event)
self.notifyListeners(evt)
-# End of sfp_historic class
+# End of sfp_archiveorg class
diff --git a/modules/sfp_github.py b/modules/sfp_github.py
index d89d964c..3f3a0608 100644
--- a/modules/sfp_github.py
+++ b/modules/sfp_github.py
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
# -------------------------------------------------------------------------------
-# Name: sfp_coderepo
-# Purpose: Identifies public code repositories associated with your target.
+# Name: sfp_github
+# Purpose: Identifies public code repositories in Github associated with
+# your target.
#
# Author: Steve Micallef <[email protected]>
#
@@ -13,8 +14,8 @@
import json
from sflib import SpiderFoot, SpiderFootPlugin, SpiderFootEvent
-class sfp_coderepo(SpiderFootPlugin):
- """Code Repos:Footprint,Passive:Social::Identify associated public code repositories (Github only for now)."""
+class sfp_github(SpiderFootPlugin):
+ """Github:Footprint,Passive:Social::Identify associated public code repositories on Github."""
# Default options
opts = {
@@ -176,4 +177,4 @@ class sfp_coderepo(SpiderFootPlugin):
self.notifyListeners(evt)
-# End of sfp_coderepo class
+# End of sfp_github class
diff --git a/modules/sfp_openbugbounty.py b/modules/sfp_openbugbounty.py
index 3c1ec663..7159e4d1 100644
--- a/modules/sfp_openbugbounty.py
+++ b/modules/sfp_openbugbounty.py
@@ -1,6 +1,6 @@
#-------------------------------------------------------------------------------
-# Name: sfp_vuln
-# Purpose: Query external vulnerability sources to see if our target appears.
+# Name: sfp_openbugbounty
+# Purpose: Query the Open Bug Bounty database to see if our target appears.
#
# Author: Steve Micallef <[email protected]>
#
@@ -16,8 +16,8 @@ import re
import json
from sflib import SpiderFoot, SpiderFootPlugin, SpiderFootEvent
-class sfp_vuln(SpiderFootPlugin):
- """Vulnerable:Footprint,Investigate,Passive:Blacklists:errorprone:Check external vulnerability scanning/reporting services (for now only openbugbounty.org) to see if the target is listed."""
+class sfp_openbugbounty(SpiderFootPlugin):
+ """Open Bug Bounty:Footprint,Investigate,Passive:Blacklists:errorprone:Check external vulnerability scanning/reporting service openbugbounty.org to see if the target is listed."""
# Default options
opts = {
@@ -99,4 +99,4 @@ class sfp_vuln(SpiderFootPlugin):
e = SpiderFootEvent("VULNERABILITY", n, self.__name__, event)
self.notifyListeners(e)
-# End of sfp_vuln class
+# End of sfp_openbugbounty class
diff --git a/modules/sfp_ripe.py b/modules/sfp_ripe.py
index f35b4f11..c6e527f1 100644
--- a/modules/sfp_ripe.py
+++ b/modules/sfp_ripe.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# -------------------------------------------------------------------------------
-# Name: sfp_ir
+# Name: sfp_ripe
# Purpose: Queries Internet registryes like RIPE (incl. ARIN) to get
# netblocks and other bits of info.
#
@@ -16,8 +16,8 @@ import json
from sflib import SpiderFoot, SpiderFootPlugin, SpiderFootEvent
-class sfp_ir(SpiderFootPlugin):
- """Internet Registries:Footprint,Investigate,Passive:Networking::Queries Internet Registries to identify netblocks and other info."""
+class sfp_ripe(SpiderFootPlugin):
+ """RIPE Internet Registry:Footprint,Investigate,Passive:Networking::Queries the RIPE registry (includes ARIN data) to identify netblocks and other info."""
# Default options
opts = {}
@@ -338,4 +338,4 @@ class sfp_ir(SpiderFootPlugin):
return None
-# End of sfp_ir class
+# End of sfp_ripe class
diff --git a/modules/sfp_zoneh.py b/modules/sfp_zoneh.py
index 58ebc614..86437c64 100644
--- a/modules/sfp_zoneh.py
+++ b/modules/sfp_zoneh.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# -------------------------------------------------------------------------------
-# Name: sfp_defaced
+# Name: sfp_zoneh
# Purpose: Checks if a domain or IP appears on the zone-h.org defacement
# archive.
#
@@ -16,8 +16,8 @@ import re
from sflib import SpiderFoot, SpiderFootPlugin, SpiderFootEvent
-class sfp_defaced(SpiderFootPlugin):
- """Defacement Check:Investigate,Passive:Search Engines::Check if a hostname/domain appears on the zone-h.org 'special defacements' RSS feed."""
+class sfp_zoneh(SpiderFootPlugin):
+ """Zone-H Defacement Check:Investigate,Passive:Search Engines::Check if a hostname/domain appears on the zone-h.org 'special defacements' RSS feed."""
# Default options
opts = {
@@ -65,7 +65,7 @@ class sfp_defaced(SpiderFootPlugin):
grps = re.findall("<title><\!\[CDATA\[(.[^\]]*)\]\]></title>\s+<link><\!\[CDATA\[(.[^\]]*)\]\]></link>", content)
for m in grps:
if target in m[0]:
- self.sf.info("Found defaced site: " + m[0])
+ self.sf.info("Found zoneh site: " + m[0])
return m[0] + "\n<SFURL>" + m[1] + "</SFURL>"
return False
@@ -108,14 +108,14 @@ class sfp_defaced(SpiderFootPlugin):
return None
url = "http://www.zone-h.org/rss/specialdefacements"
- content = self.sf.cacheGet("sfdefaced", 48)
+ content = self.sf.cacheGet("sfzoneh", 48)
if content is None:
data = self.sf.fetchUrl(url, useragent=self.opts['_useragent'])
if data['content'] is None:
self.sf.error("Unable to fetch " + url, False)
return None
else:
- self.sf.cachePut("sfdefaced", data['content'])
+ self.sf.cachePut("sfzoneh", data['content'])
content = data['content']
ret = self.lookupItem(eventData, content)
@@ -123,4 +123,4 @@ class sfp_defaced(SpiderFootPlugin):
evt = SpiderFootEvent(evtType, ret, self.__name__, event)
self.notifyListeners(evt)
-# End of sfp_defaced class
+# End of sfp_zoneh class