Compare commits

..

No commits in common. "a3613327e2ae1b95a854ab0a17914156cee629f4" and "88938d522dc47a9dc4c2f4e04fe5e6519a00327d" have entirely different histories.

5 changed files with 4 additions and 111 deletions

File diff suppressed because one or more lines are too long

View File

@ -520,7 +520,6 @@ domains.forEach((domain: any) => {
`; `;
const relatedConcepts = tool.related_concepts || []; const relatedConcepts = tool.related_concepts || [];
const relatedSoftware = tool.related_software || [];
if (relatedConcepts.length > 0 && modalType === 'primary') { if (relatedConcepts.length > 0 && modalType === 'primary') {
const conceptLinks = relatedConcepts.map(conceptName => { const conceptLinks = relatedConcepts.map(conceptName => {
const concept = toolsData.find(t => t.name === conceptName && t.type === 'concept'); const concept = toolsData.find(t => t.name === conceptName && t.type === 'concept');
@ -557,49 +556,6 @@ domains.forEach((domain: any) => {
`; `;
} }
if (relatedSoftware.length > 0 && modalType === 'primary') {
const softwareLinks = relatedSoftware.map(softwareName => {
const software = toolsData.find(t => t.name === softwareName && (t.type === 'software' || t.type === 'method'));
if (software) {
const isHosted = window.isToolHosted(software);
const isSoftwareMethod = software.type === 'method';
const bgColor = isSoftwareMethod ? 'var(--color-method-bg)' :
isHosted ? 'var(--color-hosted-bg)' : 'var(--color-oss-bg)';
const borderColor = isSoftwareMethod ? 'var(--color-method)' :
isHosted ? 'var(--color-hosted)' : 'var(--color-oss)';
return `<button class="tag cursor-pointer" style="background-color: ${bgColor}; border: 1px solid ${borderColor}; color: ${borderColor}; transition: var(--transition-fast);"
onclick="event.stopPropagation(); window.showToolDetails('${softwareName}', 'secondary')"
onmouseover="this.style.backgroundColor='${borderColor}'; this.style.color='white';"
onmouseout="this.style.backgroundColor='${bgColor}'; this.style.color='${borderColor}';">
${softwareName}
</button>`;
}
return `<span class="tag" style="background-color: var(--color-bg-tertiary); color: var(--color-text-secondary);">${softwareName}</span>`;
}).join('');
const isMobile = window.innerWidth <= 768;
const collapseOnMobile = isMobile && relatedSoftware.length > 2;
tagsHTML += `
<div class="mt-4">
<div class="flex items-center gap-2 mb-2">
<strong style="color: var(--color-text);">Verwandte Software:</strong>
${collapseOnMobile ? `
<button id="software-toggle-${modalType}"
onclick="this.nextElementSibling.style.display = this.nextElementSibling.style.display === 'none' ? 'block' : 'none'; this.textContent = this.textContent === '▼' ? '▲' : '▼';"
class="btn-icon text-xs">
</button>
` : ''}
</div>
<div ${collapseOnMobile ? 'class="hidden"' : ''} class="flex flex-wrap gap-1">
${softwareLinks}
</div>
</div>
`;
}
elements.tags.innerHTML = tagsHTML; elements.tags.innerHTML = tagsHTML;
let linksHTML = ''; let linksHTML = '';

View File

@ -62,7 +62,6 @@ tools:
related_concepts: related_concepts:
- Hash Functions & Digital Signatures - Hash Functions & Digital Signatures
- Regular Expressions (Regex) - Regular Expressions (Regex)
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: advanced skillLevel: advanced
accessType: download accessType: download
@ -98,7 +97,6 @@ tools:
platforms: platforms:
- Web - Web
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: domain-agnostic-software:
- collaboration-general - collaboration-general
skillLevel: intermediate skillLevel: intermediate
@ -172,7 +170,6 @@ tools:
related_concepts: related_concepts:
- Regular Expressions (Regex) - Regular Expressions (Regex)
- SQL Query Fundamentals - SQL Query Fundamentals
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: server-based accessType: server-based
@ -212,7 +209,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -250,7 +246,6 @@ tools:
platforms: platforms:
- Windows - Windows
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: beginner skillLevel: beginner
accessType: commercial accessType: commercial
@ -285,7 +280,6 @@ tools:
platforms: platforms:
- Windows - Windows
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: beginner skillLevel: beginner
accessType: commercial accessType: commercial
@ -320,7 +314,6 @@ tools:
- Linux - Linux
- Web - Web
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: advanced skillLevel: advanced
accessType: server-based accessType: server-based
@ -355,7 +348,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: expert skillLevel: expert
accessType: download accessType: download
@ -393,7 +385,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -428,7 +419,6 @@ tools:
platforms: platforms:
- Web - Web
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: beginner skillLevel: beginner
accessType: server-based accessType: server-based
@ -470,7 +460,6 @@ tools:
- macOS - macOS
- Web - Web
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: advanced skillLevel: advanced
accessType: server-based accessType: server-based
@ -510,7 +499,6 @@ tools:
- macOS - macOS
- Web - Web
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: advanced skillLevel: advanced
accessType: server-based accessType: server-based
@ -547,7 +535,6 @@ tools:
platforms: platforms:
- Linux - Linux
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: expert skillLevel: expert
accessType: server-based accessType: server-based
@ -583,7 +570,6 @@ tools:
- Windows - Windows
- Linux - Linux
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: beginner skillLevel: beginner
accessType: download accessType: download
@ -622,7 +608,6 @@ tools:
- macOS - macOS
related_concepts: related_concepts:
- Regular Expressions (Regex) - Regular Expressions (Regex)
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: novice skillLevel: novice
accessType: download accessType: download
@ -656,7 +641,6 @@ tools:
platforms: platforms:
- Web - Web
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: commercial accessType: commercial
@ -697,7 +681,6 @@ tools:
- Web - Web
related_concepts: related_concepts:
- SQL Query Fundamentals - SQL Query Fundamentals
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: server-based accessType: server-based
@ -734,7 +717,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -772,7 +754,6 @@ tools:
platforms: platforms:
- Web - Web
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: domain-agnostic-software:
- collaboration-general - collaboration-general
skillLevel: novice skillLevel: novice
@ -806,7 +787,6 @@ tools:
platforms: platforms:
- Web - Web
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: domain-agnostic-software:
- collaboration-general - collaboration-general
skillLevel: beginner skillLevel: beginner
@ -842,7 +822,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: advanced skillLevel: advanced
accessType: download accessType: download
@ -884,7 +863,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: domain-agnostic-software:
- collaboration-general - collaboration-general
skillLevel: novice skillLevel: novice
@ -967,7 +945,6 @@ tools:
license: Proprietary license: Proprietary
knowledgebase: false knowledgebase: false
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: domain-agnostic-software:
- collaboration-general - collaboration-general
- name: GraphSense - name: GraphSense
@ -989,7 +966,6 @@ tools:
platforms: platforms:
- Web - Web
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: server-based accessType: server-based
@ -1023,7 +999,6 @@ tools:
- Windows - Windows
related_concepts: related_concepts:
- Hash Functions & Digital Signatures - Hash Functions & Digital Signatures
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: beginner skillLevel: beginner
accessType: download accessType: download
@ -1056,7 +1031,6 @@ tools:
- Linux - Linux
related_concepts: related_concepts:
- Hash Functions & Digital Signatures - Hash Functions & Digital Signatures
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: novice skillLevel: novice
accessType: download accessType: download
@ -1088,7 +1062,6 @@ tools:
platforms: platforms:
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -1125,7 +1098,6 @@ tools:
- macOS - macOS
related_concepts: related_concepts:
- SQL Query Fundamentals - SQL Query Fundamentals
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -1161,7 +1133,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -1196,7 +1167,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -1244,7 +1214,6 @@ tools:
license: GPL-3.0 license: GPL-3.0
knowledgebase: true knowledgebase: true
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: domain-agnostic-software:
- specific-os - specific-os
- name: dd - name: dd
@ -1265,7 +1234,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: built-in accessType: built-in
@ -1298,7 +1266,6 @@ tools:
- Linux - Linux
related_concepts: related_concepts:
- Hash Functions & Digital Signatures - Hash Functions & Digital Signatures
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -1331,7 +1298,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -1366,7 +1332,6 @@ tools:
- Linux - Linux
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: beginner skillLevel: beginner
accessType: download accessType: download
@ -1399,7 +1364,6 @@ tools:
platforms: platforms:
- Linux - Linux
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: advanced skillLevel: advanced
accessType: download accessType: download
@ -1431,7 +1395,6 @@ tools:
platforms: platforms:
- Windows - Windows
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: beginner skillLevel: beginner
accessType: download accessType: download
@ -1465,7 +1428,6 @@ tools:
platforms: platforms:
- Windows - Windows
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: beginner skillLevel: beginner
accessType: download accessType: download
@ -1500,7 +1462,6 @@ tools:
- Windows - Windows
- Linux - Linux
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -1569,7 +1530,6 @@ tools:
- macOS - macOS
related_concepts: related_concepts:
- Regular Expressions (Regex) - Regular Expressions (Regex)
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: novice skillLevel: novice
accessType: built-in accessType: built-in
@ -1645,7 +1605,6 @@ tools:
license: Free / Mixed license: Free / Mixed
knowledgebase: false knowledgebase: false
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: domain-agnostic-software:
- specific-os - specific-os
- name: Tsurugi Linux - name: Tsurugi Linux
@ -1678,7 +1637,6 @@ tools:
license: GPL / Mixed license: GPL / Mixed
knowledgebase: false knowledgebase: false
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: domain-agnostic-software:
- specific-os - specific-os
- name: Parrot Security OS - name: Parrot Security OS
@ -1710,7 +1668,6 @@ tools:
license: GPL-3.0 license: GPL-3.0
knowledgebase: false knowledgebase: false
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: domain-agnostic-software:
- specific-os - specific-os
- name: Eric Zimmerman Tools - name: Eric Zimmerman Tools
@ -1730,7 +1687,6 @@ tools:
platforms: platforms:
- Windows - Windows
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -1766,7 +1722,6 @@ tools:
- Windows - Windows
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: advanced skillLevel: advanced
accessType: download accessType: download
@ -1801,7 +1756,6 @@ tools:
platforms: platforms:
- Web - Web
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: expert skillLevel: expert
accessType: commercial accessType: commercial
@ -1834,7 +1788,6 @@ tools:
platforms: platforms:
- Windows - Windows
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: expert skillLevel: expert
accessType: commercial accessType: commercial
@ -1868,7 +1821,6 @@ tools:
platforms: platforms:
- Windows - Windows
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: commercial accessType: commercial
@ -1900,7 +1852,6 @@ tools:
platforms: platforms:
- Hardware - Hardware
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: commercial accessType: commercial
@ -1959,7 +1910,6 @@ tools:
- data-collection - data-collection
platforms: [] platforms: []
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: advanced skillLevel: advanced
accessType: null accessType: null
@ -1995,7 +1945,6 @@ tools:
- examination - examination
platforms: [] platforms: []
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: null accessType: null
@ -2033,7 +1982,6 @@ tools:
platforms: platforms:
- macOS - macOS
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -2068,7 +2016,6 @@ tools:
- analysis - analysis
platforms: [] platforms: []
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: null accessType: null
@ -2100,7 +2047,6 @@ tools:
- analysis - analysis
platforms: [] platforms: []
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: null accessType: null
@ -2132,7 +2078,6 @@ tools:
- examination - examination
platforms: [] platforms: []
related_concepts: null related_concepts: null
related_software:
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: advanced skillLevel: advanced
accessType: null accessType: null

View File

@ -1,4 +1,4 @@
tools: # This is a minimal example file of the real knowledgebase in ./src/data/tools.yaml
- name: Rapid Incident Response Triage on macOS - name: Rapid Incident Response Triage on macOS
icon: 📋 icon: 📋
type: method type: method
@ -19,8 +19,6 @@ tools:
- examination - examination
platforms: [] platforms: []
related_concepts: null related_concepts: null
related_software:
- Aftermath
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: null accessType: null
@ -57,9 +55,7 @@ tools:
- examination - examination
platforms: platforms:
- macOS - macOS
related_concepts: related_concepts: null
- Hash Functions & Digital Signatures
related_software: null
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: download accessType: download
@ -94,7 +90,6 @@ tools:
- analysis - analysis
platforms: [] platforms: []
related_concepts: null related_concepts: null
related_software: null
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: null accessType: null
@ -126,7 +121,6 @@ tools:
- analysis - analysis
platforms: [] platforms: []
related_concepts: null related_concepts: null
related_software: null
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: intermediate skillLevel: intermediate
accessType: null accessType: null
@ -158,7 +152,6 @@ tools:
- examination - examination
platforms: [] platforms: []
related_concepts: null related_concepts: null
related_software: null
domain-agnostic-software: null domain-agnostic-software: null
skillLevel: advanced skillLevel: advanced
accessType: null accessType: null

View File

@ -21,7 +21,6 @@ const ToolSchema = z.object({
accessType: z.string().optional().nullable(), accessType: z.string().optional().nullable(),
'domain-agnostic-software': z.array(z.string()).optional().nullable(), 'domain-agnostic-software': z.array(z.string()).optional().nullable(),
related_concepts: z.array(z.string()).optional().nullable().default([]), related_concepts: z.array(z.string()).optional().nullable().default([]),
related_software: z.array(z.string()).optional().nullable().default([]), // Added this line
}); });
const ToolsDataSchema = z.object({ const ToolsDataSchema = z.object({