[Refactor] 리팩터링

This commit is contained in:
tv0924@icloud.com 2025-06-26 10:43:52 +09:00
commit 062552d3d8
12 changed files with 24 additions and 22 deletions

View file

@ -4,8 +4,8 @@ from typing import List, Dict, Optional, Any
from mitmproxy.http import HTTPFlow
import lib.target as target
from lib.report import save_report
import lib.cur_target_url as cur_target_url
from lib.report_vuln import save_report
# 결과 리포트 저장용 데이터 클래스
@dataclass
@ -32,7 +32,7 @@ class AccessTokenScanner:
findings.extend(await self._scan_response(flow.response, flow.request.url))
if findings:
target_value = target.load()
target_value = cur_target_url.load()
save_report([f.to_report(target_value) for f in findings])
# 내부 구현