diff --git a/dfir_yaml_editor.html b/dfir_yaml_editor.html index 0104d9c..f509697 100644 --- a/dfir_yaml_editor.html +++ b/dfir_yaml_editor.html @@ -1419,210 +1419,86 @@ .replace(/^-|-$/g, ''); return `--- -title: "${tool.name}" -tool_name: "${tool.name}" -description: "${tool.description.split('\n')[0].trim()}" -last_updated: ${new Date().toISOString().split('T')[0]} -author: "CC24-Team" -difficulty: "${tool.skillLevel || 'intermediate'}" -categories: ${tool.type === 'concept' ? '["concepts"]' : tool.type === 'method' ? '["methods"]' : '["tools"]'} -tags: ${JSON.stringify(tool.tags || [])} -sections: - overview: true - installation: ${tool.type === 'software' ? 'true' : 'false'} - configuration: ${tool.type === 'software' ? 'true' : 'false'} - usage_examples: true - best_practices: true - troubleshooting: ${tool.type === 'software' ? 'true' : 'false'} - advanced_topics: false -review_status: "draft" ---- + title: "${tool.name}" + description: "${tool.description.split('\n')[0].trim()}" + last_updated: ${new Date().toISOString().split('T')[0]} + tool_name: "${tool.name}" + related_tools: ${tool.related_concepts ? JSON.stringify(tool.related_concepts) : '[]'} + author: "CC24-Team" + difficulty: "${tool.skillLevel || 'intermediate'}" + categories: ${tool.type === 'concept' ? '["concepts"]' : tool.type === 'method' ? '["methods"]' : '["tools"]'} + tags: ${tool.tags ? JSON.stringify(tool.tags) : '[]'} + published: true + --- -# ${tool.icon ? tool.icon + ' ' : ''}${tool.name} + # ${tool.icon ? tool.icon + ' ' : ''}${tool.name} -## Übersicht + ## Übersicht -${tool.description} + ${tool.description} -**Typ**: ${tool.type || 'software'} -**Skill Level**: ${tool.skillLevel || 'intermediate'} -**Offizielle URL**: [${tool.name}](${tool.url}) + **Typ**: ${tool.type || 'software'} + **Skill Level**: ${tool.skillLevel || 'intermediate'} + **Offizielle URL**: [${tool.name}](${tool.url}) -${tool.license ? `**Lizenz**: ${tool.license}` : ''} -${tool.platforms && tool.platforms.length > 0 ? `**Plattformen**: ${tool.platforms.join(', ')}` : ''} -${tool.accessType ? `**Zugriff**: ${tool.accessType}` : ''} + ${tool.license ? `**Lizenz**: ${tool.license}\n` : ''}${tool.platforms && tool.platforms.length > 0 ? `**Plattformen**: ${tool.platforms.join(', ')}\n` : ''}${tool.accessType ? `**Zugriff**: ${tool.accessType}\n` : ''} -${tool.domains && tool.domains.length > 0 ? `## Forensische Domänen + ${tool.domains && tool.domains.length > 0 ? `## Anwendungsbereiche -${tool.domains.map(domain => `- ${domain}`).join('\n')}` : ''} + ${tool.domains.map(domain => `- ${domain}`).join('\n')}\n\n` : ''}${tool.phases && tool.phases.length > 0 ? `## Ermittlungsphasen -${tool.phases && tool.phases.length > 0 ? `## Ermittlungsphasen + ${tool.phases.map(phase => `- ${phase}`).join('\n')}\n\n` : ''}## ${tool.type === 'concept' ? 'Grundlagen' : tool.type === 'method' ? 'Vorgehensweise' : 'Installation & Nutzung'} -${tool.phases.map(phase => `- ${phase}`).join('\n')}` : ''} + ${tool.type === 'concept' ? + `### Kernkonzepte -${tool.type === 'concept' ? `## Grundlagen + TODO: Beschreibe die wichtigsten Konzepte und Prinzipien. -### Kernkonzepte + ### Anwendungsbereiche -- Konzept 1: Beschreibung -- Konzept 2: Beschreibung -- Konzept 3: Beschreibung + TODO: Erkläre, wo und wie dieses Konzept angewendet wird.` : + tool.type === 'method' ? + `### Schritt-für-Schritt Anleitung -### Anwendungsbereiche + 1. TODO: Erster Schritt + 2. TODO: Zweiter Schritt + 3. TODO: Dritter Schritt -Dieses Konzept findet Anwendung in: -- Anwendungsbereich 1 -- Anwendungsbereich 2 -- Anwendungsbereich 3 + ### Voraussetzungen -### Verwandte Konzepte + TODO: Liste die erforderlichen Voraussetzungen auf.` : + `### Installation -${tool.related_concepts ? tool.related_concepts.map(c => `- ${c}`).join('\n') : '- Verwandtes Konzept 1\n- Verwandtes Konzept 2'}` : tool.type === 'method' ? `## Methodik + TODO: Beschreibe die Installation für die relevanten Plattformen. -### Vorgehensweise + ### Grundlegende Nutzung -1. Schritt 1: Beschreibung -2. Schritt 2: Beschreibung -3. Schritt 3: Beschreibung + TODO: Erkläre die wichtigsten Funktionen und Befehle. -### Voraussetzungen + ### Workflow-Beispiele -- Voraussetzung 1 -- Voraussetzung 2 -- Voraussetzung 3 + TODO: Zeige typische Anwendungsfälle und Workflows.`} -### Tools für diese Methode + ## Best Practices -- Tool 1 -- Tool 2 -- Tool 3` : `## Installation & Setup + TODO: Teile bewährte Praktiken und Tipps für die optimale Nutzung. -### Systemvoraussetzungen + ## Häufige Probleme -- Voraussetzung 1 -- Voraussetzung 2 -- Voraussetzung 3 + TODO: Beschreibe häufige Stolpersteine und deren Lösungen. -### Installation + ${tool.related_concepts && tool.related_concepts.length > 0 ? `## Verwandte Tools und Konzepte -#### Windows -\`\`\`bash -# Installationsschritte für Windows -\`\`\` + ${tool.related_concepts.map(concept => `- ${concept}`).join('\n')}\n\n` : ''}## Weitere Ressourcen -#### Linux -\`\`\`bash -# Installationsschritte für Linux -\`\`\` + - [Offizielle Dokumentation](${tool.url})${tool.projectUrl ? `\n- [CC24 Server Zugang](${tool.projectUrl})` : ''} -#### macOS -\`\`\`bash -# Installationsschritte für macOS -\`\`\` + TODO: Füge weitere nützliche Links und Ressourcen hinzu. -## Konfiguration + --- -### Grundkonfiguration - -1. Konfigurationsschritt 1 -2. Konfigurationsschritt 2 -3. Konfigurationsschritt 3 - -### Erweiterte Konfiguration - -- Erweiterte Einstellung 1 -- Erweiterte Einstellung 2 - -## Grundlegende Nutzung - -### Erste Schritte - -1. Grundschritt 1 -2. Grundschritt 2 -3. Grundschritt 3 - -### Häufige Befehle - -\`\`\`bash -# Befehl 1 -command --option value - -# Befehl 2 -command2 --help -\`\`\` - -### Workflow-Beispiele - -#### Einfacher Workflow -1. Workflow-Schritt 1 -2. Workflow-Schritt 2 -3. Workflow-Schritt 3 - -#### Erweiterer Workflow -1. Erweiterer Schritt 1 -2. Erweiterer Schritt 2 -3. Erweiterer Schritt 3`} - -## Best Practices - -### Empfohlene Vorgehensweise - -- Best Practice 1 -- Best Practice 2 -- Best Practice 3 - -### Häufige Fehler vermeiden - -- Fehler 1: Lösung -- Fehler 2: Lösung -- Fehler 3: Lösung - -${tool.type === 'software' ? `## Troubleshooting - -### Häufige Probleme - -**Problem 1**: Beschreibung -- Lösung: Lösungsbeschreibung - -**Problem 2**: Beschreibung -- Lösung: Lösungsbeschreibung - -**Problem 3**: Beschreibung -- Lösung: Lösungsbeschreibung - -### Log-Analyse - -Wichtige Log-Dateien und deren Auswertung: -- Log 1: Pfad und Bedeutung -- Log 2: Pfad und Bedeutung` : ''} - -## Erweiterte Themen - -### Integration mit anderen Tools - -${tool.related_concepts ? tool.related_concepts.map(c => `- Integration mit ${c}`).join('\n') : '- Integration 1\n- Integration 2'} - -### Automatisierung - -- Automatisierungsansatz 1 -- Automatisierungsansatz 2 - -## Ressourcen - -- [Offizielle Dokumentation](${tool.url}) -${tool.projectUrl ? `- [CC24 Server Zugang](${tool.projectUrl})` : ''} -- Zusätzliche Ressource 1 -- Zusätzliche Ressource 2 - -## Tags - -${tool.tags ? tool.tags.map(tag => `\`${tag}\``).join(' ') : '`tag1` `tag2` `tag3`'} - ---- - -*Zuletzt aktualisiert: ${new Date().toISOString().split('T')[0]}* -*Autor: CC24-Team* -`; + *Zuletzt aktualisiert: ${new Date().toLocaleDateString('de-DE')}* + `; } function downloadMarkdown() {