MCPcopy Create free account
hub / github.com/AutoRecon/AutoRecon / SSLScan

Class SSLScan

autorecon/default-plugins/sslscan.py:3–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from autorecon.plugins import ServiceScan
2
3class SSLScan(ServiceScan):
4
5 def __init__(self):
6 super().__init__()
7 self.name = "SSL Scan"
8 self.tags = ['default', 'safe', 'ssl', 'tls']
9
10 def configure(self):
11 self.match_all_service_names(True)
12 self.require_ssl(True)
13
14 async def run(self, service):
15 if service.protocol == 'tcp' and service.secure:
16 await service.execute('sslscan --show-certificate --no-colour {addressv6}:{port} 2>&1', outfile='{protocol}_{port}_sslscan.html')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected