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 3ad43fed7c9f350985cb07799fa977bd4e4d5aca
parent 797fea7cfba99e03922177d13b186202ea676cfd
Author: $: DAΞMON <zer0sec.xp@icloud.com>
Date:   Fri, 28 Aug 2026 21:16:52 +0100

scripts: point vault porters at the Linux vault (was stale macOS /Volumes path)

port-vault.py, port-missing.py and build-candidates.py hardcoded the old
macOS external-drive path (/Volumes/bmdrbeKUVgvV/...), so on the Linux box
they couldn't see the vault and no new cheat sheets could be ported. Use
$VAULT_CHEATS if set, else default to ~/git/NetrunnerVault/02Cybersecurity/
Cheatsheets. No site/content change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A9rEmaZyHxxnQa9wwDtDKF

Diffstat:
Mscripts/build-candidates.py | 2+-
Mscripts/port-missing.py | 2+-
Mscripts/port-vault.py | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/build-candidates.py b/scripts/build-candidates.py @@ -8,7 +8,7 @@ frontmatter fields, and a content preview. Output: candidates.json import json, os, re, sys SOURCES = [ - ("vault", "/Volumes/bmdrbeKUVgvV/NetrunnerVault/02Cybersecurity/Cheatsheets"), + ("vault", os.environ.get("VAULT_CHEATS", os.path.expanduser("~/git/NetrunnerVault/02Cybersecurity/Cheatsheets"))), ("repo", "/Users/daemon1/git/Ethical_Hacking-Cheatsheets"), ] SKIP_DIRS = {".space", ".git", "attachments", "node_modules", ".obsidian"} diff --git a/scripts/port-missing.py b/scripts/port-missing.py @@ -5,7 +5,7 @@ Deterministic, content preserved (no LLM rewrite).""" import json, os, re REPO = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) -VAULT = "/Volumes/bmdrbeKUVgvV/NetrunnerVault/02Cybersecurity/Cheatsheets" +VAULT = os.environ.get("VAULT_CHEATS", os.path.expanduser("~/git/NetrunnerVault/02Cybersecurity/Cheatsheets")) SHEETS = os.path.join(REPO, "src", "content", "sheets") UPDATED = "2026-08-09" diff --git a/scripts/port-vault.py b/scripts/port-vault.py @@ -26,7 +26,7 @@ Usage: import json, os, re, sys, unicodedata REPO = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) -SRC = "/Volumes/bmdrbeKUVgvV/NetrunnerVault/02Cybersecurity/Cheatsheets" +SRC = os.environ.get("VAULT_CHEATS", os.path.expanduser("~/git/NetrunnerVault/02Cybersecurity/Cheatsheets")) SHEETS = os.path.join(REPO, "src", "content", "sheets") MANIFEST = os.path.join(REPO, "port-vault-decisions.tsv") UPDATED = "2026-08-10"