SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Handle throttling by VirusTotal.
smicallef0e73df190183
diff --git a/modules/sfp_virustotal.py b/modules/sfp_virustotal.pyindex 0995a2b9..ec4cedd9 100644--- a/modules/sfp_virustotal.py+++ b/modules/sfp_virustotal.py@@ -148,6 +148,10 @@ class sfp_virustotal(SpiderFootPlugin):useragent="SpiderFoot")+ if res['code'] == "204":+ self.sf.error("Your request to VirusTotal was throttled.")+ return None+# Public API is limited to 4 queries per minuteif self.opts['publicapi']:time.sleep(15)