{# © 2026 ShadowStrike. All rights reserved. — Aut Viam Inveniam Aut Faciam One writeup's header…sections, shared by writeup.html and bundle.html. Expects `w` (a WriteupSchema). User text is autoescaped — never |safe, never Markup() (INV-P2-3). -#} {% macro blocks(text) -%} {% for seg in split_fences(text) -%} {% if seg.kind == "code" %}
{{ seg.body }}{% else %}{{ seg.body }}
{% endif %} {%- if not loop.last %} {% endif %} {%- endfor %} {%- endmacro -%}CTF Writeup
{{ w.ctf_name }}
| CTF | {{ w.ctf_name }} |
|---|---|
| Category | {{ w.category }} |
| Difficulty | {% for i in range(1, 4) %}{% endfor %}{{ w.difficulty }}/3 |
| Date | {{ w.date }} |
| Author | {{ w.author }} |
| Time spent | {{ w.time_spent_minutes }} min |
None recorded.
{% endif %}{{ w.flag }}