SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
More generous timeout.
Steve Micalleff55a34856f16
diff --git a/modules/sfp_opencorporates.py b/modules/sfp_opencorporates.pyindex fa8dcd55..155f3b23 100644--- a/modules/sfp_opencorporates.py+++ b/modules/sfp_opencorporates.py@@ -62,8 +62,9 @@ class sfp_opencorporates(SpiderFootPlugin):if not self.opts['api_key'] == "":params['api_token'] = self.opts['api_key']+ # High timeouts as they can sometimes take a whileres = self.sf.fetchUrl("https://api.opencorporates.com/v0.4/companies/search?" + urllib.urlencode(params),- timeout=self.opts['_fetchtimeout'], useragent=self.opts['_useragent'])+ timeout=60, useragent=self.opts['_useragent'])if res['code'] == "401":self.sf.error("Invalid OpenCorporates API key.", False)