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

Function loadNetworkData

web/scripts/ragnar_modern.js:2870–2881  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2868 b.classList.toggle('bg-Ragnar-600', on); b.classList.toggle('text-white', on);
2869 b.classList.toggle('text-slate-300', !on);
2870 });
2871 showTab('network');
2872 showNetworkSubtab('wifi'); // wifiInit() — auto-scans when there's no survey yet
2873 _wifiFlagBanner();
2874 if (_wifiState.data) {
2875 if (_wifiState.data.aps.some(a => a.bssid === _wifiState.flagged.bssid)) {
2876 _wifiState.flagged.applied = true;
2877 wifiSelectAp(_wifiState.flagged.bssid);
2878 _wifiFlagBanner();
2879 } else {
2880 wifiScan(); // stale survey — the rogue may only just have appeared
2881 }
2882 }
2883}
2884

Callers 6

showNetworkSubtabFunction · 0.70
preloadAllTabsFunction · 0.70
loadTabDataFunction · 0.70
handleScanHostUpdateFunction · 0.70
handleScanCompletedFunction · 0.70
handleDeepScanUpdateFunction · 0.70

Calls 4

errorMethod · 0.80
loadStableNetworkDataFunction · 0.70
addConsoleMessageFunction · 0.70

Tested by

no test coverage detected