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

Function _setPwnUpdateStashVisible

web/scripts/ragnar_modern.js:6957–6962  ·  view source on GitHub ↗
(visible)

Source from the content-addressed store, hash-verified

6955 html += '<ul class="text-xs text-gray-400 mt-2 list-disc pl-5">' +
6956 d.reasons.map(r => '<li>' + escapeHtml(r) + '</li>').join('') + '</ul>';
6957 }
6958 if (d.needs_hardening && !d.applied) {
6959 html += '<p class="text-xs text-amber-300 mt-2">Click <strong>Harden host</strong> to close these (sets accept_redirects=0 and accept_ra_rtr_pref=0; leaves accept_ra alone).</p>';
6960 }
6961 if (d.advisories && d.advisories.length) {
6962 html += '<ul class="text-xs text-cyan-400/80 mt-2 list-disc pl-5">' +
6963 d.advisories.map(a => '<li>' + escapeHtml(a) + '</li>').join('') + '</ul>';
6964 }
6965 out.innerHTML = html;

Callers 2

checkPwnUpdatesFunction · 0.70
stashAndUpdatePwnFunction · 0.70

Calls 1

addMethod · 0.80

Tested by

no test coverage detected