SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
removed a pitfall where the code was using a default mutable argument (#1581)
Naelson Douglas C. Oliveira20c450971542
diff --git a/sflib.py b/sflib.pyindex 53d5726b..42217034 100644--- a/sflib.py+++ b/sflib.py@@ -2364,7 +2364,7 @@ class SpiderFoot:return True- def googleIterate(self, searchString: str, opts: dict = {}) -> dict:+ def googleIterate(self, searchString: str, opts: dict = None) -> dict:"""Request search results from the Google API.Will return a dict:@@ -2384,7 +2384,8 @@ class SpiderFoot:Returns:dict: Search results as {"webSearchUrl": "URL", "urls": [results]}"""-+ if opts is None:+ opts = {}search_string = searchString.replace(" ", "%20")params = urllib.parse.urlencode({"cx": opts["cse_id"],