editor updates
This commit is contained in:
parent
4cc28bceb7
commit
a4f4e03cba
@ -1420,22 +1420,15 @@
|
||||
|
||||
return `---
|
||||
title: "${tool.name}"
|
||||
tool_name: "${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: ${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"
|
||||
tags: ${tool.tags ? JSON.stringify(tool.tags) : '[]'}
|
||||
published: true
|
||||
---
|
||||
|
||||
# ${tool.icon ? tool.icon + ' ' : ''}${tool.name}
|
||||
@ -1448,180 +1441,63 @@ ${tool.description}
|
||||
**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
|
||||
|
||||
### Kernkonzepte
|
||||
|
||||
- Konzept 1: Beschreibung
|
||||
- Konzept 2: Beschreibung
|
||||
- Konzept 3: Beschreibung
|
||||
TODO: Beschreibe die wichtigsten Konzepte und Prinzipien.
|
||||
|
||||
### Anwendungsbereiche
|
||||
|
||||
Dieses Konzept findet Anwendung in:
|
||||
- Anwendungsbereich 1
|
||||
- Anwendungsbereich 2
|
||||
- Anwendungsbereich 3
|
||||
TODO: Erkläre, wo und wie dieses Konzept angewendet wird.` :
|
||||
tool.type === 'method' ?
|
||||
`### Schritt-für-Schritt Anleitung
|
||||
|
||||
### Verwandte Konzepte
|
||||
|
||||
${tool.related_concepts ? tool.related_concepts.map(c => `- ${c}`).join('\n') : '- Verwandtes Konzept 1\n- Verwandtes Konzept 2'}` : tool.type === 'method' ? `## Methodik
|
||||
|
||||
### Vorgehensweise
|
||||
|
||||
1. Schritt 1: Beschreibung
|
||||
2. Schritt 2: Beschreibung
|
||||
3. Schritt 3: Beschreibung
|
||||
1. TODO: Erster Schritt
|
||||
2. TODO: Zweiter Schritt
|
||||
3. TODO: Dritter Schritt
|
||||
|
||||
### Voraussetzungen
|
||||
|
||||
- Voraussetzung 1
|
||||
- Voraussetzung 2
|
||||
- Voraussetzung 3
|
||||
TODO: Liste die erforderlichen Voraussetzungen auf.` :
|
||||
`### Installation
|
||||
|
||||
### Tools für diese Methode
|
||||
TODO: Beschreibe die Installation für die relevanten Plattformen.
|
||||
|
||||
- Tool 1
|
||||
- Tool 2
|
||||
- Tool 3` : `## Installation & Setup
|
||||
### Grundlegende Nutzung
|
||||
|
||||
### Systemvoraussetzungen
|
||||
|
||||
- Voraussetzung 1
|
||||
- Voraussetzung 2
|
||||
- Voraussetzung 3
|
||||
|
||||
### Installation
|
||||
|
||||
#### Windows
|
||||
\`\`\`bash
|
||||
# Installationsschritte für Windows
|
||||
\`\`\`
|
||||
|
||||
#### Linux
|
||||
\`\`\`bash
|
||||
# Installationsschritte für Linux
|
||||
\`\`\`
|
||||
|
||||
#### macOS
|
||||
\`\`\`bash
|
||||
# Installationsschritte für macOS
|
||||
\`\`\`
|
||||
|
||||
## 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
|
||||
\`\`\`
|
||||
TODO: Erkläre die wichtigsten Funktionen und Befehle.
|
||||
|
||||
### 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`}
|
||||
TODO: Zeige typische Anwendungsfälle und Workflows.`}
|
||||
|
||||
## Best Practices
|
||||
|
||||
### Empfohlene Vorgehensweise
|
||||
TODO: Teile bewährte Praktiken und Tipps für die optimale Nutzung.
|
||||
|
||||
- Best Practice 1
|
||||
- Best Practice 2
|
||||
- Best Practice 3
|
||||
## Häufige Probleme
|
||||
|
||||
### Häufige Fehler vermeiden
|
||||
TODO: Beschreibe häufige Stolpersteine und deren Lösungen.
|
||||
|
||||
- Fehler 1: Lösung
|
||||
- Fehler 2: Lösung
|
||||
- Fehler 3: Lösung
|
||||
${tool.related_concepts && tool.related_concepts.length > 0 ? `## Verwandte Tools und Konzepte
|
||||
|
||||
${tool.type === 'software' ? `## Troubleshooting
|
||||
${tool.related_concepts.map(concept => `- ${concept}`).join('\n')}\n\n` : ''}## Weitere Ressourcen
|
||||
|
||||
### Häufige Probleme
|
||||
- [Offizielle Dokumentation](${tool.url})${tool.projectUrl ? `\n- [CC24 Server Zugang](${tool.projectUrl})` : ''}
|
||||
|
||||
**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`'}
|
||||
TODO: Füge weitere nützliche Links und Ressourcen hinzu.
|
||||
|
||||
---
|
||||
|
||||
*Zuletzt aktualisiert: ${new Date().toISOString().split('T')[0]}*
|
||||
*Autor: CC24-Team*
|
||||
*Zuletzt aktualisiert: ${new Date().toLocaleDateString('de-DE')}*
|
||||
`;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user