Refactor Code

This commit is contained in:
Narbeh 2018-04-23 10:58:40 +04:30
parent d8a2be6f59
commit 18fd91fccb

View File

@ -144,7 +144,6 @@ def print_status(host, context, analyze=False):
print('\t\tLogjam vulnerability: {}'.format(context[host]['logjam_vuln']))
print('\t\tDrown vulnerability: {}'.format(context[host]['drownVulnerable']))
print('\t\tExpired: {}\n'.format(context[host]['cert_exp']))
@ -185,7 +184,6 @@ def show_result(user_args):
print('{}Canceling script...{}\n'.format(Clr.YELLOW, Clr.RST))
sys.exit(1)
if not user_args.json_true:
print('\n{} successful and {} failed\n'.format(len(hosts) - failed_cnt, failed_cnt))