This commit is contained in:
overcuriousity
2025-09-22 22:45:46 +02:00
parent 5d1d249910
commit 571912218e
25 changed files with 84 additions and 84 deletions

View File

@@ -1,7 +1,7 @@
# dnsrecon-reduced/utils/__init__.py
# DNScope-reduced/utils/__init__.py
"""
Utility modules for DNSRecon.
Utility modules for DNScope.
Contains helper functions, export management, and supporting utilities.
"""

View File

@@ -1,7 +1,7 @@
# dnsrecon-reduced/utils/export_manager.py
# DNScope-reduced/utils/export_manager.py
"""
Centralized export functionality for DNSRecon.
Centralized export functionality for DNScope.
Handles all data export operations with forensic integrity and proper formatting.
ENHANCED: Professional forensic executive summary generation for court-ready documentation.
"""
@@ -18,7 +18,7 @@ from utils.helpers import _is_valid_domain, _is_valid_ip
class ExportManager:
"""
Centralized manager for all DNSRecon export operations.
Centralized manager for all DNScope export operations.
Maintains forensic integrity and provides consistent export formats.
ENHANCED: Advanced forensic analysis and professional reporting capabilities.
"""
@@ -324,7 +324,7 @@ class ExportManager:
"a complete audit trail maintained for forensic integrity.",
"",
f"Investigation completed: {now}",
f"Report authenticated by: DNSRecon v{self._get_version()}",
f"Report authenticated by: DNScope v{self._get_version()}",
"",
"=" * 80,
"END OF REPORT",
@@ -694,7 +694,7 @@ class ExportManager:
if centrality >= threshold]
def _get_version(self) -> str:
"""Get DNSRecon version for report authentication."""
"""Get DNScope version for report authentication."""
return "1.0.0-forensic"
def export_graph_json(self, graph_manager) -> Dict[str, Any]:
@@ -717,7 +717,7 @@ class ExportManager:
'last_modified': graph_manager.last_modified,
'total_nodes': graph_manager.get_node_count(),
'total_edges': graph_manager.get_edge_count(),
'graph_format': 'dnsrecon_v1_unified_model'
'graph_format': 'DNScope_v1_unified_model'
},
'graph': graph_data,
'statistics': graph_manager.get_statistics()
@@ -818,7 +818,7 @@ class ExportManager:
}
extension = extension_map.get(export_type, 'txt')
return f"dnsrecon_{export_type}_{safe_target}_{timestamp_str}.{extension}"
return f"DNScope_{export_type}_{safe_target}_{timestamp_str}.{extension}"
class CustomJSONEncoder(json.JSONEncoder):

View File

@@ -1,4 +1,4 @@
# dnsrecon-reduced/utils/helpers.py
# DNScope-reduced/utils/helpers.py
import ipaddress
from typing import Union