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

Function zapClearSession

web/scripts/ragnar_modern.js:20318–20337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20316
20317 // Cleanup old button states for removed hosts
20318 cleanupOldDeepScanStates();
20319}
20320
20321function displayCredentialsTable(data) {
20322 const container = document.getElementById('credentials-table');
20323 if (!container) return;
20324
20325 if (!data || Object.keys(data).length === 0) {
20326 container.innerHTML = '<p class="text-gray-400">No credentials discovered yet</p>';
20327 return;
20328 }
20329
20330 let html = '<div class="space-y-6">';
20331
20332 Object.entries(data).forEach(([service, creds]) => {
20333 if (creds && creds.length > 0) {
20334 html += `
20335 <div class="bg-gray-800 rounded-lg p-4">
20336 <h3 class="text-lg font-semibold text-Ragnar-400 mb-3">${service.toUpperCase()} (${creds.length})</h3>
20337 <div class="overflow-x-auto">
20338 <table class="min-w-full divide-y divide-gray-700">
20339 <thead>
20340 <tr>

Callers

nothing calls this directly

Calls 3

errorMethod · 0.80
showNotificationFunction · 0.70
fetchZapStatusFunction · 0.70

Tested by

no test coverage detected