mirror of
https://github.com/yyhuni/xingrin.git
synced 2026-01-31 11:46:16 +08:00
加入:指纹识别
This commit is contained in:
@@ -5,8 +5,10 @@
|
||||
|
||||
from .initiate_scan_flow import initiate_scan_flow
|
||||
from .subdomain_discovery_flow import subdomain_discovery_flow
|
||||
from .fingerprint_detect_flow import fingerprint_detect_flow
|
||||
|
||||
__all__ = [
|
||||
'initiate_scan_flow',
|
||||
'subdomain_discovery_flow',
|
||||
'fingerprint_detect_flow',
|
||||
]
|
||||
|
||||
@@ -206,6 +206,10 @@ class FlowOrchestrator:
|
||||
from apps.scan.flows.site_scan_flow import site_scan_flow
|
||||
return site_scan_flow
|
||||
|
||||
elif scan_type == 'fingerprint_detect':
|
||||
from apps.scan.flows.fingerprint_detect_flow import fingerprint_detect_flow
|
||||
return fingerprint_detect_flow
|
||||
|
||||
elif scan_type == 'directory_scan':
|
||||
from apps.scan.flows.directory_scan_flow import directory_scan_flow
|
||||
return directory_scan_flow
|
||||
|
||||
@@ -19,6 +19,12 @@ from .subdomain_discovery import (
|
||||
save_domains_task,
|
||||
)
|
||||
|
||||
# 指纹识别任务
|
||||
from .fingerprint_detect import (
|
||||
export_urls_for_fingerprint_task,
|
||||
run_xingfinger_and_stream_update_tech_task,
|
||||
)
|
||||
|
||||
# 注意:
|
||||
# - subdomain_discovery_task 已重构为多个子任务(subdomain_discovery/)
|
||||
# - finalize_scan_task 已废弃(Handler 统一管理状态)
|
||||
@@ -32,4 +38,7 @@ __all__ = [
|
||||
'run_subdomain_discovery_task',
|
||||
'merge_and_validate_task',
|
||||
'save_domains_task',
|
||||
# 指纹识别任务
|
||||
'export_urls_for_fingerprint_task',
|
||||
'run_xingfinger_and_stream_update_tech_task',
|
||||
]
|
||||
|
||||
@@ -31,6 +31,7 @@ const FEATURE_LIST = [
|
||||
{ key: "subdomain_discovery", label: "子域名发现" },
|
||||
{ key: "port_scan", label: "端口扫描" },
|
||||
{ key: "site_scan", label: "站点扫描" },
|
||||
{ key: "fingerprint_detect", label: "指纹识别" },
|
||||
{ key: "directory_scan", label: "目录扫描" },
|
||||
{ key: "url_fetch", label: "URL 抓取" },
|
||||
{ key: "vuln_scan", label: "漏洞扫描" },
|
||||
@@ -44,6 +45,7 @@ function parseEngineFeatures(engine: ScanEngine): Record<FeatureKey, boolean> {
|
||||
subdomain_discovery: false,
|
||||
port_scan: false,
|
||||
site_scan: false,
|
||||
fingerprint_detect: false,
|
||||
directory_scan: false,
|
||||
url_fetch: false,
|
||||
vuln_scan: false,
|
||||
|
||||
@@ -32,6 +32,7 @@ const STAGE_LABELS: Record<string, string> = {
|
||||
subdomain_discovery: "子域名发现",
|
||||
port_scan: "端口扫描",
|
||||
site_scan: "站点扫描",
|
||||
fingerprint_detect: "指纹识别",
|
||||
directory_scan: "目录扫描",
|
||||
url_fetch: "URL 抓取",
|
||||
vuln_scan: "漏洞扫描",
|
||||
|
||||
@@ -2,6 +2,7 @@ import {
|
||||
Globe,
|
||||
Network,
|
||||
Monitor,
|
||||
Fingerprint,
|
||||
FolderSearch,
|
||||
Link,
|
||||
ShieldAlert,
|
||||
@@ -27,6 +28,7 @@ export const CAPABILITY_CONFIG: Record<string, {
|
||||
subdomain_discovery: { label: "子域名发现", color: CAPABILITY_COLOR, icon: Globe },
|
||||
port_scan: { label: "端口扫描", color: CAPABILITY_COLOR, icon: Network },
|
||||
site_scan: { label: "站点扫描", color: CAPABILITY_COLOR, icon: Monitor },
|
||||
fingerprint_detect: { label: "指纹识别", color: CAPABILITY_COLOR, icon: Fingerprint },
|
||||
directory_scan: { label: "目录扫描", color: CAPABILITY_COLOR, icon: FolderSearch },
|
||||
url_fetch: { label: "URL 抓取", color: CAPABILITY_COLOR, icon: Link },
|
||||
vuln_scan: { label: "漏洞扫描", color: CAPABILITY_COLOR, icon: ShieldAlert },
|
||||
|
||||
Reference in New Issue
Block a user