repositories

daemon-sec-lotl

DÆMONBins: GTFOBins × LOLBAS × WADComs × LOOBins in one filterable catalog

clonegit clone https://git.daemon-sec.xyz/daemon-sec-lotl.git
Footer.astroAstro61 lines2.7 KiBraw download
---
import BrandLogo from './BrandLogo.astro';
import { url } from '../lib/url';

// This site's source, on the read-only Git mirror.
const SOURCE = 'https://git.daemon-sec.xyz/daemon-sec-lotl/';
const MAIN_SITE = 'https://daemon-sec.xyz';
const year = 2026;

/**
 * The footer, re-plated on the signal field per the main site's Footer: a
 * dark closing band with the wordmark, the motto, the numbered nav (each
 * index keeps its section hue), and the status block. `.dfooter` pins the
 * signal palette, so it stays dark in both modes.
 */
const NAV = [
  { n: '01', label: 'Catalog', href: url('catalog'), acc: 'love' },
  { n: '02', label: 'GTFOBins', href: url('gtfobins'), acc: 'foam' },
  { n: '03', label: 'LOLBAS', href: url('lolbas'), acc: 'iris' },
  { n: '04', label: 'WADComs', href: url('wadcoms'), acc: 'gold' },
  { n: '05', label: 'LOOBins', href: url('loobins'), acc: 'rose' },
  { n: '06', label: 'DÆMON', href: url('daemon'), acc: 'love' },
  { n: '07', label: 'Credits', href: url('credits'), acc: 'pine' },
];
---
<footer class="dfooter site-footer">
  <span class="dfooter__scrim" aria-hidden="true"></span>
  <span class="scanlines" aria-hidden="true"></span>
  <div class="archive dfooter__inner">
    <div class="dfooter__grid">
      <div>
        <a href={url('')} class="dmn-brand-link plate" aria-label="DAEMON//SEC — LOTL home"><BrandLogo /></a>
        <p class="dfooter__motto">
          The Off-the-Land Almanac: GTFOBins, LOLBAS, WADComs and LOOBins, with DÆMON additions.
          Placeholder-only reference material for authorised testing, CTFs, detection engineering and
          education. Know your scope; get permission first.
        </p>
      </div>

      <nav class="dfooter__nav" aria-label="Footer">
        {NAV.map((item) => (
          <a href={item.href} style={`--acc: var(--color-night-${item.acc});`}>
            <span class="n">{item.n}</span>{item.label}
          </a>
        ))}
        <a href={MAIN_SITE} rel="noopener" style="--acc: var(--color-night-foam);"><span class="n">08</span>Main site ↗</a>
        <a href={SOURCE} target="_blank" rel="noopener" style="--acc: var(--color-night-gold);"><span class="n">09</span>Source ↗</a>
      </nav>

      <div class="dfooter__meta">
        <div class="live">
          <span class="dmn-dot" style="--dot: var(--color-night-love);" aria-hidden="true"><i class="dmn-anim-pulse"></i><u class="dmn-anim-ring"></u></span>
          All systems operational
        </div>
        <div class="row">GTFOBins · LOLBAS · WADComs · LOOBins · GPL-3.0</div>
        <div class="row">Rosé Pine · Astro · Pagefind</div>
        <div class="row">© {year} DÆMONBins · <a href={url('credits')}>credits</a> · GPL-3.0</div>
      </div>
    </div>
  </div>
</footer>