---
import Base from '../layouts/Base.astro';
import { payloadsByTopic } from '../lib/payloads';
import { internalBySection, internalRootPages } from '../lib/internal';
import { hackTricksBySection } from '../lib/hacktricks';
import { url } from '../lib/url';
import iredSource from '../data/ired-source.json';
const groups = await payloadsByTopic();
const totalPages = groups.reduce((n, g) => n + g.count, 0);
const sha = groups[0]?.readme?.data.sha ?? '';
const sections = await internalBySection();
const internalPages =
sections.reduce((n, g) => n + g.count, 0) + (await internalRootPages()).length;
/* Not every section ships an index upstream, so fall back to a leaf page. */
const internalSha = sections[0]?.index?.data.sha ?? sections[0]?.items[0]?.data.sha ?? '';
const hackTricksSections = await hackTricksBySection();
const hackTricksPages = hackTricksSections.reduce((n, section) => n + section.count, 0);
const hackTricksSha = hackTricksSections[0]?.items[0]?.data.sha ?? '';
const LICENSE = `MIT License
Copyright (c) 2019 Swissky
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.`;
---
// Credits
DÆMON//SEC stands on the shoulders of the open-source security community. This page attributes third-party content that has been mirrored into the site.
The entire Payloads section — {groups.length} topics, {totalPages} pages — is a verbatim mirror of PayloadsAllTheThings, created and maintained by Swissky (@swisskyrepo) and hundreds of contributors. It is one of the most valuable payload and bypass references in the field, and every page here links back to its upstream source.
// provenance · payloadsallthethings
{sha}This mirror is provided for convenience and offline-friendly search. The upstream repository remains the canonical source — please star it, contribute back, and consider sponsoring the maintainer.
{LICENSE}
The entire Internal section — {sections.length} sections, {internalPages} pages — is a verbatim mirror of InternalAllTheThings, also created and maintained by Swissky (@swisskyrepo) and its contributors. It is the home of the Active Directory, cloud and red-team material that PayloadsAllTheThings moved out of its own tree, and every page here links back to its upstream source.
// provenance · internalallthethings
{internalSha}This mirror exists for search and offline-friendly reading, with attribution on every page. The upstream repository is the canonical source — please star it and contribute back. If the author would rather this mirror were changed or taken down, open an issue on the site repository and it will be honoured.
The HackTricks Library contains {hackTricksPages} pages across {hackTricksSections.length} sections, adapted from HackTricks by Carlos Polop and its contributors. Every page links to the precise upstream file.
// provenance · hacktricks
{hackTricksSha}The upstream repository remains canonical. Corrections should be contributed there whenever possible; this site can then regenerate its adapted copy from a newer commit.
ired.team — the red teaming notes of Mantvydas Baranauskas (@mantvydasb) — is the reference behind sheets in Exploitation and DFIR. His write-ups on process injection and on Windows internals are some of the most careful hands-on documentation of those subjects anywhere.
ired.team publishes no licence. That grants no right to copy it, so nothing from it is mirrored here. Sheets that draw on it are written from scratch for this site; commands, API sequences and technique facts are reproduced as facts; and the screenshots load from the upstream repository at a pinned commit rather than being copied onto this domain.
// provenance · ired.team
LICENSE file, the repository license field is null, and the licence API returns 404.{iredSource.sha} (read {iredSource.fetched})derived and links the guide it draws on.ired.team remains canonical and considerably deeper than any summary of it. Every sheet that draws on it links the original guide; read it there.
The hand-curated cheatsheet vault is compiled from public tooling documentation and community knowledge, normalized and modernized for this site. Individual sheets credit their upstream source in frontmatter where applicable.
Built with Astro and
Pagefind, themed with
Rosé Pine. Source on
git.daemon-sec.xyz
(browse it, or git clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git).
For authorized testing, CTFs, and education only. Know your scope.