Skip to content

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

Update Google Custom Search meta

Krishnasis Mandalda2eebb9135d
diff --git a/modules/sfp_googlesearch.py b/modules/sfp_googlesearch.py
index 70ada52e..23b37ae4 100644
--- a/modules/sfp_googlesearch.py
+++ b/modules/sfp_googlesearch.py
@@ -21,7 +21,29 @@ class sfp_googlesearch(SpiderFootPlugin):
'summary': "Obtain information from the Google Custom Search API to identify sub-domains and links.",
'flags': [ "apikey" ],
'useCases': [ "Footprint", "Investigate", "Passive" ],
- 'categories': [ "Search Engines" ]
+ 'categories': [ "Search Engines" ],
+ 'dataSource': {
+ 'website': "https://developers.google.com/custom-search",
+ 'model': "FREE_AUTH_LIMITED",
+ 'references': [
+ "https://developers.google.com/custom-search/v1",
+ "https://developers.google.com/custom-search/docs/overview",
+ "https://cse.google.com/cse"
+ ],
+ 'apiKeyInstructions': [
+ "Visit developers.google.com/custom-search/v1/introduction",
+ "Register a free Google account",
+ "Click on 'Get A Key'",
+ "Connect a Project",
+ "The API Key will be listed under 'YOUR API KEY'"
+ ],
+ 'favIcon': "https://www.gstatic.com/devrel-devsite/prod/v2210deb8920cd4a55bd580441aa58e7853afc04b39a9d9ac4198e1cd7fbe04ef/developers/images/favicon.png",
+ 'logo': "https://www.gstatic.com/devrel-devsite/prod/v2210deb8920cd4a55bd580441aa58e7853afc04b39a9d9ac4198e1cd7fbe04ef/developers/images/favicon.png",
+ 'description': "Google Custom Search enables you to create a search engine for your website, your blog, or a collection of websites. "
+ "You can configure your engine to search both web pages and images. "
+ "You can fine-tune the ranking, add your own promotions and customize the look and feel of the search results. "
+ "You can monetize the search by connecting your engine to your Google AdSense account.\n",
+ }
}
# Default options