SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
SOCKS support.
smicalleff09a3ae01d59
diff --git a/modules/sfp_sslcert.py b/modules/sfp_sslcert.pyindex 1778868f..42af6bce 100644--- a/modules/sfp_sslcert.py+++ b/modules/sfp_sslcert.py@@ -11,6 +11,7 @@import sysimport socket+import socksimport sslimport timeimport M2Crypto@@ -95,8 +96,8 @@ class sfp_sslcert(SpiderFootPlugin):try:s = socket.socket()s.settimeout(int(self.opts['ssltimeout']))+ s.connect((fqdn, 443))sock = ssl.wrap_socket(s)- sock.connect((fqdn, 443))sock.do_handshake()rawcert = sock.getpeercert(True)cert = ssl.DER_cert_to_PEM_cert(rawcert)