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.