|
150 | 150 | <span style="font-size:11px;color:var(--text-muted)">Phase ${currentPhase}${totalPhases > 0 ? '/' + totalPhases : ''} · ${pct}%</span> |
151 | 151 | <div style="display:flex;gap:10px;align-items:center"> |
152 | 152 | ${(() => { |
153 | | - const isFindingType = ['dns_cf1016', 'dns-cf1016', 'nuclei', 'misconfig', 's3', 'github', 'github_org', 'zerodays', 'jwt'].includes(scanType); |
| 153 | + const isFindingType = ['dns_cf1016', 'dns-cf1016', 'dns', 'dns-takeover', 'dns-dangling-ip', 'nuclei', 'nuclei-full', 'nuclei-cves', 'nuclei-panels', 'nuclei-vulnerabilities', 'nuclei-default-logins', 'misconfig', 's3', 'github', 'github_org', 'github_scan', 'zerodays', 'jwt', 'gf', 'js', 'jsscan', 'ffuf', 'apkx', 'sqlmap', 'backup', 'reflection'].includes(scanType); |
154 | 154 | const label = isFindingType ? (filesUploaded === 1 ? 'finding' : 'findings') : (filesUploaded === 1 ? 'file' : 'files'); |
155 | 155 | const icon = isFindingType ? '🎯' : '📁'; |
156 | 156 | return filesUploaded > 0 ? `<span style="font-size:10px;color:var(--text-muted)">${icon} ${filesUploaded} ${label}</span>` : ''; |
|
219 | 219 | const elapsed = completedAt ? elapsedBetween(startedAt, completedAt) : elapsedStr(startedAt); |
220 | 220 | const scanID = s.scan_id || s.ScanID || ''; |
221 | 221 | const filesUploaded = s.files_uploaded || s.FilesUploaded || 0; |
222 | | - const isFindingType = ['dns_cf1016', 'dns-cf1016', 'nuclei', 'misconfig', 's3', 'github', 'github_org', 'zerodays', 'jwt'].includes(scanType); |
| 222 | + const isFindingType = ['dns_cf1016', 'dns-cf1016', 'dns', 'dns-takeover', 'dns-dangling-ip', 'nuclei', 'nuclei-full', 'nuclei-cves', 'nuclei-panels', 'nuclei-vulnerabilities', 'nuclei-default-logins', 'misconfig', 's3', 'github', 'github_org', 'github_scan', 'zerodays', 'jwt', 'gf', 'js', 'jsscan', 'ffuf', 'apkx', 'sqlmap', 'backup', 'reflection'].includes(scanType); |
223 | 223 | const label = isFindingType ? 'findings' : 'files'; |
224 | 224 | const icon = isFindingType ? '🎯' : '📁'; |
225 | 225 | const badgeHtml = filesUploaded > 0 ? `<span class="badge badge-running" style="font-size:10px;padding:2px 6px;margin-bottom:4px;display:inline-block;background:rgba(6,182,212,0.15);border:1px solid rgba(6,182,212,0.3);color:var(--accent-cyan);cursor:help" title="${filesUploaded} ${label} identified">${icon} ${filesUploaded} ${label}</span><br/>` : ''; |
|
0 commit comments