MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / downloadFile

Function downloadFile

web/scripts/ragnar_modern.js:13372–13386  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

13370// ============================================================================
13371
13372// Network scanning variables for enhanced scanning
13373let enhancedNetworkScanInterval = null;
13374let isEnhancedRealTimeScanning = false;
13375
13376async function startEnhancedRealTimeScan() {
13377 const startBtn = document.getElementById('start-network-scan');
13378 const stopBtn = document.getElementById('stop-network-scan');
13379
13380 if (!startBtn || !stopBtn) return;
13381
13382 try {
13383 addConsoleMessage('Starting enhanced real-time network scanning (ARP + Nmap)...', 'info');
13384 startBtn.disabled = true;
13385 stopBtn.disabled = false;
13386 isEnhancedRealTimeScanning = true;
13387
13388 // Show progress section
13389 document.getElementById('scan-progress').classList.remove('hidden');

Callers 1

previewFileFunction · 0.70

Calls 3

popMethod · 0.80
showFileSuccessFunction · 0.70

Tested by

no test coverage detected