SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Fixed Windows-specific issue with date handling.
smicallefb60634998ab9
diff --git a/modules/sfp_sslcert.py b/modules/sfp_sslcert.pyindex ba9f707a..dd624779 100644--- a/modules/sfp_sslcert.py+++ b/modules/sfp_sslcert.py@@ -142,9 +142,9 @@ class sfp_sslcert(SpiderFootPlugin):# Check if the expiration date is in the futuredef checkExpiry(self, cert, sevt):- exp = int(cert.get_not_after().get_datetime().strftime("%s"))+ exp = int(time.mktime(cert.get_not_after().get_datetime().timetuple()))expstr = cert.get_not_after().get_datetime().strftime("%Y-%m-%d %H:%M:%S")- now = int(time.strftime("%s"))+ now = int(time.time())warnexp = now + self.opts['certexpiringdays'] * 86400if exp <= now: