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

Function _pwnGpsHTML

web/scripts/ragnar_modern.js:6250–6257  ·  view source on GitHub ↗
(net)

Source from the content-addressed store, hash-verified

6248 arp: { verdict: arpV, reasons: (arp && arp.reasons) || [] },
6249 dhcp: { verdict: 'checking…', reasons: [] },
6250 };
6251 renderNetIntegrity(state);
6252 // Slow DHCP check — update the chip (and overall) once it resolves.
6253 fetchAPI('/api/net/dhcp-guardian?quick=1').then(dhcp => {
6254 const dhcpV = dhcp ? dhcp.verdict : 'unknown';
6255 state.dhcp = { verdict: dhcpV, reasons: (dhcp && dhcp.reasons) || [] };
6256 state.overall = ['clean', 'suspicious', 'compromised'][Math.max(
6257 _NETINT_RANK[dnsV] || 0, _NETINT_RANK[arpV] || 0, _NETINT_RANK[dhcpV] || 0)];
6258 renderNetIntegrity(state);
6259 }).catch(() => {
6260 state.dhcp = { verdict: 'unknown', reasons: [] };

Callers 2

networkCardHTMLFunction · 0.70
networkRowHTMLFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected