mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
优化
This commit is contained in:
@@ -30,7 +30,7 @@ class CheckCert(Module):
|
|||||||
sock.connect((self.domain, self.port))
|
sock.connect((self.domain, self.port))
|
||||||
cert_dict = sock.getpeercert()
|
cert_dict = sock.getpeercert()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.log('ERROR', e.args)
|
logger.log('DEBUG', e.args)
|
||||||
return
|
return
|
||||||
subdomains = utils.match_subdomain(self.domain, str(cert_dict))
|
subdomains = utils.match_subdomain(self.domain, str(cert_dict))
|
||||||
self.subdomains = self.subdomains.union(subdomains)
|
self.subdomains = self.subdomains.union(subdomains)
|
||||||
|
|||||||
Reference in New Issue
Block a user