princemaxp commited on
Commit
9b0e535
·
verified ·
1 Parent(s): da51597

Update header_analyzer.py

Browse files
Files changed (1) hide show
  1. header_analyzer.py +1 -1
header_analyzer.py CHANGED
@@ -130,4 +130,4 @@ def analyze_headers(headers, body=""):
130
  if not findings:
131
  return ["No suspicious issues found in headers."], 0
132
 
133
- return findings, score
 
130
  if not findings:
131
  return ["No suspicious issues found in headers."], 0
132
 
133
+ return findings, score, parse_auth_results(headers.get("Authentication-Results") or headers.get("Authentication-results") or "")