daemon-sec-cheatsheet

The cheatsheet vault for operators: AD, enumeration, exploitation, priv-esc, web, DFIR
git clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git
Log | Files | Refs | README | LICENSE

commit 8bd426e747d818b6a54524aa5c953ec590be37e7
parent 2f7c4ba42a31e93a7b0b92a517fb3bdea14658d0
Author: DAEMON <zer0sec.xp@icloud.com>
Date:   Sat, 10 Oct 2026 12:31:24 +0100

feat: link the source on git.daemon-sec.xyz

The GitLab repo is private, so the footer's GitLab link 404'd for visitors.
Header: a branch icon to the read-only mirror; mobile nav, footer and credits:
Source, pointing at git.daemon-sec.xyz/daemon-sec-cheatsheet/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Diffstat:
Msrc/components/Footer.astro | 5+++--
Msrc/components/Header.astro | 7+++++++
Msrc/components/Icon.astro | 2++
Msrc/pages/credits.astro | 3++-
4 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/components/Footer.astro b/src/components/Footer.astro @@ -1,7 +1,8 @@ --- import { url } from '../lib/url'; -const GITLAB = 'https://gitlab.com/DAEMON-404/daemon-sec-cheatsheet'; +// The repo itself is private on GitLab; the read-only mirror is public. +const SOURCE = 'https://git.daemon-sec.xyz/daemon-sec-cheatsheet/'; const MAIN_SITE = 'https://daemon-sec.xyz'; const year = 2026; @@ -40,7 +41,7 @@ const NAV = [ </a> ))} <a href={MAIN_SITE} rel="noopener" style="--acc: var(--color-night-foam);"><span class="n">07</span>Main site ↗</a> - <a href={GITLAB} target="_blank" rel="noopener" style="--acc: var(--color-night-gold);"><span class="n">08</span>GitLab ↗</a> + <a href={SOURCE} target="_blank" rel="noopener" style="--acc: var(--color-night-gold);"><span class="n">08</span>Source ↗</a> </nav> <div class="dfooter__meta"> diff --git a/src/components/Header.astro b/src/components/Header.astro @@ -3,6 +3,8 @@ import Icon from './Icon.astro'; import { url } from '../lib/url'; const MAIN_SITE = 'https://daemon-sec.xyz'; +// This site's source, on the read-only Git mirror (browse, or `git clone`). +const SOURCE = 'https://git.daemon-sec.xyz/daemon-sec-cheatsheet/'; /** * The masthead, in the main site's grammar (daemon-sec.xyz `Masthead`): a @@ -68,6 +70,7 @@ const CROSS = `<line x1="9" y1="1.3" x2="9" y2="22.7"/><line x1="6.1" y1="6.2" x <span class="icon-sun"><Icon name="sun" /></span> <span class="icon-moon"><Icon name="moon" /></span> </button> + <a class="mast__icon" href={SOURCE} target="_blank" rel="noopener" aria-label="Source code on git.daemon-sec.xyz" title="Source · git.daemon-sec.xyz"><Icon name="branch" /></a> <a class="mast__icon" href={MAIN_SITE} rel="noopener" aria-label="Back to DÆMON — main site"><Icon name="external" /></a> <button class="mast__burger" @@ -97,5 +100,9 @@ const CROSS = `<line x1="9" y1="1.3" x2="9" y2="22.7"/><line x1="6.1" y1="6.2" x <span class="n" style="--acc: var(--foam);">↗</span>Main site <span class="arrow" aria-hidden="true" style="--acc: var(--foam);">↗</span> </a> + <a href={SOURCE} target="_blank" rel="noopener"> + <span class="n" style="--acc: var(--gold);">↗</span>Source + <span class="arrow" aria-hidden="true" style="--acc: var(--gold);">↗</span> + </a> </nav> </header> diff --git a/src/components/Icon.astro b/src/components/Icon.astro @@ -15,6 +15,8 @@ const paths: Record<string, string> = { copy: '<rect x="9" y="9" width="12" height="12"/><path d="M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1"/>', check: '<path d="M20 6 9 17l-5-5"/>', external: '<path d="M14 4h6v6M20 4 10 14M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5"/>', + /* A Git branch: the "source" mark, linking to git.daemon-sec.xyz. */ + branch: '<circle cx="6" cy="5" r="2"/><circle cx="6" cy="19" r="2"/><circle cx="18" cy="7" r="2"/><path d="M6 7v10M18 9a6 6 0 0 1-6 6H6"/>', /* The kind mark carried by every record row and marquee entry. A sheet is a document; a payload is a fragment of one. */ doc: '<path d="M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8z"/><path d="M14 3v5h5M9 13h6M9 17h4"/>', diff --git a/src/pages/credits.astro b/src/pages/credits.astro @@ -172,7 +172,8 @@ SOFTWARE.`; Built with <a href="https://astro.build" target="_blank" rel="noopener">Astro</a> and <a href="https://pagefind.app" target="_blank" rel="noopener">Pagefind</a>, themed with <a href="https://rosepinetheme.com" target="_blank" rel="noopener">Rosé Pine</a>. Source on - <a href="https://gitlab.com/DAEMON-404/daemon-sec-cheatsheet" target="_blank" rel="noopener">GitLab</a>. + <a href="https://git.daemon-sec.xyz/daemon-sec-cheatsheet/" target="_blank" rel="noopener">git.daemon-sec.xyz</a> + (browse it, or <code>git clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git</code>). </p> <p class="muted" style="margin-top:2rem;border-top:1px solid var(--rule);padding-top:1rem;">