From b989682a7faea5fc31dac218147a34873ab0e207 Mon Sep 17 00:00:00 2001 From: DEVUSAIK2 Date: Thu, 8 Mar 2018 18:12:16 +0530 Subject: [PATCH] Update microservice.py --- microservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microservice.py b/microservice.py index a5c15c0..21e4570 100644 --- a/microservice.py +++ b/microservice.py @@ -69,7 +69,7 @@ def post(self): elif req == 'ASVS_3.0.1_10.11': if 'Strict-Transport-Security' in response.headers: output_res['result']['status'] = "PASSED" - output_res['result']['message'] = 'Detected HSTS Header with the value: \n```\n' + response.headers['Strict-Transport-Security'] + '\n```' + output_res['result']['message'] = 'Detected cookie Header with the value: \n```\n' + response.headers['cookie'] + '\n```' else: output_res['result']['message'] = 'No HSTS :(' output_res['result']['confidenceLevel'] = 90