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

Function fetchAPI

web/scripts/ragnar_modern.js:11664–11679  ·  view source on GitHub ↗
(endpoint, options = {})

Source from the content-addressed store, hash-verified

11662 chevron.classList.add('rotate-180');
11663 } else {
11664 container.classList.add('hidden');
11665 chevron.classList.remove('rotate-180');
11666 }
11667}
11668
11669// ============================================================================
11670// VULNERABILITY INTELLIGENCE FUNCTIONS
11671// ============================================================================
11672
11673async function loadVulnerabilityIntel() {
11674 try {
11675 const container = document.getElementById('vulnerability-intel-container');
11676
11677 // Show loading state
11678 container.innerHTML = `
11679 <div class="text-center text-gray-400 py-8">
11680 <svg class="w-8 h-8 inline animate-spin mb-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
11681 <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"></path>
11682 </svg>

Callers 15

loadCredentialsFunction · 0.70
syncRusenseTabFromServerFunction · 0.70
syncTerminalFromServerFunction · 0.70
populateMtrSourcesFunction · 0.70
runCaptivePortalFunction · 0.70
loadLldpFunction · 0.70
runArpScanFunction · 0.70
runFlowsFunction · 0.70
loadNetworkIdentityFunction · 0.70
loadInterfacesFunction · 0.70
detectIspFunction · 0.70

Calls 2

errorMethod · 0.80
networkAwareFetchFunction · 0.70

Tested by

no test coverage detected