We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d03bf6 commit ac422f8Copy full SHA for ac422f8
bugscanx/modules/scanners_pro/scanners/ssl.py
@@ -41,7 +41,7 @@ def task(self, payload):
41
42
try:
43
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as socket_client:
44
- socket_client.settimeout(5)
+ socket_client.settimeout(2)
45
socket_client.connect((sni, 443))
46
context = ssl.SSLContext(self.tls_version)
47
with context.wrap_socket(
@@ -50,7 +50,7 @@ def task(self, payload):
50
do_handshake_on_connect=True,
51
) as ssl_socket:
52
response['tls_version'] = ssl_socket.version()
53
- self.task_success(sni)
+ self.success(sni)
54
self.log_info(**response)
55
except Exception:
56
pass
0 commit comments