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,4 +1,4 @@
/* DNSRecon - Optimized Compact Theme */
/* DNScope - Optimized Compact Theme */
/* Reset and Base */
* {

View File

@@ -1,6 +1,6 @@
// dnsrecon-reduced/static/js/graph.js
// DNScope-reduced/static/js/graph.js
/**
* Graph visualization module for DNSRecon
* Graph visualization module for DNScope
* Handles network graph rendering using vis.js with proper large entity node hiding
* UPDATED: Added manual refresh button for polling optimization when graph becomes large
*/

View File

@@ -1,12 +1,12 @@
/**
* Main application logic for DNSRecon web interface
* Main application logic for DNScope web interface
* Handles UI interactions, API communication, and data flow
* UPDATED: Now compatible with a strictly flat, unified data model for attributes.
*/
class DNSReconApp {
class DNScopeApp {
constructor() {
console.log('DNSReconApp constructor called');
console.log('DNScopeApp constructor called');
this.graphManager = null;
this.scanStatus = 'idle';
this.statusPollInterval = null; // Separate status polling
@@ -29,7 +29,7 @@ class DNSReconApp {
* Initialize the application
*/
init() {
console.log('DNSReconApp init called');
console.log('DNScopeApp init called');
document.addEventListener('DOMContentLoaded', () => {
console.log('DOM loaded, initializing application...');
try {
@@ -44,9 +44,9 @@ class DNSReconApp {
this.updateGraph();
console.log('DNSRecon application initialized successfully');
console.log('DNScope application initialized successfully');
} catch (error) {
console.error('Failed to initialize DNSRecon application:', error);
console.error('Failed to initialize DNScope application:', error);
this.showError(`Initialization failed: ${error.message}`);
}
});
@@ -539,7 +539,7 @@ class DNSReconApp {
// Get the filename from headers or create one
const contentDisposition = response.headers.get('content-disposition');
let filename = 'dnsrecon_export.json';
let filename = 'DNScope_export.json';
if (contentDisposition) {
const filenameMatch = contentDisposition.match(/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/);
if (filenameMatch) {
@@ -2789,5 +2789,5 @@ style.textContent = `
document.head.appendChild(style);
// Initialize application when page loads
console.log('Creating DNSReconApp instance...');
const app = new DNSReconApp();
console.log('Creating DNScopeApp instance...');
const app = new DNScopeApp();