From 0dca195981d0bffc5ebd1771eac634dcb8a04c7e Mon Sep 17 00:00:00 2001 From: Thiyaga Kailasam Date: Wed, 12 Aug 2020 16:13:56 -0400 Subject: [PATCH] fixes dionach/HeadersAnalyzer#6 --- HeadersAnalyzer.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HeadersAnalyzer.py b/HeadersAnalyzer.py index 04a972b..e1ef96a 100755 --- a/HeadersAnalyzer.py +++ b/HeadersAnalyzer.py @@ -456,6 +456,12 @@ def findInteresting(self, host, headers): for i in range(0, model.getSize()): list_boring_headers.append(model.getElementAt(i)) + if self.xPermittedCrossDomainPoliciesCB.isSelected(): + list_boring_headers.append('x-permitted-cross-domain-policies') + + if self.contentSecurityPolicyCB.isSelected(): + list_boring_headers.append('content-security-policy') + issuename = "Interesting Header(s)" issuelevel = "Low" issuedetail = "

The response includes the following potentially interesting headers: