fixes to iteration context menu

This commit is contained in:
overcuriousity
2025-09-15 21:37:19 +02:00
parent 93a258170a
commit 71b2855d01
3 changed files with 15 additions and 6 deletions

View File

@@ -203,7 +203,7 @@ class DNSReconApp {
const { nodeId } = e.detail;
console.log(`Received iterateScan event for node: ${nodeId}`);
this.elements.targetInput.value = nodeId;
this.startScan(false); // Start scan in "add to graph" mode
this.startScan(false, nodeId); // Pass nodeId to force rescan
});
// Keyboard shortcuts
@@ -246,7 +246,7 @@ class DNSReconApp {
/**
* Start scan with error handling
*/
async startScan(clearGraph = true) {
async startScan(clearGraph = true, forceRescanTarget = null) {
console.log('=== STARTING SCAN ===');
try {
@@ -279,7 +279,8 @@ class DNSReconApp {
const requestData = {
target: target,
max_depth: maxDepth,
clear_graph: clearGraph
clear_graph: clearGraph,
force_rescan_target: forceRescanTarget
};
console.log('Request data:', requestData);