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

Function handleLogout

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

Source from the content-addressed store, hash-verified

5826 // Talking pairs = the concrete isolation-off evidence.
5827 const pr = document.getElementById('wifidef-iso-pairs');
5828 const pairs = bss.flatMap(b => (b.pairs || []).map(p =>
5829 `<span class="font-mono">${p[0]} ⇄ ${p[1]}</span> ×${p[2]}`));
5830 pr.innerHTML = pairs.length
5831 ? '<b class="text-gray-300">Clients seen talking through the AP:</b> ' + pairs.join(' · ')
5832 : '';
5833}
5834
5835// A BSSID that pivots to the Spectrum Analyzer (Network → WiFi Analyzer),
5836// where it's selected + highlighted in the spectrum. ssid may be undefined.
5837function _wifidefMacLink(mac, ssid) {
5838 if (!mac) return '';
5839 const s = encodeURIComponent(ssid || '').replace(/'/g, '%27');
5840 return `<a href="javascript:void(0)" onclick="event.stopPropagation();wifiPivotFromDefense('${mac}','${s}', true)"`
5841 + ` class="underline decoration-dotted hover:text-white" title="Open in Signal Intelligence">${mac}</a>`;

Callers

nothing calls this directly

Calls 1

postAPIFunction · 0.70

Tested by

no test coverage detected