add TCP port number used to JSON

This commit is contained in:
Jan-Piet Mens
2020-03-07 20:32:18 +01:00
parent f868aff185
commit c1fda041f3
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -200,6 +200,7 @@ def show_result(user_args):
try:
cert = get_cert(host, port, user_args)
context[host] = get_cert_info(host, cert)
context[host]['tcp_port'] = port
# Analyze the certificate if enabled
if user_args.analyze: