From d883441defcf4e249af93c4067af6ee13e700cd6 Mon Sep 17 00:00:00 2001 From: seungyeoncherry Date: Sat, 7 Jun 2025 22:49:55 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addon/ScopeDetection.py | 2 +- lib/report.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/addon/ScopeDetection.py b/addon/ScopeDetection.py index 21b76a6..a955aeb 100644 --- a/addon/ScopeDetection.py +++ b/addon/ScopeDetection.py @@ -45,7 +45,7 @@ class ScopeDetection: if result != 0: report_data = [{ 'target': target.load(), - 'status': "WARNING!", + 'status': "WARNING", 'title': "OAuth scope value issue", 'description': f"{method} {url}: {', '.join(result)}", 'uri': url diff --git a/lib/report.py b/lib/report.py index 48d010f..e6198a7 100644 --- a/lib/report.py +++ b/lib/report.py @@ -8,6 +8,7 @@ from typing import List, Dict, Any # file path는 'data/report.csv'로 고정 def save_report(report_data: List[Dict[str, Any]], file_path: str = 'data/report.csv') -> None: os.makedirs(os.path.dirname(file_path), exist_ok=True) + """ Save the report data to a CSV file.