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

Function displayCredentialsTable

web/scripts/ragnar_modern.js:12236–12290  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

12234 // Load AI configuration
12235 loadAIConfiguration(config);
12236
12237 // Load Pushover configuration
12238 loadPushoverConfiguration(config);
12239
12240 // Load hardware profiles
12241 await loadHardwareProfiles();
12242
12243 // Display current profile if set
12244 displayCurrentProfile(config);
12245
12246 // Update vulnerability count in data management card
12247 updateVulnerabilityCount();
12248 await refreshPwnagotchiStatus({ silent: true });
12249
12250 // Also check for updates when loading config tab
12251 checkForUpdates();
12252
12253 // Load security configuration
12254 await loadSecurityConfig();
12255
12256 // Load wardriving on-boot toggle state (card is in config page)
12257 loadWardrivingOnBootState();
12258
12259 // Load Bluetooth provisioning toggle + adapter picker state
12260 loadBleProvisioning();
12261
12262 // Load GPS-backfill opt-in state (gates the map Backfill GPS button)
12263 loadWardrivingBackfillState();
12264
12265 // Load speed-unit (km/h vs mph) card state
12266 loadWardrivingSpeedUnitState();
12267
12268 // Load on-screen kiosk state + service badge
12269 loadKioskState();
12270
12271 // Load scan intensity profile + dropdown
12272 loadScanIntensity();
12273
12274 // Update filename label when CSV file is selected
12275 const wdFileInput = document.getElementById('wd-import-file');
12276 const wdFileLabel = document.getElementById('wd-import-filename');
12277 if (wdFileInput && wdFileLabel) {
12278 wdFileInput.addEventListener('change', () => {
12279 wdFileLabel.textContent = wdFileInput.files.length ? wdFileInput.files[0].name : 'No file chosen';
12280 });
12281 }
12282 } catch (error) {
12283 console.error('Error loading config:', error);
12284 }
12285}
12286
12287// ============================================================================
12288// SCAN INTENSITY (Light / Medium / High — controls nmap loudness)
12289// ============================================================================
12290
12291async function loadScanIntensity() {
12292 const select = document.getElementById('scan-intensity-select');
12293 const badge = document.getElementById('scan-intensity-current');

Callers 2

initializeSocketFunction · 0.70
loadCredentialsDataFunction · 0.70

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected