SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Handling throttling for Citadel.
smicallefffe2ec1a59bb
diff --git a/modules/sfp_citadel.py b/modules/sfp_citadel.pyindex f4eafd6b..590662a1 100644--- a/modules/sfp_citadel.py+++ b/modules/sfp_citadel.py@@ -14,6 +14,7 @@ import jsonimport urllib.errorimport urllib.parseimport urllib.request+import timefrom spiderfoot import SpiderFootEvent, SpiderFootPlugin@@ -104,6 +105,10 @@ class sfp_citadel(SpiderFootPlugin):timeout=self.opts['timeout'],useragent=self.opts['_useragent'])+ if res['code'] == "429":+ time.sleep(10)+ return self.queryEmail(email)+if res['content'] is None:self.sf.debug('No response from Leak-Lookup.com')return None