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

Function _setPwnUpdateWarnings

web/scripts/ragnar_modern.js:6936–6946  ·  view source on GitHub ↗
(messages)

Source from the content-addressed store, hash-verified

6934 html += `<p class="text-xs text-gray-600 mt-2">Starvation capture skipped: ${escapeHtml(st.error)}</p>`;
6935 }
6936 if (d.arp_verdict && d.arp_verdict !== 'clean' && d.arp_verdict !== 'unknown') {
6937 html += `<p class="text-xs text-red-300 mt-1">Gateway ARP verdict: ${escapeHtml(d.arp_verdict)}</p>`;
6938 }
6939 if (d.reasons && d.reasons.length) {
6940 html += '<ul class="text-xs text-gray-400 mt-2 list-disc pl-5">' +
6941 d.reasons.map(r => '<li>' + escapeHtml(r) + '</li>').join('') + '</ul>';
6942 }
6943 out.innerHTML = html;
6944 } catch (e) {
6945 out.innerHTML = '<p class="text-sm text-red-400">Failed: ' + escapeHtml(e.message) + '</p>';
6946 } finally {
6947 _ndBusy(btn, false);
6948 }
6949}

Callers 3

checkPwnUpdatesFunction · 0.70
performPwnUpdateFunction · 0.70
stashAndUpdatePwnFunction · 0.70

Calls 2

addMethod · 0.80
escapeHtmlFunction · 0.70

Tested by

no test coverage detected