SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Enforce search limits, save result content to the DB.
smicallefda32e4b8e81d
diff --git a/modules/sfp_bingsearch.py b/modules/sfp_bingsearch.pyindex 36a065a2..ac619fc6 100644--- a/modules/sfp_bingsearch.py+++ b/modules/sfp_bingsearch.py@@ -74,7 +74,7 @@ class sfp_bingsearch(SpiderFootPlugin):else:self.results.append(eventData)- results = self.bingIterate("ip:" + eventData, { "limit": 100 })+ results = self.bingIterate("ip:" + eventData, dict(limit=self.opts['pages']))myres = list()if results == None:sf.info("No data returned from Bing.")@@ -92,6 +92,11 @@ class sfp_bingsearch(SpiderFootPlugin):self.notifyListeners(evt)myres.append(site)+ # Submit the bing results for analysis+ evt = SpiderFootEvent("SEARCH_ENGINE_WEB_CONTENT", results[key],+ self.__name__, event)+ self.notifyListeners(evt)+# Scrape Bing for content, starting at startUrl and iterating through# results based on options supplied. Will return a dictionary of all pages# fetched and their contents {page => content}.