Skip to content

Markdown Cheatsheet

Snelle referentie voor alles wat je nodig hebt in MkDocs/Material. Auteur: Johan Beysen | Fox & Fish Cybersecurity


1. Tekst Opmaak

**vet**
*cursief*
~~doorstreept~~
`inline code`
**_vet en cursief_**

vet | cursief | ~~doorstreept~~ | inline code


2. Titels

# H1 — Paginatitel
## H2 — Hoofdsectie
### H3 — Subsectie
#### H4 — Sub-subsectie

3. Lijsten

- ongeordend
- lijst
  - ingesprongen
  - sublevel

1. geordend
2. lijst
   1. ingesprongen

[linktekst](https://url.com)
[interne link](../tools/nmap.md)

![alt tekst](../assets/screenshot.png)
![alt tekst](../assets/screenshot.png){ width="600" }

5. Code

Inline: `code`

Block met syntax highlighting:

```bash
nmap -sV -sC -oA scan 10.10.10.1
```

```python
import requests
r = requests.get("https://target.com")
print(r.status_code)
```

```powershell
Get-ChildItem -Recurse | Select-Object Name
```

6. Tabellen

| Tool      | Gebruik              | Categorie  |
|-----------|----------------------|------------|
| Nmap      | Port scanning        | Recon      |
| Burp Suite| Web app testing      | Web        |
| Mimikatz  | Credential dumping   | Post-exploit|
Tool Gebruik Categorie
Nmap Port scanning Recon
Burp Suite Web app testing Web
Mimikatz Credential dumping Post-exploit

7. Blockquotes

> Dit is een quote of een opmerking.
> Kan meerdere lijnen zijn.

Dit is een quote of een opmerking.


8. Horizontale Lijn

---

9. Material Theme Extras

9.1 Admonitions (gekleurde blokken)

!!! danger "Critical Finding"
    RCE mogelijk via unsanitized input op /upload endpoint.

!!! warning "Let op"
    Alleen testen op systemen waarvoor je toestemming hebt.

!!! tip "Pro tip"
    Gebruik Burp Repeater voor manual testing van parameters.

!!! note "Nota"
    Zie ook OWASP Testing Guide v4.

!!! success "Opgelost"
    Patch uitgerold op 2024-03-01.

!!! info "Info"
    CVE-2024-XXXX — CVSS score 9.8

Critical Finding

RCE mogelijk via unsanitized input op /upload endpoint.

Pro tip

Gebruik Burp Repeater voor manual testing van parameters.

9.2 Uitklapbare Blokken

??? note "Klik om uit te klappen"
    Verborgen inhoud hier. Handig voor lange payloads of outputs.

???+ tip "Standaard open"
    Dit blok staat standaard open.
Klik om uit te klappen

Verborgen inhoud hier. Handig voor lange payloads of outputs.

9.3 Tabs

=== "Linux"
    ```bash
    curl -X POST https://target.com/api
    ```

=== "Windows"
    ```powershell
    Invoke-RestMethod -Uri https://target.com/api -Method POST
    ```

=== "Python"
    ```python
    requests.post("https://target.com/api")
    ```

9.4 Frontmatter

---
title: Paginatitel
tags:
  - web-app
  - sqli
  - owasp
---

10. Handige Shortcuts in VS Code

Actie Shortcut
Preview openen Ctrl+Shift+V
Bold Ctrl+B
Italic Ctrl+I
Link invoegen Ctrl+K
Zoeken in bestand Ctrl+F
Zoeken in project Ctrl+Shift+F

11. MkDocs Specifiek

[Zie nmap pagina](../tools/nmap.md)
[Naar een specifieke sectie](../tools/nmap.md#port-scanning)

Afbeeldingen in Assets

docs/
└── assets/
    └── screenshots/
        └── burp-scan.png
![Burp scan resultaat](../assets/screenshots/burp-scan.png)

MkDocs Commando's

mkdocs serve    # Start live preview
mkdocs build    # Bouw statische site
mkdocs new .    # Nieuw project aanmaken

Meer info: MkDocs Material documentatie

Fox & Fish Cybersecurity | Intern gebruik