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

Function startAdvVulnPolling

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

Source from the content-addressed store, hash-verified

20173 </div>
20174 </div>
20175 `;
20176 }
20177 });
20178
20179 html += '</div>';
20180
20181 if (html === '<div class="space-y-6"></div>') {
20182 container.innerHTML = '<p class="text-gray-400">No credentials discovered yet</p>';
20183 } else {
20184 container.innerHTML = html;
20185 }
20186}
20187
20188function displayLootTable(data) {
20189 const container = document.getElementById('loot-table');
20190 if (!container) return;
20191
20192 if (!data || data.length === 0) {
20193 container.innerHTML = '<p class="text-gray-400">No loot data available</p>';
20194 return;
20195 }
20196
20197 const previewCount = 6;
20198 const hasMoreItems = data.length > previewCount;
20199 const previewItems = data.slice(0, previewCount);
20200 const hiddenItems = hasMoreItems ? data.slice(previewCount) : [];
20201
20202 function createLootItemHTML(item) {
20203 const filename = escapeHtml(item.filename || 'Unknown File');
20204 const size = escapeHtml(item.size || 'N/A');

Callers 4

loadAdvancedVulnDataFunction · 0.70
quickRescanHostFunction · 0.70
startAdvancedScanFunction · 0.70
handoffReconToZapFunction · 0.70

Calls 2

refreshAdvVulnDataFunction · 0.70
fetchScanLogsFunction · 0.70

Tested by

no test coverage detected