Fix Misconfigured SSL/TLS

This commit is contained in:
Narbeh Arakil 2020-05-24 22:36:56 +04:00
parent d8d004f5df
commit 67c70fef45

View File

@ -209,6 +209,10 @@ def show_result(user_args):
if not user_args.json_true: if not user_args.json_true:
print_status(host, context, user_args.analyze) print_status(host, context, user_args.analyze)
except SSL.SysCallError:
if not user_args.json_true:
print('\t{}[-]{} {:<20s} Failed: Misconfigured SSL/TLS\n'.format(Clr.RED, Clr.RST, host))
failed_cnt += 1
except Exception as error: except Exception as error:
if not user_args.json_true: if not user_args.json_true:
print('\t{}[-]{} {:<20s} Failed: {}\n'.format(Clr.RED, Clr.RST, host, error)) print('\t{}[-]{} {:<20s} Failed: {}\n'.format(Clr.RED, Clr.RST, host, error))