* Check ZAP authentication status - simplified since auth is now per-scan
()
| 20384 | } |
| 20385 | |
| 20386 | const previewCount = 6; |
| 20387 | const hasMoreItems = data.length > previewCount; |
| 20388 | const previewItems = data.slice(0, previewCount); |
| 20389 | const hiddenItems = hasMoreItems ? data.slice(previewCount) : []; |
| 20390 | |
| 20391 | function createLootItemHTML(item) { |
| 20392 | const filename = escapeHtml(item.filename || 'Unknown File'); |
| 20393 | const size = escapeHtml(item.size || 'N/A'); |
| 20394 | const source = escapeHtml(item.source || 'Unknown'); |
| 20395 | const timestamp = escapeHtml(item.timestamp || 'Unknown'); |
| 20396 | const encodedPath = item.path ? encodeURIComponent(item.path) : ''; |