Merge pull request #12 from jpmens/function

Add TCP port number to JSON
This commit is contained in:
Narbeh
2020-03-07 23:51:10 +04:00
committed by GitHub
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'] = int(port)
# Analyze the certificate if enabled
if user_args.analyze: