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

Function _showPwnConfigAlert

web/scripts/ragnar_modern.js:6224–6233  ·  view source on GitHub ↗
(el, msg, type)

Source from the content-addressed store, hash-verified

6222 }
6223 row('Nameservers', nsHtml);
6224
6225 // Gateway
6226 let gwHtml = d.interface
6227 ? '<span class="text-gray-500">none — no route via ' + escapeHtml(d.interface) + ' (segment without a gateway, or DHCP still pending)</span>'
6228 : '<span class="text-gray-500">—</span>';
6229 if (d.gateway && d.gateway.ip) {
6230 gwHtml = escapeHtml(d.gateway.ip);
6231 if (d.gateway.ptr) gwHtml += ' <span class="text-gray-500">(' + escapeHtml(d.gateway.ptr) + ')</span>';
6232 }
6233 row(d.interface ? 'Gateway via ' + d.interface : 'Default gateway', gwHtml);
6234
6235 // Traffic via VPN — a local tunnel on the default route is shown
6236 // instantly; anything else needs the *egress* checked (VPN/Tor on the

Callers 2

loadPwnConfigFunction · 0.70
savePwnConfigFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected